summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaiyi Li <kaiyili@google.com>2022-07-26 18:55:00 -0700
committerKaiyi Li <kaiyili@google.com>2022-07-26 19:25:06 -0700
commite306172d16b27184d416f322d4690c7c08c0841e (patch)
tree8b2b770efe5c1a0d04b678a7d315f654277e9184
parentaf76b8139492f36a8c8ed2c63369f586d8d6870c (diff)
downloadgfxstream-protocols-e306172d16b27184d416f322d4690c7c08c0841e.tar.gz
Revert "bstar codegen: Limit guest codegen script to Linux host."emu-32-dev
This reverts commit 8980b519d182c4ff46a0982a311b68bbcd774807. Change-Id: I9aa6fc86e3c918128a3f630e62744fd79846fb70
-rwxr-xr-xscripts/generate-vulkan-sources.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/generate-vulkan-sources.sh b/scripts/generate-vulkan-sources.sh
index 0739b4a6..579ca2c1 100755
--- a/scripts/generate-vulkan-sources.sh
+++ b/scripts/generate-vulkan-sources.sh
@@ -14,13 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-if [[ "$OSTYPE" != "linux-gnu" ]]; then
- echo "This guest codegen script expects to run on Linux only,"
- echo "whereas you are running it on '${OSTYPE}'. Exiting."
- exit 1
-fi
-
-AOSP_DIR=$(pwd)/../..
+AOSP_DIR=$(pwd)/../../
export VK_CEREAL_GUEST_ENCODER_DIR=$AOSP_DIR/device/generic/goldfish-opengl/system/vulkan_enc
export VK_CEREAL_GUEST_HAL_DIR=$AOSP_DIR/device/generic/goldfish-opengl/system/vulkan
export VK_CEREAL_HOST_DECODER_DIR=$AOSP_DIR/device/generic/vulkan-cereal/stream-servers/vulkan