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_devtools_frontend_protocol_sources_gyp 7LOCAL_MODULE_STEM := frontend_protocol_sources 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 "generateInspectorProtocolFrontendSources": 17$(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: gyp_local_path := $(LOCAL_PATH) 18$(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: gyp_var_prefix := $(GYP_VAR_PREFIX) 19$(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 20$(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 21$(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 22$(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/CodeGeneratorFrontend.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/protocol.json $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: Generating Inspector protocol frontend sources from protocol.json ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/CodeGeneratorFrontend.py protocol.json --output_js_dir "$(gyp_shared_intermediate_dir)/resources/inspector/" 25 26 27 28GYP_GENERATED_OUTPUTS := \ 29 $(gyp_shared_intermediate_dir)/resources/inspector/InspectorBackendCommands.js 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: third_party_WebKit_Source_devtools_frontend_protocol_sources_gyp 38 39# Alias gyp target name. 40.PHONY: frontend_protocol_sources 41frontend_protocol_sources: third_party_WebKit_Source_devtools_frontend_protocol_sources_gyp 42 43LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 44LOCAL_UNINSTALLABLE_MODULE := true 45LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 46 47include $(BUILD_SYSTEM)/base_rules.mk 48 49$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 50 $(hide) echo "Gyp timestamp: $@" 51 $(hide) mkdir -p $(dir $@) 52 $(hide) touch $@ 53 54LOCAL_2ND_ARCH_VAR_PREFIX := 55