summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2012-05-11 17:05:18 +0100
committerBen Murdoch <benm@google.com>2012-05-14 16:03:35 +0100
commite3e50ec5e7238abadbe1c70e9566fc8e9f595098 (patch)
treebe17b7a3676023312cb95efb9b81b22d58f9f7b3
parentb734cee8fd0bd12a2d5946e491a62ba48ca659bc (diff)
downloadandroid_external_v8-e3e50ec5e7238abadbe1c70e9566fc8e9f595098.tar.gz
android_external_v8-e3e50ec5e7238abadbe1c70e9566fc8e9f595098.tar.bz2
android_external_v8-e3e50ec5e7238abadbe1c70e9566fc8e9f595098.zip
Build d8 instead of v8shell.
d8 is the preferred V8 debug console. Change-Id: I2b0c63133e619a4bdc531fd0b4acfde185703f45
-rw-r--r--Android.d8.mk (renamed from Android.v8shell.mk)7
-rw-r--r--Android.mk4
2 files changed, 7 insertions, 4 deletions
diff --git a/Android.v8shell.mk b/Android.d8.mk
index efe8ddfc..0f74eb5e 100644
--- a/Android.v8shell.mk
+++ b/Android.d8.mk
@@ -4,8 +4,11 @@ include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := libstlport
include external/stlport/libstlport.mk
-LOCAL_SRC_FILES:= samples/shell.cc
-LOCAL_MODULE := v8shell
+LOCAL_SRC_FILES := \
+ src/d8.cc \
+ src/d8-posix.cc
+
+LOCAL_MODULE := d8
LOCAL_CPP_EXTENSION := .cc
diff --git a/Android.mk b/Android.mk
index ff42934e..ec89b78d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -23,10 +23,10 @@ ifeq ($(TARGET_ARCH),arm)
endif
endif
-# Build libv8 and v8shell
+# Build libv8 and d8
ifneq ($(filter $(TARGET_ARCH),x86 arm),)
ENABLE_V8_SNAPSHOT = true
include $(BASE_PATH)/Android.mksnapshot.mk
include $(BASE_PATH)/Android.libv8.mk
- include $(BASE_PATH)/Android.v8shell.mk
+ include $(BASE_PATH)/Android.d8.mk
endif