OSDN Git Service

Use a wildcard for detecting GCE builds.
authorNicolas Capens <capn@google.com>
Fri, 29 Apr 2016 18:17:00 +0000 (14:17 -0400)
committerNicolas Capens <capn@google.com>
Fri, 29 Apr 2016 18:29:50 +0000 (18:29 +0000)
Change-Id: Iddd9acf8496abe4dfa147f8a59b4cfb2f23df3a7
Reviewed-on: https://swiftshader-review.googlesource.com/5261
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Android.mk
src/Android.mk

index 239c779..694e6a3 100644 (file)
@@ -21,7 +21,7 @@ SWIFTSHADER_OPTIM := release
 endif
 
 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))
 endif
 endif
index 5b4be7b..358c455 100644 (file)
@@ -95,7 +95,7 @@ COMMON_CFLAGS := \
        -DANDROID_PLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION) \
        -std=c++11
 
-ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE)),)
+ifneq ($(filter gce gce% calypso, $(TARGET_DEVICE)),)
 COMMON_CFLAGS += -DDISPLAY_LOGO=0
 endif