1### GENERATED, do not edit 2### for changes, see genmakefiles.py 3LOCAL_PATH := $(call my-dir) 4include $(CLEAR_VARS) 5include $(LOCAL_PATH)/Android.v8common.mk 6LOCAL_MODULE := libv8gen 7LOCAL_MODULE_CLASS := STATIC_LIBRARIES 8V8_LOCAL_JS_LIBRARY_FILES := \ 9 src/js/macros.py \ 10 src/messages.h \ 11 src/js/prologue.js \ 12 src/js/runtime.js \ 13 src/js/v8natives.js \ 14 src/js/symbol.js \ 15 src/js/array.js \ 16 src/js/string.js \ 17 src/js/arraybuffer.js \ 18 src/js/typedarray.js \ 19 src/js/collection.js \ 20 src/js/weak-collection.js \ 21 src/js/collection-iterator.js \ 22 src/js/promise.js \ 23 src/js/messages.js \ 24 src/js/templates.js \ 25 src/js/spread.js \ 26 src/js/proxy.js \ 27 src/js/async-await.js \ 28 src/debug/mirrors.js \ 29 src/debug/debug.js \ 30 src/debug/liveedit.js 31V8_LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES := \ 32 src/js/macros.py \ 33 src/messages.h \ 34 src/js/harmony-atomics.js \ 35 src/js/harmony-simd.js \ 36 src/js/harmony-string-padding.js 37LOCAL_SRC_FILES += src/snapshot/snapshot-empty.cc 38LOCAL_JS_LIBRARY_FILES := $(addprefix $(LOCAL_PATH)/, $(V8_LOCAL_JS_LIBRARY_FILES)) 39LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES := $(addprefix $(LOCAL_PATH)/, $(V8_LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES)) 40generated_sources := $(call local-generated-sources-dir) 41JS2C_PY := $(generated_sources)/js2c.py $(generated_sources)/jsmin.py 42$(JS2C_PY): $(generated_sources)/%.py : $(LOCAL_PATH)/tools/%.py | $(ACP) 43 @echo "Copying $@" 44 $(copy-file-to-target) 45GEN1 := $(generated_sources)/libraries.cc 46$(GEN1): SCRIPT := $(generated_sources)/js2c.py 47$(GEN1): $(LOCAL_JS_LIBRARY_FILES) $(JS2C_PY) 48 @echo "Generating libraries.cc" 49 @mkdir -p $(dir $@) 50 python $(SCRIPT) $@ CORE $(LOCAL_JS_LIBRARY_FILES) 51V8_GENERATED_LIBRARIES := $(generated_sources)/libraries.cc 52GEN2 := $(generated_sources)/experimental-libraries.cc 53$(GEN2): SCRIPT := $(generated_sources)/js2c.py 54$(GEN2): $(LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES) $(JS2C_PY) 55 @echo "Generating experimental-libraries.cc" 56 @mkdir -p $(dir $@) 57 python $(SCRIPT) $@ EXPERIMENTAL $(LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES) 58V8_GENERATED_LIBRARIES += $(generated_sources)/experimental-libraries.cc 59GEN3 := $(generated_sources)/extra-libraries.cc 60$(GEN3): SCRIPT := $(generated_sources)/js2c.py 61$(GEN3): $(JS2C_PY) 62 @echo "Generating extra-libraries.cc" 63 @mkdir -p $(dir $@) 64 python $(SCRIPT) $@ EXTRAS 65V8_GENERATED_LIBRARIES += $(generated_sources)/extra-libraries.cc 66GEN4 := $(generated_sources)/experimental-extra-libraries.cc 67$(GEN4): SCRIPT := $(generated_sources)/js2c.py 68$(GEN4): $(JS2C_PY) 69 @echo "Generating experimental-extra-libraries.cc" 70 @mkdir -p $(dir $@) 71 python $(SCRIPT) $@ EXPERIMENTAL_EXTRAS 72V8_GENERATED_LIBRARIES += $(generated_sources)/experimental-extra-libraries.cc 73LOCAL_GENERATED_SOURCES += $(V8_GENERATED_LIBRARIES) 74include $(BUILD_STATIC_LIBRARY) 75