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