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_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,content_app_resources_content_resources_gyp,,,$(GYP_VAR_PREFIX))/content_resources.stamp \ 16 $(call intermediates-dir-for,GYP,net_net_resources_gyp,,,$(GYP_VAR_PREFIX))/net_resources.stamp \ 17 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_resources_gyp,,,$(GYP_VAR_PREFIX))/blink_resources.stamp \ 18 $(call intermediates-dir-for,GYP,ui_resources_ui_resources_gyp,,,$(GYP_VAR_PREFIX))/ui_resources.stamp 19 20 ### Rules for action "repack_android_webview_pack": 21 $(gyp_shared_intermediate_dir)/android_webview_assets/webviewchromium.pak: gyp_local_path := $(LOCAL_PATH) 22 $(gyp_shared_intermediate_dir)/android_webview_assets/webviewchromium.pak: gyp_var_prefix := $(GYP_VAR_PREFIX) 23 $(gyp_shared_intermediate_dir)/android_webview_assets/webviewchromium.pak: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 24 $(gyp_shared_intermediate_dir)/android_webview_assets/webviewchromium.pak: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 25 $(gyp_shared_intermediate_dir)/android_webview_assets/webviewchromium.pak: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 26 $(gyp_shared_intermediate_dir)/android_webview_assets/webviewchromium.pak: $(LOCAL_PATH)/tools/grit/grit/format/repack.py $(gyp_shared_intermediate_dir)/blink/public/resources/blink_resources.pak $(gyp_shared_intermediate_dir)/content/app/resources/content_resources_100_percent.pak $(gyp_shared_intermediate_dir)/content/content_resources.pak $(gyp_shared_intermediate_dir)/net/net_resources.pak $(gyp_shared_intermediate_dir)/ui/resources/ui_resources_100_percent.pak $(GYP_TARGET_DEPENDENCIES) 27 @echo "Gyp action: android_webview_android_webview_gyp_android_webview_pak_target_repack_android_webview_pack ($@)" 28 $(hide)cd $(gyp_local_path)/android_webview; mkdir -p $(gyp_shared_intermediate_dir)/android_webview_assets; python ../tools/grit/grit/format/repack.py "$(gyp_shared_intermediate_dir)/android_webview_assets/webviewchromium.pak" "$(gyp_shared_intermediate_dir)/blink/public/resources/blink_resources.pak" "$(gyp_shared_intermediate_dir)/content/app/resources/content_resources_100_percent.pak" "$(gyp_shared_intermediate_dir)/content/content_resources.pak" "$(gyp_shared_intermediate_dir)/net/net_resources.pak" "$(gyp_shared_intermediate_dir)/ui/resources/ui_resources_100_percent.pak" 29 30 31 ### Rules for action "add_en_US_pak_locale": 32 $(gyp_shared_intermediate_dir)/android_webview_assets/en-US.pak: gyp_local_path := $(LOCAL_PATH) 33 $(gyp_shared_intermediate_dir)/android_webview_assets/en-US.pak: gyp_var_prefix := $(GYP_VAR_PREFIX) 34 $(gyp_shared_intermediate_dir)/android_webview_assets/en-US.pak: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 35 $(gyp_shared_intermediate_dir)/android_webview_assets/en-US.pak: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 36 $(gyp_shared_intermediate_dir)/android_webview_assets/en-US.pak: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 37 $(gyp_shared_intermediate_dir)/android_webview_assets/en-US.pak: $(LOCAL_PATH)/tools/grit/grit/format/repack.py $(gyp_shared_intermediate_dir)/content/app/strings/content_strings_en-US.pak $(GYP_TARGET_DEPENDENCIES) 38 @echo "Gyp action: android_webview_android_webview_gyp_android_webview_pak_target_add_en_US_pak_locale ($@)" 39 $(hide)cd $(gyp_local_path)/android_webview; mkdir -p $(gyp_shared_intermediate_dir)/android_webview_assets; python ../tools/grit/grit/format/repack.py "$(gyp_shared_intermediate_dir)/android_webview_assets/en-US.pak" "$(gyp_shared_intermediate_dir)/content/app/strings/content_strings_en-US.pak" 40 41 42 43 GYP_GENERATED_OUTPUTS := \ 44 $(gyp_shared_intermediate_dir)/android_webview_assets/webviewchromium.pak \ 45 $(gyp_shared_intermediate_dir)/android_webview_assets/en-US.pak 46 47 # Make sure our deps and generated files are built first. 48 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 49 50 ### Rules for final target. 51 # Add target alias to "gyp_all_modules" target. 52 .PHONY: gyp_all_modules 53 gyp_all_modules: android_webview_android_webview_pak_gyp 54 55 # Alias gyp target name. 56 .PHONY: android_webview_pak 57 android_webview_pak: android_webview_android_webview_pak_gyp 58 59 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 60 LOCAL_UNINSTALLABLE_MODULE := true 61 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 62 63 include $(BUILD_SYSTEM)/base_rules.mk 64 65 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 66 $(hide) echo "Gyp timestamp: $@" 67 $(hide) mkdir -p $(dir $@) 68 $(hide) touch $@ 69 70 LOCAL_2ND_ARCH_VAR_PREFIX := 71