1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := GYP 6LOCAL_MODULE := webkit_common_user_agent_webkit_version_gyp 7LOCAL_MODULE_STEM := webkit_version 8LOCAL_MODULE_SUFFIX := .stamp 9LOCAL_MODULE_TAGS := optional 10gyp_intermediate_dir := $(call local-intermediates-dir) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 12 13# Make sure our deps are built first. 14GYP_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 27GYP_GENERATED_OUTPUTS := \ 28 $(gyp_shared_intermediate_dir)/webkit_version.h 29 30# Make sure our deps and generated files are built first. 31LOCAL_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 36gyp_all_modules: webkit_common_user_agent_webkit_version_gyp 37 38# Alias gyp target name. 39.PHONY: webkit_version 40webkit_version: webkit_common_user_agent_webkit_version_gyp 41 42LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 43LOCAL_UNINSTALLABLE_MODULE := true 44 45include $(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