1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := GYP 6LOCAL_MODULE := third_party_WebKit_Source_bindings_scripts_cached_lex_yacc_tables_gyp 7LOCAL_MODULE_STEM := cached_lex_yacc_tables 8LOCAL_MODULE_SUFFIX := .stamp 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := 15 16### Rules for action "cache_lex_yacc_tables": 17$(gyp_shared_intermediate_dir)/blink/bindings/scripts/lextab.py: gyp_local_path := $(LOCAL_PATH) 18$(gyp_shared_intermediate_dir)/blink/bindings/scripts/lextab.py: gyp_var_prefix := $(GYP_VAR_PREFIX) 19$(gyp_shared_intermediate_dir)/blink/bindings/scripts/lextab.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 20$(gyp_shared_intermediate_dir)/blink/bindings/scripts/lextab.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 21$(gyp_shared_intermediate_dir)/blink/bindings/scripts/lextab.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 22$(gyp_shared_intermediate_dir)/blink/bindings/scripts/lextab.py: $(LOCAL_PATH)/third_party/ply/lex.py $(LOCAL_PATH)/third_party/ply/yacc.py $(LOCAL_PATH)/tools/idl_parser/idl_lexer.py $(LOCAL_PATH)/tools/idl_parser/idl_node.py $(LOCAL_PATH)/tools/idl_parser/idl_parser.py $(LOCAL_PATH)/third_party/WebKit/Source/bindings/scripts/blink_idl_lexer.py $(LOCAL_PATH)/third_party/WebKit/Source/bindings/scripts/blink_idl_parser.py $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: Caching PLY lex & yacc lex/parse tables ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/bindings/scripts; mkdir -p $(gyp_shared_intermediate_dir)/blink/bindings/scripts; python blink_idl_parser.py "$(gyp_shared_intermediate_dir)/blink/bindings/scripts" 25 26$(gyp_shared_intermediate_dir)/blink/bindings/scripts/parsetab.pickle: $(gyp_shared_intermediate_dir)/blink/bindings/scripts/lextab.py ; 27 28 29GYP_GENERATED_OUTPUTS := \ 30 $(gyp_shared_intermediate_dir)/blink/bindings/scripts/lextab.py \ 31 $(gyp_shared_intermediate_dir)/blink/bindings/scripts/parsetab.pickle 32 33# Make sure our deps and generated files are built first. 34LOCAL_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 39gyp_all_modules: third_party_WebKit_Source_bindings_scripts_cached_lex_yacc_tables_gyp 40 41# Alias gyp target name. 42.PHONY: cached_lex_yacc_tables 43cached_lex_yacc_tables: third_party_WebKit_Source_bindings_scripts_cached_lex_yacc_tables_gyp 44 45LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 46LOCAL_UNINSTALLABLE_MODULE := true 47LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 48 49include $(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 56LOCAL_2ND_ARCH_VAR_PREFIX := 57