1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := GYP 6 LOCAL_MODULE := android_webview_android_webview_pak_gyp 7 LOCAL_MODULE_STEM := android_webview_pak 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 $(call intermediates-dir-for,GYP,content_content_resources_gyp)/content_resources.stamp \ 16 $(call intermediates-dir-for,GYP,net_net_resources_gyp)/net_resources.stamp \ 17 $(call intermediates-dir-for,GYP,ui_resources_ui_resources_gyp)/ui_resources.stamp \ 18 $(call intermediates-dir-for,GYP,webkit_webkit_resources_gyp)/webkit_resources.stamp 19 20 ### Rules for action "repack_android_webview_pack": 21 $(gyp_shared_intermediate_dir)/android_webview_apk/assets/webviewchromium.pak: gyp_local_path := $(LOCAL_PATH) 22 $(gyp_shared_intermediate_dir)/android_webview_apk/assets/webviewchromium.pak: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 23 $(gyp_shared_intermediate_dir)/android_webview_apk/assets/webviewchromium.pak: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 24 $(gyp_shared_intermediate_dir)/android_webview_apk/assets/webviewchromium.pak: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 25 $(gyp_shared_intermediate_dir)/android_webview_apk/assets/webviewchromium.pak: $(LOCAL_PATH)/tools/grit/grit/format/repack.py $(gyp_shared_intermediate_dir)/content/content_resources.pak $(gyp_shared_intermediate_dir)/net/net_resources.pak $(gyp_shared_intermediate_dir)/ui/ui_resources/ui_resources_100_percent.pak $(gyp_shared_intermediate_dir)/webkit/blink_resources.pak $(gyp_shared_intermediate_dir)/webkit/webkit_resources_100_percent.pak $(GYP_TARGET_DEPENDENCIES) 26 @echo "Gyp action: android_webview_android_webview_gyp_android_webview_pak_target_repack_android_webview_pack ($@)" 27 $(hide)cd $(gyp_local_path)/android_webview; mkdir -p $(gyp_shared_intermediate_dir)/android_webview_apk/assets; python ../tools/grit/grit/format/repack.py "$(gyp_shared_intermediate_dir)/android_webview_apk/assets/webviewchromium.pak" "$(gyp_shared_intermediate_dir)/content/content_resources.pak" "$(gyp_shared_intermediate_dir)/net/net_resources.pak" "$(gyp_shared_intermediate_dir)/ui/ui_resources/ui_resources_100_percent.pak" "$(gyp_shared_intermediate_dir)/webkit/blink_resources.pak" "$(gyp_shared_intermediate_dir)/webkit/webkit_resources_100_percent.pak" 28 29 30 31 GYP_GENERATED_OUTPUTS := \ 32 $(gyp_shared_intermediate_dir)/android_webview_apk/assets/webviewchromium.pak 33 34 # Make sure our deps and generated files are built first. 35 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 36 37 ### Rules for final target. 38 # Add target alias to "gyp_all_modules" target. 39 .PHONY: gyp_all_modules 40 gyp_all_modules: android_webview_android_webview_pak_gyp 41 42 # Alias gyp target name. 43 .PHONY: android_webview_pak 44 android_webview_pak: android_webview_android_webview_pak_gyp 45 46 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 47 LOCAL_UNINSTALLABLE_MODULE := true 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