OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7efc9e
)
Enable art host static builds only for checkbuilds.
author
Calin Juravle
<calin@google.com>
Fri, 24 Jul 2015 15:45:26 +0000
(16:45 +0100)
committer
Calin Juravle
<calin@google.com>
Fri, 24 Jul 2015 15:45:26 +0000
(16:45 +0100)
Change-Id: I42cc850089a5ecbcc201699f0b996da4fd959bb3
build/Android.common_build.mk
patch
|
blob
|
history
diff --git
a/build/Android.common_build.mk
b/build/Android.common_build.mk
index
2c552e6
..
05cfc42
100644
(file)
--- a/
build/Android.common_build.mk
+++ b/
build/Android.common_build.mk
@@
-33,7
+33,13
@@
ART_BUILD_TARGET_NDEBUG ?= true
ART_BUILD_TARGET_DEBUG ?= true
ART_BUILD_HOST_NDEBUG ?= true
ART_BUILD_HOST_DEBUG ?= true
-ART_BUILD_HOST_STATIC ?= true
+
+# Enable the static builds only for checkbuilds.
+ifneq (,$(filter checkbuild,$(MAKECMDGOALS)))
+ ART_BUILD_HOST_STATIC ?= true
+else
+ ART_BUILD_HOST_STATIC ?= false
+endif
# Asan does not support static linkage
ifdef SANITIZE_HOST