| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This file defines resources-related build variables which are shared by the | 5 # This file defines resources-related build variables which are shared by the |
| 6 # android_webview/Android.mk file and the frameworks/webview/chromium/Android.mk | 6 # android_webview/Android.mk file and the frameworks/webview/chromium/Android.mk |
| 7 # file. | 7 # file. |
| 8 | 8 |
| 9 android_webview_manifest_file := $(call my-dir)/AndroidManifest.xml | 9 android_webview_manifest_file := $(call my-dir)/AndroidManifest.xml |
| 10 | 10 |
| 11 # Resources. | 11 # Resources. |
| 12 # The res_hack folder is necessary to defeat a build system "optimization" which | |
| 13 # ends up skipping running aapt if there are no resource files in any of the | |
| 14 # resources dirs. Unfortunately, because all of our resources are generated at | |
| 15 # build time and because this check is performed when processing the Makefile | |
| 16 # it tests positive when building from clean resulting in a build failure. | |
| 17 # We defeat the optimization by including an empty values.xml file in the list. | |
| 18 android_webview_resources_dirs := \ | 12 android_webview_resources_dirs := \ |
| 19 $(call my-dir)/res_hack \ | |
| 20 $(call my-dir)/../java/res \ | 13 $(call my-dir)/../java/res \ |
| 21 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_content_reso
urces/jarjar_res \ | 14 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_content_reso
urces/jarjar_res \ |
| 22 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_ui_resources
/jarjar_res \ | 15 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_ui_resources
/jarjar_res \ |
| 23 $(call intermediates-dir-for,GYP,ui_strings_grd)/ui_strings_grd/res_grit \ | 16 $(call intermediates-dir-for,GYP,ui_strings_grd)/ui_strings_grd/res_grit \ |
| 24 $(call intermediates-dir-for,GYP,content_strings_grd)/content_strings_grd/re
s_grit \ | 17 $(call intermediates-dir-for,GYP,content_strings_grd)/content_strings_grd/re
s_grit \ |
| 25 $(call intermediates-dir-for,GYP,android_webview_strings_grd)/android_webvie
w_strings_grd/res_grit | 18 $(call intermediates-dir-for,GYP,android_webview_strings_grd)/android_webvie
w_strings_grd/res_grit |
| 26 | 19 |
| 27 android_webview_asset_dirs := \ | 20 android_webview_asset_dirs := \ |
| 28 $(call intermediates-dir-for,APPS,webviewchromium-paks) | 21 $(call intermediates-dir-for,APPS,webviewchromium-paks) |
| 29 | 22 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 # This list will be used to force the .pak files to be copied into the | 89 # This list will be used to force the .pak files to be copied into the |
| 97 # intermediates folder before invoking appt from the Android 'glue layer' | 90 # intermediates folder before invoking appt from the Android 'glue layer' |
| 98 # makefile. | 91 # makefile. |
| 99 android_webview_intermediates_pak_additional_deps := \ | 92 android_webview_intermediates_pak_additional_deps := \ |
| 100 $(foreach name,$(android_webview_final_pak_names), \ | 93 $(foreach name,$(android_webview_final_pak_names), \ |
| 101 $(call intermediates-dir-for,APPS,webviewchromium-paks)/$(name)) | 94 $(call intermediates-dir-for,APPS,webviewchromium-paks)/$(name)) |
| 102 | 95 |
| 103 # This is the stamp file for the android_webview_resources target. | 96 # This is the stamp file for the android_webview_resources target. |
| 104 android_webview_resources_stamp := \ | 97 android_webview_resources_stamp := \ |
| 105 $(call intermediates-dir-for,GYP,android_webview_resources)/android_webview_re
sources.stamp | 98 $(call intermediates-dir-for,GYP,android_webview_resources)/android_webview_re
sources.stamp |
| OLD | NEW |