diff options
author | Ben Murdoch <benm@google.com> | 2011-06-02 17:41:21 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-06-10 15:43:44 +0100 |
commit | 442c3c4c26c4d864ad9a4948f856e706e77c3cd2 (patch) | |
tree | 0c72827401c4ab3ab339eec2e6976778aaac64bb /Android.mk | |
parent | cf5f5d46c00b2fd43d6b1148dcb3d4e39eff0910 (diff) | |
download | android_external_v8-442c3c4c26c4d864ad9a4948f856e706e77c3cd2.tar.gz android_external_v8-442c3c4c26c4d864ad9a4948f856e706e77c3cd2.tar.bz2 android_external_v8-442c3c4c26c4d864ad9a4948f856e706e77c3cd2.zip |
Make Crankshaft configurable at compile-time.
Add a flag in Android.mk to enable crankshaft in V8.
Note that Crankshaft and snapshotting cannot currently be used
at the same time. For now, leave Crankshaft disabled by default.
Change-Id: I84fcc02882e1b16cd0bc783d778ffbcc4531c868
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -30,6 +30,13 @@ include $(CLEAR_VARS) # Build libv8 and v8shell ifeq ($(TARGET_ARCH),arm) ENABLE_V8_SNAPSHOT = true + ENABLE_V8_CRANKSHAFT = false + ifeq ($(ENABLE_V8_CRANKSHAFT),true) + ifeq ($(ENABLE_V8_SNAPSHOT),true) + # Snapshotting and crankshaft do not work well together right now. + $(error Cannot build V8 with both crankshaft and snapshotting) + endif + endif include $(BASE_PATH)/Android.mksnapshot.mk include $(BASE_PATH)/Android.libv8.mk include $(BASE_PATH)/Android.v8shell.mk |