1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := GYP 6 LOCAL_MODULE := v8_tools_gyp_js2c_host_gyp 7 LOCAL_MODULE_STEM := js2c 8 LOCAL_MODULE_SUFFIX := .stamp 9 LOCAL_MODULE_TAGS := optional 10 LOCAL_IS_HOST_MODULE := true 11 gyp_intermediate_dir := $(call local-intermediates-dir) 12 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 13 14 # Make sure our deps are built first. 15 GYP_TARGET_DEPENDENCIES := 16 17 ### Rules for action "js2c": 18 $(gyp_shared_intermediate_dir)/libraries.cc: gyp_local_path := $(LOCAL_PATH) 19 $(gyp_shared_intermediate_dir)/libraries.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 20 $(gyp_shared_intermediate_dir)/libraries.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 21 $(gyp_shared_intermediate_dir)/libraries.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 22 $(gyp_shared_intermediate_dir)/libraries.cc: $(LOCAL_PATH)/v8/tools/js2c.py $(LOCAL_PATH)/v8/src/runtime.js $(LOCAL_PATH)/v8/src/v8natives.js $(LOCAL_PATH)/v8/src/array.js $(LOCAL_PATH)/v8/src/string.js $(LOCAL_PATH)/v8/src/uri.js $(LOCAL_PATH)/v8/src/math.js $(LOCAL_PATH)/v8/src/messages.js $(LOCAL_PATH)/v8/src/apinatives.js $(LOCAL_PATH)/v8/src/debug-debugger.js $(LOCAL_PATH)/v8/src/mirror-debugger.js $(LOCAL_PATH)/v8/src/liveedit-debugger.js $(LOCAL_PATH)/v8/src/date.js $(LOCAL_PATH)/v8/src/json.js $(LOCAL_PATH)/v8/src/regexp.js $(LOCAL_PATH)/v8/src/macros.py $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: v8_tools_gyp_v8_gyp_js2c_host_js2c ($@)" 24 $(hide)cd $(gyp_local_path)/v8/tools/gyp; mkdir -p $(gyp_shared_intermediate_dir); python ../../tools/js2c.py "$(gyp_shared_intermediate_dir)/libraries.cc" CORE off ../../src/runtime.js ../../src/v8natives.js ../../src/array.js ../../src/string.js ../../src/uri.js ../../src/math.js ../../src/messages.js ../../src/apinatives.js ../../src/debug-debugger.js ../../src/mirror-debugger.js ../../src/liveedit-debugger.js ../../src/date.js ../../src/json.js ../../src/regexp.js ../../src/macros.py 25 26 27 ### Rules for action "js2c_experimental": 28 $(gyp_shared_intermediate_dir)/experimental-libraries.cc: gyp_local_path := $(LOCAL_PATH) 29 $(gyp_shared_intermediate_dir)/experimental-libraries.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 30 $(gyp_shared_intermediate_dir)/experimental-libraries.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 31 $(gyp_shared_intermediate_dir)/experimental-libraries.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 32 $(gyp_shared_intermediate_dir)/experimental-libraries.cc: $(LOCAL_PATH)/v8/tools/js2c.py $(LOCAL_PATH)/v8/src/macros.py $(LOCAL_PATH)/v8/src/symbol.js $(LOCAL_PATH)/v8/src/proxy.js $(LOCAL_PATH)/v8/src/collection.js $(LOCAL_PATH)/v8/src/object-observe.js $(LOCAL_PATH)/v8/src/arraybuffer.js $(LOCAL_PATH)/v8/src/typedarray.js $(LOCAL_PATH)/v8/src/generator.js $(LOCAL_PATH)/v8/src/array-iterator.js $(LOCAL_PATH)/v8/src/harmony-string.js $(LOCAL_PATH)/v8/src/harmony-array.js $(GYP_TARGET_DEPENDENCIES) 33 @echo "Gyp action: v8_tools_gyp_v8_gyp_js2c_host_js2c_experimental ($@)" 34 $(hide)cd $(gyp_local_path)/v8/tools/gyp; mkdir -p $(gyp_shared_intermediate_dir); python ../../tools/js2c.py "$(gyp_shared_intermediate_dir)/experimental-libraries.cc" EXPERIMENTAL off ../../src/macros.py ../../src/symbol.js ../../src/proxy.js ../../src/collection.js ../../src/object-observe.js ../../src/arraybuffer.js ../../src/typedarray.js ../../src/generator.js ../../src/array-iterator.js ../../src/harmony-string.js ../../src/harmony-array.js 35 36 37 ### Rules for action "js2c_i18n": 38 $(gyp_shared_intermediate_dir)/i18n-libraries.cc: gyp_local_path := $(LOCAL_PATH) 39 $(gyp_shared_intermediate_dir)/i18n-libraries.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 40 $(gyp_shared_intermediate_dir)/i18n-libraries.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 41 $(gyp_shared_intermediate_dir)/i18n-libraries.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 42 $(gyp_shared_intermediate_dir)/i18n-libraries.cc: $(LOCAL_PATH)/v8/tools/js2c.py $(LOCAL_PATH)/v8/src/extensions/i18n/header.js $(LOCAL_PATH)/v8/src/extensions/i18n/globals.js $(LOCAL_PATH)/v8/src/extensions/i18n/locale.js $(LOCAL_PATH)/v8/src/extensions/i18n/collator.js $(LOCAL_PATH)/v8/src/extensions/i18n/number-format.js $(LOCAL_PATH)/v8/src/extensions/i18n/date-format.js $(LOCAL_PATH)/v8/src/extensions/i18n/break-iterator.js $(LOCAL_PATH)/v8/src/extensions/i18n/i18n-utils.js $(LOCAL_PATH)/v8/src/extensions/i18n/overrides.js $(LOCAL_PATH)/v8/src/extensions/i18n/footer.js $(GYP_TARGET_DEPENDENCIES) 43 @echo "Gyp action: v8_tools_gyp_v8_gyp_js2c_host_js2c_i18n ($@)" 44 $(hide)cd $(gyp_local_path)/v8/tools/gyp; mkdir -p $(gyp_shared_intermediate_dir); python ../../tools/js2c.py "$(gyp_shared_intermediate_dir)/i18n-libraries.cc" I18N off ../../src/extensions/i18n/header.js ../../src/extensions/i18n/globals.js ../../src/extensions/i18n/locale.js ../../src/extensions/i18n/collator.js ../../src/extensions/i18n/number-format.js ../../src/extensions/i18n/date-format.js ../../src/extensions/i18n/break-iterator.js ../../src/extensions/i18n/i18n-utils.js ../../src/extensions/i18n/overrides.js ../../src/extensions/i18n/footer.js 45 46 47 48 GYP_GENERATED_OUTPUTS := \ 49 $(gyp_shared_intermediate_dir)/libraries.cc \ 50 $(gyp_shared_intermediate_dir)/experimental-libraries.cc \ 51 $(gyp_shared_intermediate_dir)/i18n-libraries.cc 52 53 # Make sure our deps and generated files are built first. 54 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 55 56 ### Rules for final target. 57 # Add target alias to "gyp_all_modules" target. 58 .PHONY: gyp_all_modules 59 gyp_all_modules: v8_tools_gyp_js2c_host_gyp 60 61 # Alias gyp target name. 62 .PHONY: js2c 63 js2c: v8_tools_gyp_js2c_host_gyp 64 65 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 66 LOCAL_UNINSTALLABLE_MODULE := true 67 68 include $(BUILD_SYSTEM)/base_rules.mk 69 70 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 71 $(hide) echo "Gyp timestamp: $@" 72 $(hide) mkdir -p $(dir $@) 73 $(hide) touch $@ 74