• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/array.js \
15	src/js/string.js \
16	src/js/arraybuffer.js \
17	src/js/typedarray.js \
18	src/js/collection.js \
19	src/js/weak-collection.js \
20	src/js/collection-iterator.js \
21	src/js/promise.js \
22	src/js/messages.js \
23	src/js/templates.js \
24	src/js/spread.js \
25	src/js/proxy.js \
26	src/js/harmony-string-padding.js \
27	src/debug/mirrors.js \
28	src/debug/debug.js \
29	src/debug/liveedit.js
30V8_LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES := \
31	src/js/macros.py \
32	src/messages.h \
33	src/js/harmony-atomics.js
34LOCAL_SRC_FILES += src/snapshot/snapshot-empty.cc
35LOCAL_JS_LIBRARY_FILES := $(addprefix $(LOCAL_PATH)/, $(V8_LOCAL_JS_LIBRARY_FILES))
36LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES := $(addprefix $(LOCAL_PATH)/, $(V8_LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES))
37generated_sources := $(call local-generated-sources-dir)
38JS2C_PY := $(generated_sources)/js2c.py $(generated_sources)/jsmin.py
39$(JS2C_PY): $(generated_sources)/%.py : $(LOCAL_PATH)/tools/%.py | $(ACP)
40	@echo "Copying $@"
41	$(copy-file-to-target)
42GEN1 := $(generated_sources)/libraries.cc
43$(GEN1): SCRIPT := $(generated_sources)/js2c.py
44$(GEN1): $(LOCAL_JS_LIBRARY_FILES) $(JS2C_PY)
45	@echo "Generating libraries.cc"
46	@mkdir -p $(dir $@)
47	python $(SCRIPT) $@ CORE $(LOCAL_JS_LIBRARY_FILES)
48V8_GENERATED_LIBRARIES := $(generated_sources)/libraries.cc
49GEN2 := $(generated_sources)/experimental-libraries.cc
50$(GEN2): SCRIPT := $(generated_sources)/js2c.py
51$(GEN2): $(LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES) $(JS2C_PY)
52	@echo "Generating experimental-libraries.cc"
53	@mkdir -p $(dir $@)
54	python $(SCRIPT) $@ EXPERIMENTAL $(LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES)
55V8_GENERATED_LIBRARIES += $(generated_sources)/experimental-libraries.cc
56GEN3 := $(generated_sources)/extra-libraries.cc
57$(GEN3): SCRIPT := $(generated_sources)/js2c.py
58$(GEN3): $(JS2C_PY)
59	@echo "Generating extra-libraries.cc"
60	@mkdir -p $(dir $@)
61	python $(SCRIPT) $@ EXTRAS
62V8_GENERATED_LIBRARIES += $(generated_sources)/extra-libraries.cc
63GEN4 := $(generated_sources)/experimental-extra-libraries.cc
64$(GEN4): SCRIPT := $(generated_sources)/js2c.py
65$(GEN4): $(JS2C_PY)
66	@echo "Generating experimental-extra-libraries.cc"
67	@mkdir -p $(dir $@)
68	python $(SCRIPT) $@ EXPERIMENTAL_EXTRAS
69V8_GENERATED_LIBRARIES += $(generated_sources)/experimental-extra-libraries.cc
70LOCAL_GENERATED_SOURCES += $(V8_GENERATED_LIBRARIES)
71include $(BUILD_STATIC_LIBRARY)
72