123730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)# This file is generated by gyp; do not edit.
223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
323730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)include $(CLEAR_VARS)
423730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
523730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)LOCAL_MODULE_CLASS := GYP
623730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)LOCAL_MODULE := components_components_resources_gyp
723730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)LOCAL_MODULE_STEM := components_resources
823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)LOCAL_MODULE_SUFFIX := .stamp
9c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
10c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochgyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
11c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochgyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
1223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
1323730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)# Make sure our deps are built first.
1423730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)GYP_TARGET_DEPENDENCIES :=
1523730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
1623730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)### Rules for action "generate_components_resources":
171320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_resources.h: gyp_local_path := $(LOCAL_PATH)
181320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_resources.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
191320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_resources.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
201320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_resources.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
211320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_resources.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
221320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_resources.h: $(LOCAL_PATH)/third_party/dom_distiller_js/package/js/domdistiller.js $(LOCAL_PATH)/components/resources/components_resources.grd $(LOCAL_PATH)/tools/gritsettings/resource_ids $(LOCAL_PATH)/components/dom_distiller/core/css/distilledpage.css $(LOCAL_PATH)/components/dom_distiller/core/html/dom_distiller_viewer.html $(LOCAL_PATH)/components/dom_distiller/core/javascript/dom_distiller_viewer.js $(LOCAL_PATH)/components/dom_distiller/core/javascript/domdistiller.js $(LOCAL_PATH)/components/dom_distiller/core/javascript/is_distillable_trigger.js $(LOCAL_PATH)/components/dom_distiller/webui/resources/about_dom_distiller.css $(LOCAL_PATH)/components/dom_distiller/webui/resources/about_dom_distiller.html $(LOCAL_PATH)/components/dom_distiller/webui/resources/about_dom_distiller.js $(LOCAL_PATH)/components/resources/dom_distiller_resources.grdp $(LOCAL_PATH)/components/resources/translate_resources.grdp $(LOCAL_PATH)/components/translate/core/browser/resources/translate.js $(LOCAL_PATH)/tools/grit/PRESUBMIT.py $(LOCAL_PATH)/tools/grit/grit.py $(LOCAL_PATH)/tools/grit/grit/__init__.py $(LOCAL_PATH)/tools/grit/grit/clique.py $(LOCAL_PATH)/tools/grit/grit/constants.py $(LOCAL_PATH)/tools/grit/grit/exception.py $(LOCAL_PATH)/tools/grit/grit/extern/BogoFP.py $(LOCAL_PATH)/tools/grit/grit/extern/FP.py $(LOCAL_PATH)/tools/grit/grit/extern/__init__.py $(LOCAL_PATH)/tools/grit/grit/extern/tclib.py $(LOCAL_PATH)/tools/grit/grit/format/__init__.py $(LOCAL_PATH)/tools/grit/grit/format/android_xml.py $(LOCAL_PATH)/tools/grit/grit/format/c_format.py $(LOCAL_PATH)/tools/grit/grit/format/chrome_messages_json.py $(LOCAL_PATH)/tools/grit/grit/format/data_pack.py $(LOCAL_PATH)/tools/grit/grit/format/html_inline.py $(LOCAL_PATH)/tools/grit/grit/format/js_map_format.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/PRESUBMIT.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/__init__.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/policy_template_generator.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/template_formatter.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writer_configuration.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/__init__.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/adm_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/adml_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/admx_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/doc_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/ios_plist_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/json_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/mock_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/plist_helper.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/plist_strings_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/plist_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/reg_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/template_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/writer_unittest_common.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py $(LOCAL_PATH)/tools/grit/grit/format/rc.py $(LOCAL_PATH)/tools/grit/grit/format/rc_header.py $(LOCAL_PATH)/tools/grit/grit/format/repack.py $(LOCAL_PATH)/tools/grit/grit/format/resource_map.py $(LOCAL_PATH)/tools/grit/grit/gather/__init__.py $(LOCAL_PATH)/tools/grit/grit/gather/admin_template.py $(LOCAL_PATH)/tools/grit/grit/gather/chrome_html.py $(LOCAL_PATH)/tools/grit/grit/gather/chrome_scaled_image.py $(LOCAL_PATH)/tools/grit/grit/gather/igoogle_strings.py $(LOCAL_PATH)/tools/grit/grit/gather/interface.py $(LOCAL_PATH)/tools/grit/grit/gather/json_loader.py $(LOCAL_PATH)/tools/grit/grit/gather/muppet_strings.py $(LOCAL_PATH)/tools/grit/grit/gather/policy_json.py $(LOCAL_PATH)/tools/grit/grit/gather/rc.py $(LOCAL_PATH)/tools/grit/grit/gather/regexp.py $(LOCAL_PATH)/tools/grit/grit/gather/skeleton_gatherer.py $(LOCAL_PATH)/tools/grit/grit/gather/tr_html.py $(LOCAL_PATH)/tools/grit/grit/gather/txt.py $(LOCAL_PATH)/tools/grit/grit/grd_reader.py $(LOCAL_PATH)/tools/grit/grit/grit_runner.py $(LOCAL_PATH)/tools/grit/grit/lazy_re.py $(LOCAL_PATH)/tools/grit/grit/node/__init__.py $(LOCAL_PATH)/tools/grit/grit/node/base.py $(LOCAL_PATH)/tools/grit/grit/node/custom/__init__.py $(LOCAL_PATH)/tools/grit/grit/node/custom/filename.py $(LOCAL_PATH)/tools/grit/grit/node/empty.py $(LOCAL_PATH)/tools/grit/grit/node/include.py $(LOCAL_PATH)/tools/grit/grit/node/io.py $(LOCAL_PATH)/tools/grit/grit/node/mapping.py $(LOCAL_PATH)/tools/grit/grit/node/message.py $(LOCAL_PATH)/tools/grit/grit/node/misc.py $(LOCAL_PATH)/tools/grit/grit/node/structure.py $(LOCAL_PATH)/tools/grit/grit/node/variant.py $(LOCAL_PATH)/tools/grit/grit/pseudo.py $(LOCAL_PATH)/tools/grit/grit/pseudo_rtl.py $(LOCAL_PATH)/tools/grit/grit/scons.py $(LOCAL_PATH)/tools/grit/grit/shortcuts.py $(LOCAL_PATH)/tools/grit/grit/shortcuts_unittests.py $(LOCAL_PATH)/tools/grit/grit/tclib.py $(LOCAL_PATH)/tools/grit/grit/test_suite_all.py $(LOCAL_PATH)/tools/grit/grit/tool/__init__.py $(LOCAL_PATH)/tools/grit/grit/tool/android2grd.py $(LOCAL_PATH)/tools/grit/grit/tool/build.py $(LOCAL_PATH)/tools/grit/grit/tool/buildinfo.py $(LOCAL_PATH)/tools/grit/grit/tool/count.py $(LOCAL_PATH)/tools/grit/grit/tool/diff_structures.py $(LOCAL_PATH)/tools/grit/grit/tool/interface.py $(LOCAL_PATH)/tools/grit/grit/tool/menu_from_parts.py $(LOCAL_PATH)/tools/grit/grit/tool/newgrd.py $(LOCAL_PATH)/tools/grit/grit/tool/postprocess_interface.py $(LOCAL_PATH)/tools/grit/grit/tool/preprocess_interface.py $(LOCAL_PATH)/tools/grit/grit/tool/rc2grd.py $(LOCAL_PATH)/tools/grit/grit/tool/resize.py $(LOCAL_PATH)/tools/grit/grit/tool/test.py $(LOCAL_PATH)/tools/grit/grit/tool/toolbar_postprocess.py $(LOCAL_PATH)/tools/grit/grit/tool/toolbar_preprocess.py $(LOCAL_PATH)/tools/grit/grit/tool/transl2tc.py $(LOCAL_PATH)/tools/grit/grit/tool/unit.py $(LOCAL_PATH)/tools/grit/grit/tool/xmb.py $(LOCAL_PATH)/tools/grit/grit/util.py $(LOCAL_PATH)/tools/grit/grit/xtb_reader.py $(LOCAL_PATH)/tools/grit/grit_info.py $(GYP_TARGET_DEPENDENCIES)
2323730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)	@echo "Gyp action: Generating resources from resources/components_resources.grd ($@)"
24e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch	$(hide)cd $(gyp_local_path)/components; mkdir -p $(gyp_shared_intermediate_dir)/components/grit $(gyp_shared_intermediate_dir)/components; python ../tools/grit/grit.py -i resources/components_resources.grd build -f ../tools/gritsettings/resource_ids -o "$(gyp_shared_intermediate_dir)/components" -D _chromium -E "CHROMIUM_BUILD=chromium" -t android -E "ANDROID_JAVA_TAGGED_ONLY=true" -D enable_printing -D use_concatenated_impulse_responses -D enable_webrtc
2523730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
261320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/components_resources.pak: $(gyp_shared_intermediate_dir)/components/grit/components_resources.h ;
2723730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
2823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)### Rules for action "generate_components_scaled_resources":
291320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_scaled_resources.h: gyp_local_path := $(LOCAL_PATH)
301320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_scaled_resources.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
311320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_scaled_resources.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
321320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_scaled_resources.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
331320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_scaled_resources.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
341320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/grit/components_scaled_resources.h: $(LOCAL_PATH)/tools/gritsettings/resource_ids $(LOCAL_PATH)/components/resources/components_scaled_resources.grd $(LOCAL_PATH)/components/resources/autofill_scaled_resources.grdp $(LOCAL_PATH)/components/resources/default_100_percent/common/autofill/amex.png $(LOCAL_PATH)/components/resources/default_100_percent/common/autofill/cc-generic.png $(LOCAL_PATH)/components/resources/default_100_percent/common/autofill/diners.png $(LOCAL_PATH)/components/resources/default_100_percent/common/autofill/discover.png $(LOCAL_PATH)/components/resources/default_100_percent/common/autofill/jcb.png $(LOCAL_PATH)/components/resources/default_100_percent/common/autofill/mac_contacts_icon.png $(LOCAL_PATH)/components/resources/default_100_percent/common/autofill/mastercard.png $(LOCAL_PATH)/components/resources/default_100_percent/common/autofill/visa.png $(LOCAL_PATH)/components/resources/default_100_percent/common/omnibox/omnibox_extension_app.png $(LOCAL_PATH)/components/resources/default_100_percent/common/omnibox/omnibox_http.png $(LOCAL_PATH)/components/resources/default_100_percent/common/omnibox/omnibox_search.png $(LOCAL_PATH)/components/resources/default_200_percent/common/autofill/amex.png $(LOCAL_PATH)/components/resources/default_200_percent/common/autofill/discover.png $(LOCAL_PATH)/components/resources/default_200_percent/common/autofill/mac_contacts_icon.png $(LOCAL_PATH)/components/resources/default_200_percent/common/autofill/mastercard.png $(LOCAL_PATH)/components/resources/default_200_percent/common/autofill/visa.png $(LOCAL_PATH)/components/resources/default_200_percent/common/omnibox/omnibox_extension_app.png $(LOCAL_PATH)/components/resources/default_200_percent/common/omnibox/omnibox_http.png $(LOCAL_PATH)/components/resources/default_200_percent/common/omnibox/omnibox_search.png $(LOCAL_PATH)/components/resources/omnibox_scaled_resources.grdp $(LOCAL_PATH)/components/resources/pdf_scaled_resources.grdp $(LOCAL_PATH)/tools/grit/PRESUBMIT.py $(LOCAL_PATH)/tools/grit/grit.py $(LOCAL_PATH)/tools/grit/grit/__init__.py $(LOCAL_PATH)/tools/grit/grit/clique.py $(LOCAL_PATH)/tools/grit/grit/constants.py $(LOCAL_PATH)/tools/grit/grit/exception.py $(LOCAL_PATH)/tools/grit/grit/extern/BogoFP.py $(LOCAL_PATH)/tools/grit/grit/extern/FP.py $(LOCAL_PATH)/tools/grit/grit/extern/__init__.py $(LOCAL_PATH)/tools/grit/grit/extern/tclib.py $(LOCAL_PATH)/tools/grit/grit/format/__init__.py $(LOCAL_PATH)/tools/grit/grit/format/android_xml.py $(LOCAL_PATH)/tools/grit/grit/format/c_format.py $(LOCAL_PATH)/tools/grit/grit/format/chrome_messages_json.py $(LOCAL_PATH)/tools/grit/grit/format/data_pack.py $(LOCAL_PATH)/tools/grit/grit/format/html_inline.py $(LOCAL_PATH)/tools/grit/grit/format/js_map_format.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/PRESUBMIT.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/__init__.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/policy_template_generator.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/template_formatter.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writer_configuration.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/__init__.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/adm_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/adml_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/admx_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/doc_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/ios_plist_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/json_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/mock_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/plist_helper.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/plist_strings_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/plist_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/reg_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/template_writer.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/writer_unittest_common.py $(LOCAL_PATH)/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py $(LOCAL_PATH)/tools/grit/grit/format/rc.py $(LOCAL_PATH)/tools/grit/grit/format/rc_header.py $(LOCAL_PATH)/tools/grit/grit/format/repack.py $(LOCAL_PATH)/tools/grit/grit/format/resource_map.py $(LOCAL_PATH)/tools/grit/grit/gather/__init__.py $(LOCAL_PATH)/tools/grit/grit/gather/admin_template.py $(LOCAL_PATH)/tools/grit/grit/gather/chrome_html.py $(LOCAL_PATH)/tools/grit/grit/gather/chrome_scaled_image.py $(LOCAL_PATH)/tools/grit/grit/gather/igoogle_strings.py $(LOCAL_PATH)/tools/grit/grit/gather/interface.py $(LOCAL_PATH)/tools/grit/grit/gather/json_loader.py $(LOCAL_PATH)/tools/grit/grit/gather/muppet_strings.py $(LOCAL_PATH)/tools/grit/grit/gather/policy_json.py $(LOCAL_PATH)/tools/grit/grit/gather/rc.py $(LOCAL_PATH)/tools/grit/grit/gather/regexp.py $(LOCAL_PATH)/tools/grit/grit/gather/skeleton_gatherer.py $(LOCAL_PATH)/tools/grit/grit/gather/tr_html.py $(LOCAL_PATH)/tools/grit/grit/gather/txt.py $(LOCAL_PATH)/tools/grit/grit/grd_reader.py $(LOCAL_PATH)/tools/grit/grit/grit_runner.py $(LOCAL_PATH)/tools/grit/grit/lazy_re.py $(LOCAL_PATH)/tools/grit/grit/node/__init__.py $(LOCAL_PATH)/tools/grit/grit/node/base.py $(LOCAL_PATH)/tools/grit/grit/node/custom/__init__.py $(LOCAL_PATH)/tools/grit/grit/node/custom/filename.py $(LOCAL_PATH)/tools/grit/grit/node/empty.py $(LOCAL_PATH)/tools/grit/grit/node/include.py $(LOCAL_PATH)/tools/grit/grit/node/io.py $(LOCAL_PATH)/tools/grit/grit/node/mapping.py $(LOCAL_PATH)/tools/grit/grit/node/message.py $(LOCAL_PATH)/tools/grit/grit/node/misc.py $(LOCAL_PATH)/tools/grit/grit/node/structure.py $(LOCAL_PATH)/tools/grit/grit/node/variant.py $(LOCAL_PATH)/tools/grit/grit/pseudo.py $(LOCAL_PATH)/tools/grit/grit/pseudo_rtl.py $(LOCAL_PATH)/tools/grit/grit/scons.py $(LOCAL_PATH)/tools/grit/grit/shortcuts.py $(LOCAL_PATH)/tools/grit/grit/shortcuts_unittests.py $(LOCAL_PATH)/tools/grit/grit/tclib.py $(LOCAL_PATH)/tools/grit/grit/test_suite_all.py $(LOCAL_PATH)/tools/grit/grit/tool/__init__.py $(LOCAL_PATH)/tools/grit/grit/tool/android2grd.py $(LOCAL_PATH)/tools/grit/grit/tool/build.py $(LOCAL_PATH)/tools/grit/grit/tool/buildinfo.py $(LOCAL_PATH)/tools/grit/grit/tool/count.py $(LOCAL_PATH)/tools/grit/grit/tool/diff_structures.py $(LOCAL_PATH)/tools/grit/grit/tool/interface.py $(LOCAL_PATH)/tools/grit/grit/tool/menu_from_parts.py $(LOCAL_PATH)/tools/grit/grit/tool/newgrd.py $(LOCAL_PATH)/tools/grit/grit/tool/postprocess_interface.py $(LOCAL_PATH)/tools/grit/grit/tool/preprocess_interface.py $(LOCAL_PATH)/tools/grit/grit/tool/rc2grd.py $(LOCAL_PATH)/tools/grit/grit/tool/resize.py $(LOCAL_PATH)/tools/grit/grit/tool/test.py $(LOCAL_PATH)/tools/grit/grit/tool/toolbar_postprocess.py $(LOCAL_PATH)/tools/grit/grit/tool/toolbar_preprocess.py $(LOCAL_PATH)/tools/grit/grit/tool/transl2tc.py $(LOCAL_PATH)/tools/grit/grit/tool/unit.py $(LOCAL_PATH)/tools/grit/grit/tool/xmb.py $(LOCAL_PATH)/tools/grit/grit/util.py $(LOCAL_PATH)/tools/grit/grit/xtb_reader.py $(LOCAL_PATH)/tools/grit/grit_info.py $(GYP_TARGET_DEPENDENCIES)
3523730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)	@echo "Gyp action: Generating resources from resources/components_scaled_resources.grd ($@)"
36e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch	$(hide)cd $(gyp_local_path)/components; mkdir -p $(gyp_shared_intermediate_dir)/components/grit $(gyp_shared_intermediate_dir)/components; python ../tools/grit/grit.py -i resources/components_scaled_resources.grd build -f ../tools/gritsettings/resource_ids -o "$(gyp_shared_intermediate_dir)/components" -D _chromium -E "CHROMIUM_BUILD=chromium" -t android -E "ANDROID_JAVA_TAGGED_ONLY=true" -D enable_printing -D use_concatenated_impulse_responses -D enable_webrtc
3723730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
381320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/components_resources_100_percent.pak: $(gyp_shared_intermediate_dir)/components/grit/components_scaled_resources.h ;
391320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci$(gyp_shared_intermediate_dir)/components/components_resources_200_percent.pak: $(gyp_shared_intermediate_dir)/components/grit/components_scaled_resources.h ;
4023730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
4123730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
4223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)GYP_GENERATED_OUTPUTS := \
431320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	$(gyp_shared_intermediate_dir)/components/grit/components_resources.h \
441320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	$(gyp_shared_intermediate_dir)/components/components_resources.pak \
451320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	$(gyp_shared_intermediate_dir)/components/grit/components_scaled_resources.h \
461320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	$(gyp_shared_intermediate_dir)/components/components_resources_100_percent.pak \
471320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	$(gyp_shared_intermediate_dir)/components/components_resources_200_percent.pak
4823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
4923730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)# Make sure our deps and generated files are built first.
5023730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
5123730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
5223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)### Rules for final target.
5323730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)# Add target alias to "gyp_all_modules" target.
5423730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles).PHONY: gyp_all_modules
5523730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)gyp_all_modules: components_components_resources_gyp
5623730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
5723730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)# Alias gyp target name.
5823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles).PHONY: components_resources
5923730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)components_resources: components_components_resources_gyp
6023730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
6123730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
6223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)LOCAL_UNINSTALLABLE_MODULE := true
63c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
6423730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
6523730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)include $(BUILD_SYSTEM)/base_rules.mk
6623730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
6723730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
6823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)	$(hide) echo "Gyp timestamp: $@"
6923730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)	$(hide) mkdir -p $(dir $@)
7023730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)	$(hide) touch $@
71c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch
72c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochLOCAL_2ND_ARCH_VAR_PREFIX :=
73