summaryrefslogtreecommitdiffstats
path: root/build/Android.executable.mk
diff options
context:
space:
mode:
authorbuzbee <buzbee@google.com>2012-10-18 07:09:20 -0700
committerbuzbee <buzbee@google.com>2012-10-26 10:13:33 -0700
commitc531cefbfb5394413122e9f57d211ba436cff012 (patch)
treef1a7183c0aa17414df90409e99dc24e84aaa2562 /build/Android.executable.mk
parent9281f004db3f194930ef34d31e5d80c98341f38f (diff)
downloadart-c531cefbfb5394413122e9f57d211ba436cff012.zip
art-c531cefbfb5394413122e9f57d211ba436cff012.tar.gz
art-c531cefbfb5394413122e9f57d211ba436cff012.tar.bz2
Eliminate #ifdef ART_USE_QUICK_COMPILER
One of several steps towards having a single compiler build. In this CL, we introduce a compiler_backend command-line option to select between Quick, Quick w/ GBC, Portable and Iceland back ends. The Iceland option is temporary, and will go away once we combine with Portable. The Quick variants are with and without GBC conversion. In time, those will converge to a single option. All uses of "#if defined(ART_USE_QUICK_COMPILER)" are eliminated. All previous uses in the Quick compiler have been converted to runtime tests. On the llvm side, ART_USE_QUICK_COMPILER was previously used to differentiate between Portable and Iceland builds. Those usages have been replaced with ART_USE_PORTABLE_COMPILER, and in a following CL will also be converted to run-time tests. As of this CL, we're still generating separate libraries for Quick and Portable/Iceland. Next up is elminating the target-specific libraries for Quick-arm, Quick-x86 and Quick-mips. Once that is complete, we will consoldate Quick and Portable into a single build. To build either Iceland or Portable, touch USE_PORTABLE_COMPILER or USE_LLVM_COMPILER as usual. Otherwise, the build will default to Quick (non-GBC). Change-Id: Ic86c56f51710c9b06d4430b71a429ae12903cc47
Diffstat (limited to 'build/Android.executable.mk')
-rw-r--r--build/Android.executable.mk12
1 files changed, 2 insertions, 10 deletions
diff --git a/build/Android.executable.mk b/build/Android.executable.mk
index ac1d64e..d06b200 100644
--- a/build/Android.executable.mk
+++ b/build/Android.executable.mk
@@ -20,17 +20,9 @@ ART_TARGET_EXECUTABLES :=
ART_EXECUTABLES_CFLAGS :=
ifeq ($(ART_USE_LLVM_COMPILER),true)
ART_EXECUTABLES_CFLAGS += -DART_USE_LLVM_COMPILER=1
- ifeq ($(ART_USE_DEXLANG_FRONTEND),true)
- ART_EXECUTABLES_CFLAGS += -DART_USE_DEXLANG_FRONTEND=1
- endif
-endif
-
-ifeq ($(ART_USE_GREENLAND_COMPILER),true)
- ART_EXECUTABLES_CFLAGS += -DART_USE_GREENLAND_COMPILER=1
endif
-
-ifeq ($(ART_USE_QUICK_COMPILER),true)
- ART_EXECUTABLES_CFLAGS += -DART_USE_QUICK_COMPILER=1
+ifeq ($(ART_USE_PORTABLE_COMPILER),true)
+ ART_EXECUTABLES_CFLAGS += -DART_USE_PORTABLE_COMPILER=1
endif
# $(1): executable ("d" will be appended for debug version)