OSDN Git Service
(root)
/
android-x86
/
external-swiftshader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed some unnecessary instructions from programs
[android-x86/external-swiftshader.git]
/
Android.mk
diff --git
a/Android.mk
b/Android.mk
index
6efece6
..
a2f41fb
100644
(file)
--- a/
Android.mk
+++ b/
Android.mk
@@
-14,8
+14,14
@@
# 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
+
+ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64))
+ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE))$(filter sdk_google_% google_sdk_%, $(TARGET_PRODUCT)),)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif
include $(call all-makefiles-under,$(LOCAL_PATH))
endif
+endif
\ No newline at end of file