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
)
12 LOCAL_MODULE
:= android_webview_java
14 LOCAL_MODULE_TAGS
:= optional
16 # Temporary extra dependency: force android_webview_java_with_new_resources to
17 # be built whenever this target is built, so that we get build coverage until
19 LOCAL_ADDITIONAL_DEPENDENCIES
:= \
20 $(call intermediates-dir-for
,JAVA_LIBRARIES
,android_webview_java_with_new_resources
,,COMMON
)/javalib.jar
23 include $(LOCAL_PATH
)/java_library_common.mk
26 $(call all-java-files-under
, ..
/content
/public
/android
/java
/resource_map
) \
27 $(call all-java-files-under
, ..
/ui
/android
/java
/resource_map
) \
29 include $(BUILD_STATIC_JAVA_LIBRARY
)
31 ########################################################
32 # This is intended to replace android_webview_java once the Android side of
33 # the code that uses the WebView is updated. In the transition period the
34 # goal of having this here is to make sure the new build isn't broken.
36 LOCAL_MODULE
:= android_webview_java_with_new_resources
38 LOCAL_MODULE_TAGS
:= optional
40 # Depend on the android_webview_strings target to ensure the grd->string.xml
41 # processing takes place.
42 LOCAL_ADDITIONAL_DEPENDENCIES
:= \
43 $(call intermediates-dir-for
,GYP
,android_webview_resources
)/android_webview_resources.stamp
45 include $(LOCAL_PATH
)/java_library_common.mk
48 include $(LOCAL_PATH
)/build
/resources_config.mk
49 LOCAL_FULL_MANIFEST_FILE
:= $(android_webview_manifest_file
)
50 LOCAL_RESOURCE_DIR
:= $(android_webview_resources_dirs
)
51 LOCAL_AAPT_FLAGS
:= $(android_webview_aapt_flags
)
53 include $(BUILD_STATIC_JAVA_LIBRARY
)
55 ########################################################
56 # These packages are the resource paks used by webview.
59 LOCAL_MODULE
:= webviewchromium_pak
60 LOCAL_MODULE_STEM
:= webviewchromium
61 LOCAL_BUILT_MODULE_STEM
:= android_webview_apk
/assets
/webviewchromium.pak
62 include $(LOCAL_PATH
)/webview_pak.mk
65 LOCAL_MODULE
:= webviewchromium_webkit_strings_am.pak
66 LOCAL_MODULE_STEM
:= am
67 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_am.pak
68 include $(LOCAL_PATH
)/webview_pak.mk
71 LOCAL_MODULE
:= webviewchromium_webkit_strings_ar.pak
72 LOCAL_MODULE_STEM
:= ar
73 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_ar.pak
74 include $(LOCAL_PATH
)/webview_pak.mk
77 LOCAL_MODULE
:= webviewchromium_webkit_strings_bg.pak
78 LOCAL_MODULE_STEM
:= bg
79 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_bg.pak
80 include $(LOCAL_PATH
)/webview_pak.mk
83 LOCAL_MODULE
:= webviewchromium_webkit_strings_bn.pak
84 LOCAL_MODULE_STEM
:= bn
85 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_bn.pak
86 include $(LOCAL_PATH
)/webview_pak.mk
89 LOCAL_MODULE
:= webviewchromium_webkit_strings_ca.pak
90 LOCAL_MODULE_STEM
:= ca
91 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_ca.pak
92 include $(LOCAL_PATH
)/webview_pak.mk
95 LOCAL_MODULE
:= webviewchromium_webkit_strings_cs.pak
96 LOCAL_MODULE_STEM
:= cs
97 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_cs.pak
98 include $(LOCAL_PATH
)/webview_pak.mk
100 include $(CLEAR_VARS
)
101 LOCAL_MODULE
:= webviewchromium_webkit_strings_da.pak
102 LOCAL_MODULE_STEM
:= da
103 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_da.pak
104 include $(LOCAL_PATH
)/webview_pak.mk
106 include $(CLEAR_VARS
)
107 LOCAL_MODULE
:= webviewchromium_webkit_strings_de.pak
108 LOCAL_MODULE_STEM
:= de
109 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_de.pak
110 include $(LOCAL_PATH
)/webview_pak.mk
112 include $(CLEAR_VARS
)
113 LOCAL_MODULE
:= webviewchromium_webkit_strings_el.pak
114 LOCAL_MODULE_STEM
:= el
115 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_el.pak
116 include $(LOCAL_PATH
)/webview_pak.mk
118 include $(CLEAR_VARS
)
119 LOCAL_MODULE
:= webviewchromium_webkit_strings_en-GB.pak
120 LOCAL_MODULE_STEM
:= en-GB
121 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_en-GB.pak
122 include $(LOCAL_PATH
)/webview_pak.mk
124 include $(CLEAR_VARS
)
125 LOCAL_MODULE
:= webviewchromium_webkit_strings_en-US.pak
126 LOCAL_MODULE_STEM
:= en-US
127 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_en-US.pak
128 include $(LOCAL_PATH
)/webview_pak.mk
130 include $(CLEAR_VARS
)
131 LOCAL_MODULE
:= webviewchromium_webkit_strings_es-419.pak
132 LOCAL_MODULE_STEM
:= es-419
133 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_es-419.pak
134 include $(LOCAL_PATH
)/webview_pak.mk
136 include $(CLEAR_VARS
)
137 LOCAL_MODULE
:= webviewchromium_webkit_strings_es.pak
138 LOCAL_MODULE_STEM
:= es
139 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_es.pak
140 include $(LOCAL_PATH
)/webview_pak.mk
142 include $(CLEAR_VARS
)
143 LOCAL_MODULE
:= webviewchromium_webkit_strings_et.pak
144 LOCAL_MODULE_STEM
:= et
145 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_et.pak
146 include $(LOCAL_PATH
)/webview_pak.mk
148 include $(CLEAR_VARS
)
149 LOCAL_MODULE
:= webviewchromium_webkit_strings_fa.pak
150 LOCAL_MODULE_STEM
:= fa
151 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_fa.pak
152 include $(LOCAL_PATH
)/webview_pak.mk
154 include $(CLEAR_VARS
)
155 LOCAL_MODULE
:= webviewchromium_webkit_strings_fil.pak
156 LOCAL_MODULE_STEM
:= fil
157 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_fil.pak
158 include $(LOCAL_PATH
)/webview_pak.mk
160 include $(CLEAR_VARS
)
161 LOCAL_MODULE
:= webviewchromium_webkit_strings_fi.pak
162 LOCAL_MODULE_STEM
:= fi
163 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_fi.pak
164 include $(LOCAL_PATH
)/webview_pak.mk
166 include $(CLEAR_VARS
)
167 LOCAL_MODULE
:= webviewchromium_webkit_strings_fr.pak
168 LOCAL_MODULE_STEM
:= fr
169 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_fr.pak
170 include $(LOCAL_PATH
)/webview_pak.mk
172 include $(CLEAR_VARS
)
173 LOCAL_MODULE
:= webviewchromium_webkit_strings_gu.pak
174 LOCAL_MODULE_STEM
:= gu
175 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_gu.pak
176 include $(LOCAL_PATH
)/webview_pak.mk
178 include $(CLEAR_VARS
)
179 LOCAL_MODULE
:= webviewchromium_webkit_strings_he.pak
180 LOCAL_MODULE_STEM
:= he
181 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_he.pak
182 include $(LOCAL_PATH
)/webview_pak.mk
184 include $(CLEAR_VARS
)
185 LOCAL_MODULE
:= webviewchromium_webkit_strings_hi.pak
186 LOCAL_MODULE_STEM
:= hi
187 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_hi.pak
188 include $(LOCAL_PATH
)/webview_pak.mk
190 include $(CLEAR_VARS
)
191 LOCAL_MODULE
:= webviewchromium_webkit_strings_hr.pak
192 LOCAL_MODULE_STEM
:= hr
193 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_hr.pak
194 include $(LOCAL_PATH
)/webview_pak.mk
196 include $(CLEAR_VARS
)
197 LOCAL_MODULE
:= webviewchromium_webkit_strings_hu.pak
198 LOCAL_MODULE_STEM
:= hu
199 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_hu.pak
200 include $(LOCAL_PATH
)/webview_pak.mk
202 include $(CLEAR_VARS
)
203 LOCAL_MODULE
:= webviewchromium_webkit_strings_id.pak
204 LOCAL_MODULE_STEM
:= id
205 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_id.pak
206 include $(LOCAL_PATH
)/webview_pak.mk
208 include $(CLEAR_VARS
)
209 LOCAL_MODULE
:= webviewchromium_webkit_strings_it.pak
210 LOCAL_MODULE_STEM
:= it
211 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_it.pak
212 include $(LOCAL_PATH
)/webview_pak.mk
214 include $(CLEAR_VARS
)
215 LOCAL_MODULE
:= webviewchromium_webkit_strings_ja.pak
216 LOCAL_MODULE_STEM
:= ja
217 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_ja.pak
218 include $(LOCAL_PATH
)/webview_pak.mk
220 include $(CLEAR_VARS
)
221 LOCAL_MODULE
:= webviewchromium_webkit_strings_kn.pak
222 LOCAL_MODULE_STEM
:= kn
223 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_kn.pak
224 include $(LOCAL_PATH
)/webview_pak.mk
226 include $(CLEAR_VARS
)
227 LOCAL_MODULE
:= webviewchromium_webkit_strings_ko.pak
228 LOCAL_MODULE_STEM
:= ko
229 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_ko.pak
230 include $(LOCAL_PATH
)/webview_pak.mk
232 include $(CLEAR_VARS
)
233 LOCAL_MODULE
:= webviewchromium_webkit_strings_lt.pak
234 LOCAL_MODULE_STEM
:= lt
235 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_lt.pak
236 include $(LOCAL_PATH
)/webview_pak.mk
238 include $(CLEAR_VARS
)
239 LOCAL_MODULE
:= webviewchromium_webkit_strings_lv.pak
240 LOCAL_MODULE_STEM
:= lv
241 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_lv.pak
242 include $(LOCAL_PATH
)/webview_pak.mk
244 include $(CLEAR_VARS
)
245 LOCAL_MODULE
:= webviewchromium_webkit_strings_ml.pak
246 LOCAL_MODULE_STEM
:= ml
247 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_ml.pak
248 include $(LOCAL_PATH
)/webview_pak.mk
250 include $(CLEAR_VARS
)
251 LOCAL_MODULE
:= webviewchromium_webkit_strings_mr.pak
252 LOCAL_MODULE_STEM
:= mr
253 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_mr.pak
254 include $(LOCAL_PATH
)/webview_pak.mk
256 include $(CLEAR_VARS
)
257 LOCAL_MODULE
:= webviewchromium_webkit_strings_ms.pak
258 LOCAL_MODULE_STEM
:= ms
259 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_ms.pak
260 include $(LOCAL_PATH
)/webview_pak.mk
262 include $(CLEAR_VARS
)
263 LOCAL_MODULE
:= webviewchromium_webkit_strings_nb.pak
264 LOCAL_MODULE_STEM
:= nb
265 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_nb.pak
266 include $(LOCAL_PATH
)/webview_pak.mk
268 include $(CLEAR_VARS
)
269 LOCAL_MODULE
:= webviewchromium_webkit_strings_nl.pak
270 LOCAL_MODULE_STEM
:= nl
271 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_nl.pak
272 include $(LOCAL_PATH
)/webview_pak.mk
274 include $(CLEAR_VARS
)
275 LOCAL_MODULE
:= webviewchromium_webkit_strings_pl.pak
276 LOCAL_MODULE_STEM
:= pl
277 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_pl.pak
278 include $(LOCAL_PATH
)/webview_pak.mk
280 include $(CLEAR_VARS
)
281 LOCAL_MODULE
:= webviewchromium_webkit_strings_pt-BR.pak
282 LOCAL_MODULE_STEM
:= pt-BR
283 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_pt-BR.pak
284 include $(LOCAL_PATH
)/webview_pak.mk
286 include $(CLEAR_VARS
)
287 LOCAL_MODULE
:= webviewchromium_webkit_strings_pt-PT.pak
288 LOCAL_MODULE_STEM
:= pt-PT
289 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_pt-PT.pak
290 include $(LOCAL_PATH
)/webview_pak.mk
292 include $(CLEAR_VARS
)
293 LOCAL_MODULE
:= webviewchromium_webkit_strings_ro.pak
294 LOCAL_MODULE_STEM
:= ro
295 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_ro.pak
296 include $(LOCAL_PATH
)/webview_pak.mk
298 include $(CLEAR_VARS
)
299 LOCAL_MODULE
:= webviewchromium_webkit_strings_ru.pak
300 LOCAL_MODULE_STEM
:= ru
301 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_ru.pak
302 include $(LOCAL_PATH
)/webview_pak.mk
304 include $(CLEAR_VARS
)
305 LOCAL_MODULE
:= webviewchromium_webkit_strings_sk.pak
306 LOCAL_MODULE_STEM
:= sk
307 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_sk.pak
308 include $(LOCAL_PATH
)/webview_pak.mk
310 include $(CLEAR_VARS
)
311 LOCAL_MODULE
:= webviewchromium_webkit_strings_sl.pak
312 LOCAL_MODULE_STEM
:= sl
313 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_sl.pak
314 include $(LOCAL_PATH
)/webview_pak.mk
316 include $(CLEAR_VARS
)
317 LOCAL_MODULE
:= webviewchromium_webkit_strings_sr.pak
318 LOCAL_MODULE_STEM
:= sr
319 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_sr.pak
320 include $(LOCAL_PATH
)/webview_pak.mk
322 include $(CLEAR_VARS
)
323 LOCAL_MODULE
:= webviewchromium_webkit_strings_sv.pak
324 LOCAL_MODULE_STEM
:= sv
325 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_sv.pak
326 include $(LOCAL_PATH
)/webview_pak.mk
328 include $(CLEAR_VARS
)
329 LOCAL_MODULE
:= webviewchromium_webkit_strings_sw.pak
330 LOCAL_MODULE_STEM
:= sw
331 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_sw.pak
332 include $(LOCAL_PATH
)/webview_pak.mk
334 include $(CLEAR_VARS
)
335 LOCAL_MODULE
:= webviewchromium_webkit_strings_ta.pak
336 LOCAL_MODULE_STEM
:= ta
337 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_ta.pak
338 include $(LOCAL_PATH
)/webview_pak.mk
340 include $(CLEAR_VARS
)
341 LOCAL_MODULE
:= webviewchromium_webkit_strings_te.pak
342 LOCAL_MODULE_STEM
:= te
343 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_te.pak
344 include $(LOCAL_PATH
)/webview_pak.mk
346 include $(CLEAR_VARS
)
347 LOCAL_MODULE
:= webviewchromium_webkit_strings_th.pak
348 LOCAL_MODULE_STEM
:= th
349 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_th.pak
350 include $(LOCAL_PATH
)/webview_pak.mk
352 include $(CLEAR_VARS
)
353 LOCAL_MODULE
:= webviewchromium_webkit_strings_tr.pak
354 LOCAL_MODULE_STEM
:= tr
355 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_tr.pak
356 include $(LOCAL_PATH
)/webview_pak.mk
358 include $(CLEAR_VARS
)
359 LOCAL_MODULE
:= webviewchromium_webkit_strings_uk.pak
360 LOCAL_MODULE_STEM
:= uk
361 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_uk.pak
362 include $(LOCAL_PATH
)/webview_pak.mk
364 include $(CLEAR_VARS
)
365 LOCAL_MODULE
:= webviewchromium_webkit_strings_vi.pak
366 LOCAL_MODULE_STEM
:= vi
367 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_vi.pak
368 include $(LOCAL_PATH
)/webview_pak.mk
370 include $(CLEAR_VARS
)
371 LOCAL_MODULE
:= webviewchromium_webkit_strings_zh-CN.pak
372 LOCAL_MODULE_STEM
:= zh-CN
373 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_zh-CN.pak
374 include $(LOCAL_PATH
)/webview_pak.mk
376 include $(CLEAR_VARS
)
377 LOCAL_MODULE
:= webviewchromium_webkit_strings_zh-TW.pak
378 LOCAL_MODULE_STEM
:= zh-TW
379 LOCAL_BUILT_MODULE_STEM
:= webkit
/webkit_strings_zh-TW.pak
380 include $(LOCAL_PATH
)/webview_pak.mk