Commit a2d2055e by Nicolas Capens

Build SwiftShader for sdk_google targets.

Change-Id: I9cff8a31cac858e14c2364a79f61c028996e91dd Reviewed-on: https://swiftshader-review.googlesource.com/4304Tested-by: 's avatarNicolas Capens <capn@google.com> Reviewed-by: 's avatarGreg Hartman <ghartman@google.com> Reviewed-by: 's avatarKeun Soo Yim <yim@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent 4fd96650
...@@ -14,8 +14,12 @@ ...@@ -14,8 +14,12 @@
# limitations under the License. # limitations under the License.
# #
ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE)),)
LOCAL_PATH:= $(call my-dir) LOCAL_PATH:= $(call my-dir)
ifndef SWIFTSHADER_OPTIM
SWIFTSHADER_OPTIM := release
endif
ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE))$(filter sdk_google_%, $(TARGET_PRODUCT)),)
include $(call all-makefiles-under,$(LOCAL_PATH)) include $(call all-makefiles-under,$(LOCAL_PATH))
endif endif
...@@ -106,6 +106,4 @@ LOCAL_CFLAGS := $(COMMON_CFLAGS) -UNDEBUG -g -O0 -DDEFAULT_THREAD_COUNT=1 ...@@ -106,6 +106,4 @@ LOCAL_CFLAGS := $(COMMON_CFLAGS) -UNDEBUG -g -O0 -DDEFAULT_THREAD_COUNT=1
LOCAL_C_INCLUDES := $(COMMON_C_INCLUDES) LOCAL_C_INCLUDES := $(COMMON_C_INCLUDES)
include $(BUILD_STATIC_LIBRARY) include $(BUILD_STATIC_LIBRARY)
ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE)),)
include $(call all-makefiles-under,$(LOCAL_PATH)) include $(call all-makefiles-under,$(LOCAL_PATH))
endif
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
# limitations under the License. # limitations under the License.
# #
ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE)),)
LOCAL_PATH:= $(call my-dir) LOCAL_PATH:= $(call my-dir)
include $(call all-makefiles-under,$(LOCAL_PATH)) include $(call all-makefiles-under,$(LOCAL_PATH))
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