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
9 android_webview_manifest_file
:= $(call my-dir
)/AndroidManifest.xml
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.ui
26 android_webview_aapt_flags
+= --extra-packages org.chromium.content
27 android_webview_aapt_flags
+= -0 pak
29 android_webview_system_pak_targets
:= \
31 webviewchromium_webkit_strings_am.pak \
32 webviewchromium_webkit_strings_ar.pak \
33 webviewchromium_webkit_strings_bg.pak \
34 webviewchromium_webkit_strings_bn.pak \
35 webviewchromium_webkit_strings_ca.pak \
36 webviewchromium_webkit_strings_cs.pak \
37 webviewchromium_webkit_strings_da.pak \
38 webviewchromium_webkit_strings_de.pak \
39 webviewchromium_webkit_strings_el.pak \
40 webviewchromium_webkit_strings_en-GB.pak \
41 webviewchromium_webkit_strings_en-US.pak \
42 webviewchromium_webkit_strings_es-419.pak \
43 webviewchromium_webkit_strings_es.pak \
44 webviewchromium_webkit_strings_et.pak \
45 webviewchromium_webkit_strings_fa.pak \
46 webviewchromium_webkit_strings_fil.pak \
47 webviewchromium_webkit_strings_fi.pak \
48 webviewchromium_webkit_strings_fr.pak \
49 webviewchromium_webkit_strings_gu.pak \
50 webviewchromium_webkit_strings_he.pak \
51 webviewchromium_webkit_strings_hi.pak \
52 webviewchromium_webkit_strings_hr.pak \
53 webviewchromium_webkit_strings_hu.pak \
54 webviewchromium_webkit_strings_id.pak \
55 webviewchromium_webkit_strings_it.pak \
56 webviewchromium_webkit_strings_ja.pak \
57 webviewchromium_webkit_strings_kn.pak \
58 webviewchromium_webkit_strings_ko.pak \
59 webviewchromium_webkit_strings_lt.pak \
60 webviewchromium_webkit_strings_lv.pak \
61 webviewchromium_webkit_strings_ml.pak \
62 webviewchromium_webkit_strings_mr.pak \
63 webviewchromium_webkit_strings_ms.pak \
64 webviewchromium_webkit_strings_nb.pak \
65 webviewchromium_webkit_strings_nl.pak \
66 webviewchromium_webkit_strings_pl.pak \
67 webviewchromium_webkit_strings_pt-BR.pak \
68 webviewchromium_webkit_strings_pt-PT.pak \
69 webviewchromium_webkit_strings_ro.pak \
70 webviewchromium_webkit_strings_ru.pak \
71 webviewchromium_webkit_strings_sk.pak \
72 webviewchromium_webkit_strings_sl.pak \
73 webviewchromium_webkit_strings_sr.pak \
74 webviewchromium_webkit_strings_sv.pak \
75 webviewchromium_webkit_strings_sw.pak \
76 webviewchromium_webkit_strings_ta.pak \
77 webviewchromium_webkit_strings_te.pak \
78 webviewchromium_webkit_strings_th.pak \
79 webviewchromium_webkit_strings_tr.pak \
80 webviewchromium_webkit_strings_uk.pak \
81 webviewchromium_webkit_strings_vi.pak \
82 webviewchromium_webkit_strings_zh-CN.pak \
83 webviewchromium_webkit_strings_zh-TW.pak
85 android_webview_final_pak_names
:= \
86 $(patsubst webviewchromium_pak
,webviewchromium.pak
, \
87 $(patsubst webviewchromium_webkit_strings_
%,%, \
88 $(android_webview_system_pak_targets
)))
90 # This list will be used to force the .pak files to be copied into the
91 # intermediates folder before invoking appt from the Android 'glue layer'
93 android_webview_intermediates_pak_additional_deps
:= \
94 $(foreach name
,$(android_webview_final_pak_names
), \
95 $(call intermediates-dir-for
,APPS
,webviewchromium-paks
)/$(name
))
97 # This is the stamp file for the android_webview_resources target.
98 android_webview_resources_stamp
:= \
99 $(call intermediates-dir-for
,GYP
,android_webview_resources
)/android_webview_resources.stamp