Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: jni/Android.mk

Issue 9271056: ABP/Android V8 integration code (Closed)
Patch Set: ABP/Android V8 integration code Created Feb. 1, 2013, 8:40 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | jni/Application.mk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jni/Android.mk
===================================================================
new file mode 100755
--- /dev/null
+++ b/jni/Android.mk
@@ -0,0 +1,48 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := v8-base
+LOCAL_SRC_FILES := ./v8/libv8_base.a
+
+include $(PREBUILT_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := v8-snapshot
+LOCAL_SRC_FILES := ./v8/libv8_nosnapshot.a
+
+include $(PREBUILT_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := v8-preparser
+LOCAL_SRC_FILES := ./v8/libpreparser_lib.a
+
+include $(PREBUILT_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := jsEngine
+LOCAL_SRC_FILES := jsEngine.cpp wrap.cpp fileOps.cpp timerOps.cpp utilityOps.cpp xhrOps.cpp
+
+LOCAL_CPP_FEATURES := #rtti #exceptions
+LOCAL_CFLAGS += \
+ -Wno-endif-labels \
+ -Wno-import \
+ -Wno-format \
+ -fno-exceptions \
+ -DENABLE_DEBUGGER_SUPPORT \
+ -DV8_NATIVE_REGEXP \
+ -fvisibility=hidden \
+ -DARM \
+ -DV8_TARGET_ARCH_ARM \
+ -DENABLE_LOGGING_AND_PROFILING
+
+LOCAL_C_INCLUDES := jni/v8/
+LOCAL_STATIC_LIBRARIES := v8-base v8-snapshot
+LOCAL_LDLIBS := -llog
+
+include $(BUILD_SHARED_LIBRARY)
+
+
« no previous file with comments | « no previous file | jni/Application.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld