Home | History | Annotate | Download | only in gyp
      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_generate_trig_table_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
      7 LOCAL_MODULE_STEM := generate_trig_table
      8 LOCAL_MODULE_SUFFIX := .stamp
      9 LOCAL_MODULE_TAGS := optional
     10 LOCAL_IS_HOST_MODULE := true
     11 LOCAL_MULTILIB := $(GYP_HOST_MULTILIB)
     12 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX))
     13 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     14 
     15 # Make sure our deps are built first.
     16 GYP_TARGET_DEPENDENCIES :=
     17 
     18 ### Rules for action "generate":
     19 $(gyp_shared_intermediate_dir)/trig-table.cc: gyp_local_path := $(LOCAL_PATH)
     20 $(gyp_shared_intermediate_dir)/trig-table.cc: gyp_var_prefix := $(GYP_VAR_PREFIX)
     21 $(gyp_shared_intermediate_dir)/trig-table.cc: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     22 $(gyp_shared_intermediate_dir)/trig-table.cc: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     23 $(gyp_shared_intermediate_dir)/trig-table.cc: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     24 $(gyp_shared_intermediate_dir)/trig-table.cc: $(LOCAL_PATH)/v8/tools/generate-trig-table.py $(GYP_TARGET_DEPENDENCIES)
     25 	@echo "Gyp action: v8_tools_gyp_v8_gyp_generate_trig_table_host_generate ($@)"
     26 	$(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"
     27 
     28 
     29 
     30 GYP_GENERATED_OUTPUTS := \
     31 	$(gyp_shared_intermediate_dir)/trig-table.cc
     32 
     33 # Make sure our deps and generated files are built first.
     34 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     35 
     36 ### Rules for final target.
     37 # Add target alias to "gyp_all_modules" target.
     38 .PHONY: gyp_all_modules
     39 gyp_all_modules: v8_tools_gyp_generate_trig_table_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
     40 
     41 # Alias gyp target name.
     42 .PHONY: generate_trig_table
     43 generate_trig_table: v8_tools_gyp_generate_trig_table_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
     44 
     45 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
     46 LOCAL_UNINSTALLABLE_MODULE := true
     47 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_HOST_VAR_PREFIX)
     48 
     49 include $(BUILD_SYSTEM)/base_rules.mk
     50 
     51 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
     52 	$(hide) echo "Gyp timestamp: $@"
     53 	$(hide) mkdir -p $(dir $@)
     54 	$(hide) touch $@
     55 
     56 LOCAL_2ND_ARCH_VAR_PREFIX :=
     57