Build d8 instead of v8shell.
d8 is the preferred V8 debug console.
Change-Id: I2b0c63133e619a4bdc531fd0b4acfde185703f45
diff --git a/Android.v8shell.mk b/Android.d8.mk
similarity index 80%
rename from Android.v8shell.mk
rename to Android.d8.mk
index efe8ddf..0f74eb5 100644
--- a/Android.v8shell.mk
+++ b/Android.d8.mk
@@ -4,8 +4,11 @@
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 ff42934..ec89b78 100644
--- a/Android.mk
+++ b/Android.mk
@@ -23,10 +23,10 @@
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