1 # Copyright (c) 2012 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 package provides the parts of the WebView java code which live in the
6 # Chromium tree. This is built into a static library so it can be used by the
7 # glue layer in the Android tree.
9 LOCAL_PATH
:= $(call my-dir
)
11 ########################################################
12 # This defines the target for the Chromium Java code and resources.
14 LOCAL_MODULE
:= android_webview_java_with_new_resources
16 LOCAL_MODULE_TAGS
:= optional
18 include $(LOCAL_PATH
)/java_library_common.mk
21 include $(LOCAL_PATH
)/build
/resources_config.mk
22 LOCAL_FULL_MANIFEST_FILE
:= $(android_webview_manifest_file
)
23 LOCAL_RESOURCE_DIR
:= $(android_webview_resources_dirs
)
24 LOCAL_AAPT_FLAGS
:= $(android_webview_aapt_flags
)
26 include $(BUILD_STATIC_JAVA_LIBRARY
)
28 # Depend on the android_webview_strings target to ensure the grd->string.xml
29 # processing takes place.
30 $(R_file_stamp
): $(android_webview_resources_stamp
)
32 ########################################################
33 # These packages are the resource paks used by webview.
36 LOCAL_MODULE
:= webviewchromium_pak
37 LOCAL_MODULE_STEM
:= webviewchromium
38 LOCAL_BUILT_MODULE_STEM
:= android_webview_assets
/webviewchromium.pak
39 include $(LOCAL_PATH
)/webview_pak.mk
42 LOCAL_MODULE
:= webviewchromium_webkit_strings_am.pak
43 LOCAL_MODULE_STEM
:= am
44 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_am.pak
45 include $(LOCAL_PATH
)/webview_pak.mk
48 LOCAL_MODULE
:= webviewchromium_webkit_strings_ar.pak
49 LOCAL_MODULE_STEM
:= ar
50 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_ar.pak
51 include $(LOCAL_PATH
)/webview_pak.mk
54 LOCAL_MODULE
:= webviewchromium_webkit_strings_bg.pak
55 LOCAL_MODULE_STEM
:= bg
56 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_bg.pak
57 include $(LOCAL_PATH
)/webview_pak.mk
60 LOCAL_MODULE
:= webviewchromium_webkit_strings_bn.pak
61 LOCAL_MODULE_STEM
:= bn
62 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_bn.pak
63 include $(LOCAL_PATH
)/webview_pak.mk
66 LOCAL_MODULE
:= webviewchromium_webkit_strings_ca.pak
67 LOCAL_MODULE_STEM
:= ca
68 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_ca.pak
69 include $(LOCAL_PATH
)/webview_pak.mk
72 LOCAL_MODULE
:= webviewchromium_webkit_strings_cs.pak
73 LOCAL_MODULE_STEM
:= cs
74 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_cs.pak
75 include $(LOCAL_PATH
)/webview_pak.mk
78 LOCAL_MODULE
:= webviewchromium_webkit_strings_da.pak
79 LOCAL_MODULE_STEM
:= da
80 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_da.pak
81 include $(LOCAL_PATH
)/webview_pak.mk
84 LOCAL_MODULE
:= webviewchromium_webkit_strings_de.pak
85 LOCAL_MODULE_STEM
:= de
86 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_de.pak
87 include $(LOCAL_PATH
)/webview_pak.mk
90 LOCAL_MODULE
:= webviewchromium_webkit_strings_el.pak
91 LOCAL_MODULE_STEM
:= el
92 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_el.pak
93 include $(LOCAL_PATH
)/webview_pak.mk
96 LOCAL_MODULE
:= webviewchromium_webkit_strings_en-GB.pak
97 LOCAL_MODULE_STEM
:= en-GB
98 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_en-GB.pak
99 include $(LOCAL_PATH
)/webview_pak.mk
101 include $(CLEAR_VARS
)
102 LOCAL_MODULE
:= webviewchromium_webkit_strings_en-US.pak
103 LOCAL_MODULE_STEM
:= en-US
104 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_en-US.pak
105 include $(LOCAL_PATH
)/webview_pak.mk
107 include $(CLEAR_VARS
)
108 LOCAL_MODULE
:= webviewchromium_webkit_strings_es-419.pak
109 LOCAL_MODULE_STEM
:= es-419
110 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_es-419.pak
111 include $(LOCAL_PATH
)/webview_pak.mk
113 include $(CLEAR_VARS
)
114 LOCAL_MODULE
:= webviewchromium_webkit_strings_es.pak
115 LOCAL_MODULE_STEM
:= es
116 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_es.pak
117 include $(LOCAL_PATH
)/webview_pak.mk
119 include $(CLEAR_VARS
)
120 LOCAL_MODULE
:= webviewchromium_webkit_strings_et.pak
121 LOCAL_MODULE_STEM
:= et
122 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_et.pak
123 include $(LOCAL_PATH
)/webview_pak.mk
125 include $(CLEAR_VARS
)
126 LOCAL_MODULE
:= webviewchromium_webkit_strings_fa.pak
127 LOCAL_MODULE_STEM
:= fa
128 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_fa.pak
129 include $(LOCAL_PATH
)/webview_pak.mk
131 include $(CLEAR_VARS
)
132 LOCAL_MODULE
:= webviewchromium_webkit_strings_fil.pak
133 LOCAL_MODULE_STEM
:= fil
134 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_fil.pak
135 include $(LOCAL_PATH
)/webview_pak.mk
137 include $(CLEAR_VARS
)
138 LOCAL_MODULE
:= webviewchromium_webkit_strings_fi.pak
139 LOCAL_MODULE_STEM
:= fi
140 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_fi.pak
141 include $(LOCAL_PATH
)/webview_pak.mk
143 include $(CLEAR_VARS
)
144 LOCAL_MODULE
:= webviewchromium_webkit_strings_fr.pak
145 LOCAL_MODULE_STEM
:= fr
146 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_fr.pak
147 include $(LOCAL_PATH
)/webview_pak.mk
149 include $(CLEAR_VARS
)
150 LOCAL_MODULE
:= webviewchromium_webkit_strings_gu.pak
151 LOCAL_MODULE_STEM
:= gu
152 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_gu.pak
153 include $(LOCAL_PATH
)/webview_pak.mk
155 include $(CLEAR_VARS
)
156 LOCAL_MODULE
:= webviewchromium_webkit_strings_he.pak
157 LOCAL_MODULE_STEM
:= he
158 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_he.pak
159 include $(LOCAL_PATH
)/webview_pak.mk
161 include $(CLEAR_VARS
)
162 LOCAL_MODULE
:= webviewchromium_webkit_strings_hi.pak
163 LOCAL_MODULE_STEM
:= hi
164 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_hi.pak
165 include $(LOCAL_PATH
)/webview_pak.mk
167 include $(CLEAR_VARS
)
168 LOCAL_MODULE
:= webviewchromium_webkit_strings_hr.pak
169 LOCAL_MODULE_STEM
:= hr
170 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_hr.pak
171 include $(LOCAL_PATH
)/webview_pak.mk
173 include $(CLEAR_VARS
)
174 LOCAL_MODULE
:= webviewchromium_webkit_strings_hu.pak
175 LOCAL_MODULE_STEM
:= hu
176 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_hu.pak
177 include $(LOCAL_PATH
)/webview_pak.mk
179 include $(CLEAR_VARS
)
180 LOCAL_MODULE
:= webviewchromium_webkit_strings_id.pak
181 LOCAL_MODULE_STEM
:= id
182 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_id.pak
183 include $(LOCAL_PATH
)/webview_pak.mk
185 include $(CLEAR_VARS
)
186 LOCAL_MODULE
:= webviewchromium_webkit_strings_it.pak
187 LOCAL_MODULE_STEM
:= it
188 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_it.pak
189 include $(LOCAL_PATH
)/webview_pak.mk
191 include $(CLEAR_VARS
)
192 LOCAL_MODULE
:= webviewchromium_webkit_strings_ja.pak
193 LOCAL_MODULE_STEM
:= ja
194 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_ja.pak
195 include $(LOCAL_PATH
)/webview_pak.mk
197 include $(CLEAR_VARS
)
198 LOCAL_MODULE
:= webviewchromium_webkit_strings_kn.pak
199 LOCAL_MODULE_STEM
:= kn
200 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_kn.pak
201 include $(LOCAL_PATH
)/webview_pak.mk
203 include $(CLEAR_VARS
)
204 LOCAL_MODULE
:= webviewchromium_webkit_strings_ko.pak
205 LOCAL_MODULE_STEM
:= ko
206 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_ko.pak
207 include $(LOCAL_PATH
)/webview_pak.mk
209 include $(CLEAR_VARS
)
210 LOCAL_MODULE
:= webviewchromium_webkit_strings_lt.pak
211 LOCAL_MODULE_STEM
:= lt
212 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_lt.pak
213 include $(LOCAL_PATH
)/webview_pak.mk
215 include $(CLEAR_VARS
)
216 LOCAL_MODULE
:= webviewchromium_webkit_strings_lv.pak
217 LOCAL_MODULE_STEM
:= lv
218 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_lv.pak
219 include $(LOCAL_PATH
)/webview_pak.mk
221 include $(CLEAR_VARS
)
222 LOCAL_MODULE
:= webviewchromium_webkit_strings_ml.pak
223 LOCAL_MODULE_STEM
:= ml
224 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_ml.pak
225 include $(LOCAL_PATH
)/webview_pak.mk
227 include $(CLEAR_VARS
)
228 LOCAL_MODULE
:= webviewchromium_webkit_strings_mr.pak
229 LOCAL_MODULE_STEM
:= mr
230 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_mr.pak
231 include $(LOCAL_PATH
)/webview_pak.mk
233 include $(CLEAR_VARS
)
234 LOCAL_MODULE
:= webviewchromium_webkit_strings_ms.pak
235 LOCAL_MODULE_STEM
:= ms
236 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_ms.pak
237 include $(LOCAL_PATH
)/webview_pak.mk
239 include $(CLEAR_VARS
)
240 LOCAL_MODULE
:= webviewchromium_webkit_strings_nb.pak
241 LOCAL_MODULE_STEM
:= nb
242 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_nb.pak
243 include $(LOCAL_PATH
)/webview_pak.mk
245 include $(CLEAR_VARS
)
246 LOCAL_MODULE
:= webviewchromium_webkit_strings_nl.pak
247 LOCAL_MODULE_STEM
:= nl
248 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_nl.pak
249 include $(LOCAL_PATH
)/webview_pak.mk
251 include $(CLEAR_VARS
)
252 LOCAL_MODULE
:= webviewchromium_webkit_strings_pl.pak
253 LOCAL_MODULE_STEM
:= pl
254 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_pl.pak
255 include $(LOCAL_PATH
)/webview_pak.mk
257 include $(CLEAR_VARS
)
258 LOCAL_MODULE
:= webviewchromium_webkit_strings_pt-BR.pak
259 LOCAL_MODULE_STEM
:= pt-BR
260 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_pt-BR.pak
261 include $(LOCAL_PATH
)/webview_pak.mk
263 include $(CLEAR_VARS
)
264 LOCAL_MODULE
:= webviewchromium_webkit_strings_pt-PT.pak
265 LOCAL_MODULE_STEM
:= pt-PT
266 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_pt-PT.pak
267 include $(LOCAL_PATH
)/webview_pak.mk
269 include $(CLEAR_VARS
)
270 LOCAL_MODULE
:= webviewchromium_webkit_strings_ro.pak
271 LOCAL_MODULE_STEM
:= ro
272 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_ro.pak
273 include $(LOCAL_PATH
)/webview_pak.mk
275 include $(CLEAR_VARS
)
276 LOCAL_MODULE
:= webviewchromium_webkit_strings_ru.pak
277 LOCAL_MODULE_STEM
:= ru
278 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_ru.pak
279 include $(LOCAL_PATH
)/webview_pak.mk
281 include $(CLEAR_VARS
)
282 LOCAL_MODULE
:= webviewchromium_webkit_strings_sk.pak
283 LOCAL_MODULE_STEM
:= sk
284 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_sk.pak
285 include $(LOCAL_PATH
)/webview_pak.mk
287 include $(CLEAR_VARS
)
288 LOCAL_MODULE
:= webviewchromium_webkit_strings_sl.pak
289 LOCAL_MODULE_STEM
:= sl
290 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_sl.pak
291 include $(LOCAL_PATH
)/webview_pak.mk
293 include $(CLEAR_VARS
)
294 LOCAL_MODULE
:= webviewchromium_webkit_strings_sr.pak
295 LOCAL_MODULE_STEM
:= sr
296 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_sr.pak
297 include $(LOCAL_PATH
)/webview_pak.mk
299 include $(CLEAR_VARS
)
300 LOCAL_MODULE
:= webviewchromium_webkit_strings_sv.pak
301 LOCAL_MODULE_STEM
:= sv
302 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_sv.pak
303 include $(LOCAL_PATH
)/webview_pak.mk
305 include $(CLEAR_VARS
)
306 LOCAL_MODULE
:= webviewchromium_webkit_strings_sw.pak
307 LOCAL_MODULE_STEM
:= sw
308 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_sw.pak
309 include $(LOCAL_PATH
)/webview_pak.mk
311 include $(CLEAR_VARS
)
312 LOCAL_MODULE
:= webviewchromium_webkit_strings_ta.pak
313 LOCAL_MODULE_STEM
:= ta
314 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_ta.pak
315 include $(LOCAL_PATH
)/webview_pak.mk
317 include $(CLEAR_VARS
)
318 LOCAL_MODULE
:= webviewchromium_webkit_strings_te.pak
319 LOCAL_MODULE_STEM
:= te
320 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_te.pak
321 include $(LOCAL_PATH
)/webview_pak.mk
323 include $(CLEAR_VARS
)
324 LOCAL_MODULE
:= webviewchromium_webkit_strings_th.pak
325 LOCAL_MODULE_STEM
:= th
326 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_th.pak
327 include $(LOCAL_PATH
)/webview_pak.mk
329 include $(CLEAR_VARS
)
330 LOCAL_MODULE
:= webviewchromium_webkit_strings_tr.pak
331 LOCAL_MODULE_STEM
:= tr
332 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_tr.pak
333 include $(LOCAL_PATH
)/webview_pak.mk
335 include $(CLEAR_VARS
)
336 LOCAL_MODULE
:= webviewchromium_webkit_strings_uk.pak
337 LOCAL_MODULE_STEM
:= uk
338 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_uk.pak
339 include $(LOCAL_PATH
)/webview_pak.mk
341 include $(CLEAR_VARS
)
342 LOCAL_MODULE
:= webviewchromium_webkit_strings_vi.pak
343 LOCAL_MODULE_STEM
:= vi
344 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_vi.pak
345 include $(LOCAL_PATH
)/webview_pak.mk
347 include $(CLEAR_VARS
)
348 LOCAL_MODULE
:= webviewchromium_webkit_strings_zh-CN.pak
349 LOCAL_MODULE_STEM
:= zh-CN
350 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_zh-CN.pak
351 include $(LOCAL_PATH
)/webview_pak.mk
353 include $(CLEAR_VARS
)
354 LOCAL_MODULE
:= webviewchromium_webkit_strings_zh-TW.pak
355 LOCAL_MODULE_STEM
:= zh-TW
356 LOCAL_BUILT_MODULE_STEM
:= content
/app
/strings
/content_strings_zh-TW.pak
357 include $(LOCAL_PATH
)/webview_pak.mk