ProfilePolicyConnectorFactory: Refactoring from Profile to BrowserContext.
[chromium-blink-merge.git] / android_webview / build / resources_config.mk
blob0b43509d46f9f5688bed729fb77c87f8daf52d5c
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
3 # found in the LICENSE file.
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
7 # file.
9 android_webview_manifest_file := $(call my-dir)/AndroidManifest.xml
11 # Resources.
12 android_webview_resources_dirs := \
13 $(call my-dir)/../java/res \
14 $(call my-dir)/../apk/java/res \
15 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_content_resources/jarjar_res \
16 $(call intermediates-dir-for,GYP,shared)/android_webview_jarjar_ui_resources/jarjar_res \
17 $(call intermediates-dir-for,GYP,ui_strings_grd)/ui_strings_grd/res_grit \
18 $(call intermediates-dir-for,GYP,content_strings_grd)/content_strings_grd/res_grit \
19 $(call intermediates-dir-for,GYP,android_webview_strings_grd)/android_webview_strings_grd/res_grit
21 android_webview_asset_dirs := \
22 $(call intermediates-dir-for,APPS,webviewchromium-paks)
24 android_webview_aapt_flags := --auto-add-overlay
25 android_webview_aapt_flags += --extra-packages org.chromium.android_webview
26 android_webview_aapt_flags += --extra-packages org.chromium.content
27 android_webview_aapt_flags += --extra-packages org.chromium.ui
28 android_webview_aapt_flags += -0 pak
29 android_webview_aapt_flags += --ignore-assets '!OWNERS:!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~'
31 android_webview_system_pak_targets := \
32 webviewchromium_pak \
33 webviewchromium_webkit_strings_am.pak \
34 webviewchromium_webkit_strings_ar.pak \
35 webviewchromium_webkit_strings_bg.pak \
36 webviewchromium_webkit_strings_bn.pak \
37 webviewchromium_webkit_strings_ca.pak \
38 webviewchromium_webkit_strings_cs.pak \
39 webviewchromium_webkit_strings_da.pak \
40 webviewchromium_webkit_strings_de.pak \
41 webviewchromium_webkit_strings_el.pak \
42 webviewchromium_webkit_strings_en-GB.pak \
43 webviewchromium_webkit_strings_en-US.pak \
44 webviewchromium_webkit_strings_es-419.pak \
45 webviewchromium_webkit_strings_es.pak \
46 webviewchromium_webkit_strings_et.pak \
47 webviewchromium_webkit_strings_fa.pak \
48 webviewchromium_webkit_strings_fil.pak \
49 webviewchromium_webkit_strings_fi.pak \
50 webviewchromium_webkit_strings_fr.pak \
51 webviewchromium_webkit_strings_gu.pak \
52 webviewchromium_webkit_strings_he.pak \
53 webviewchromium_webkit_strings_hi.pak \
54 webviewchromium_webkit_strings_hr.pak \
55 webviewchromium_webkit_strings_hu.pak \
56 webviewchromium_webkit_strings_id.pak \
57 webviewchromium_webkit_strings_it.pak \
58 webviewchromium_webkit_strings_ja.pak \
59 webviewchromium_webkit_strings_kn.pak \
60 webviewchromium_webkit_strings_ko.pak \
61 webviewchromium_webkit_strings_lt.pak \
62 webviewchromium_webkit_strings_lv.pak \
63 webviewchromium_webkit_strings_ml.pak \
64 webviewchromium_webkit_strings_mr.pak \
65 webviewchromium_webkit_strings_ms.pak \
66 webviewchromium_webkit_strings_nb.pak \
67 webviewchromium_webkit_strings_nl.pak \
68 webviewchromium_webkit_strings_pl.pak \
69 webviewchromium_webkit_strings_pt-BR.pak \
70 webviewchromium_webkit_strings_pt-PT.pak \
71 webviewchromium_webkit_strings_ro.pak \
72 webviewchromium_webkit_strings_ru.pak \
73 webviewchromium_webkit_strings_sk.pak \
74 webviewchromium_webkit_strings_sl.pak \
75 webviewchromium_webkit_strings_sr.pak \
76 webviewchromium_webkit_strings_sv.pak \
77 webviewchromium_webkit_strings_sw.pak \
78 webviewchromium_webkit_strings_ta.pak \
79 webviewchromium_webkit_strings_te.pak \
80 webviewchromium_webkit_strings_th.pak \
81 webviewchromium_webkit_strings_tr.pak \
82 webviewchromium_webkit_strings_uk.pak \
83 webviewchromium_webkit_strings_vi.pak \
84 webviewchromium_webkit_strings_zh-CN.pak \
85 webviewchromium_webkit_strings_zh-TW.pak
87 android_webview_final_pak_names := \
88 $(patsubst webviewchromium_pak,webviewchromium.pak, \
89 $(patsubst webviewchromium_webkit_strings_%,%, \
90 $(android_webview_system_pak_targets)))
92 # This list will be used to force the .pak files to be copied into the
93 # intermediates folder before invoking appt from the Android 'glue layer'
94 # makefile.
95 android_webview_intermediates_pak_additional_deps := \
96 $(foreach name,$(android_webview_final_pak_names), \
97 $(call intermediates-dir-for,APPS,webviewchromium-paks)/$(name))
99 # This is the stamp file for the android_webview_resources target.
100 android_webview_resources_stamp := \
101 $(call intermediates-dir-for,GYP,android_webview_resources)/android_webview_resources.stamp