1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := GYP 6LOCAL_MODULE := v8_tools_gyp_generate_trig_table_host_gyp 7LOCAL_MODULE_STEM := generate_trig_table 8LOCAL_MODULE_SUFFIX := .stamp 9LOCAL_MODULE_TAGS := optional 10LOCAL_IS_HOST_MODULE := true 11gyp_intermediate_dir := $(call local-intermediates-dir) 12gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 13 14# Make sure our deps are built first. 15GYP_TARGET_DEPENDENCIES := 16 17### Rules for action "generate": 18$(gyp_shared_intermediate_dir)/trig-table.cc: gyp_local_path := $(LOCAL_PATH) 19$(gyp_shared_intermediate_dir)/trig-table.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 20$(gyp_shared_intermediate_dir)/trig-table.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 21$(gyp_shared_intermediate_dir)/trig-table.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 22$(gyp_shared_intermediate_dir)/trig-table.cc: $(LOCAL_PATH)/v8/tools/generate-trig-table.py $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: v8_tools_gyp_v8_gyp_generate_trig_table_host_generate ($@)" 24 $(hide)cd $(gyp_local_path)/v8/tools/gyp; mkdir -p $(gyp_shared_intermediate_dir); python ../../tools/generate-trig-table.py "$(gyp_shared_intermediate_dir)/trig-table.cc" 25 26 27 28GYP_GENERATED_OUTPUTS := \ 29 $(gyp_shared_intermediate_dir)/trig-table.cc 30 31# Make sure our deps and generated files are built first. 32LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 33 34### Rules for final target. 35# Add target alias to "gyp_all_modules" target. 36.PHONY: gyp_all_modules 37gyp_all_modules: v8_tools_gyp_generate_trig_table_host_gyp 38 39# Alias gyp target name. 40.PHONY: generate_trig_table 41generate_trig_table: v8_tools_gyp_generate_trig_table_host_gyp 42 43LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 44LOCAL_UNINSTALLABLE_MODULE := true 45 46include $(BUILD_SYSTEM)/base_rules.mk 47 48$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 49 $(hide) echo "Gyp timestamp: $@" 50 $(hide) mkdir -p $(dir $@) 51 $(hide) touch $@ 52