summaryrefslogtreecommitdiffstats
path: root/v8
diff options
context:
space:
mode:
authorFeng Qian <fqian@google.com>2009-04-24 15:55:58 -0700
committerFeng Qian <fqian@google.com>2009-04-24 15:55:58 -0700
commitac888b0a574d343996d06d2b084eaebab7846d81 (patch)
treef76fff761b7329e5f3828686c3d6b10d2d5331cc /v8
parent4302d48a802631ab8804e96e3f2dc3c40b68bba8 (diff)
downloadexternal_webkit-ac888b0a574d343996d06d2b084eaebab7846d81.zip
external_webkit-ac888b0a574d343996d06d2b084eaebab7846d81.tar.gz
external_webkit-ac888b0a574d343996d06d2b084eaebab7846d81.tar.bz2
Build V8 as a static library.
To switch between jsc and v8, one needs to edit webkit/Android.mk to change the value of JS_ENGINE, make sure no white space after 'jsc' or 'v8'.
Diffstat (limited to 'v8')
-rw-r--r--v8/Android.mk4
-rw-r--r--v8/Android.v8shell.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/v8/Android.mk b/v8/Android.mk
index eaa1e50..3111951 100644
--- a/v8/Android.mk
+++ b/v8/Android.mk
@@ -6,7 +6,7 @@ include $(CLEAR_VARS)
# Set up the target identity
LOCAL_MODULE := libv8
-LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES
intermediates := $(call local-intermediates-dir)
LOCAL_CPP_EXTENSION := .cc
@@ -162,4 +162,4 @@ endif
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
-include $(BUILD_SHARED_LIBRARY)
+include $(BUILD_STATIC_LIBRARY)
diff --git a/v8/Android.v8shell.mk b/v8/Android.v8shell.mk
index 537987b..ea18166 100644
--- a/v8/Android.v8shell.mk
+++ b/v8/Android.v8shell.mk
@@ -6,7 +6,7 @@ LOCAL_MODULE := v8shell
LOCAL_CPP_EXTENSION := .cc
-LOCAL_SHARED_LIBRARIES := libv8
+LOCAL_STATIC_LIBRARIES := libv8
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include