Commit 77a0f3a9 by Nicolas Capens

Use a wildcard for detecting GCE builds.

Change-Id: Iddd9acf8496abe4dfa147f8a59b4cfb2f23df3a7 Reviewed-on: https://swiftshader-review.googlesource.com/5261Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent 0704728b
...@@ -21,7 +21,7 @@ SWIFTSHADER_OPTIM := release ...@@ -21,7 +21,7 @@ SWIFTSHADER_OPTIM := release
endif endif
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64)) ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64))
ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE))$(filter sdk_google_% google_sdk_%, $(TARGET_PRODUCT)),) ifneq ($(filter gce gce% calypso, $(TARGET_DEVICE))$(filter sdk_google_% google_sdk_%, $(TARGET_PRODUCT)),)
include $(call all-makefiles-under,$(LOCAL_PATH)) include $(call all-makefiles-under,$(LOCAL_PATH))
endif endif
endif endif
...@@ -95,7 +95,7 @@ COMMON_CFLAGS := \ ...@@ -95,7 +95,7 @@ COMMON_CFLAGS := \
-DANDROID_PLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION) \ -DANDROID_PLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION) \
-std=c++11 -std=c++11
ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE)),) ifneq ($(filter gce gce% calypso, $(TARGET_DEVICE)),)
COMMON_CFLAGS += -DDISPLAY_LOGO=0 COMMON_CFLAGS += -DDISPLAY_LOGO=0
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment