First page-set for media-related metrics measurement.
[chromium-blink-merge.git] / android_webview / Android.mk
blob206f6b624c7aa88da57912d4b510922ce764e38f
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)
10 include $(CLEAR_VARS)
12 LOCAL_MODULE := android_webview_java
14 LOCAL_MODULE_TAGS := optional
16 LOCAL_SRC_FILES := $(call all-java-files-under, java/src)
18 # resource glue layer
19 LOCAL_SRC_FILES += \
20 $(call all-java-files-under, ../content/public/android/java/resource_map) \
21 $(call all-java-files-under, ../ui/android/java/resource_map) \
23 # contentview and its dependencies
24 LOCAL_AIDL_INCLUDES := \
25 $(LOCAL_PATH)/../content/public/android/java/src \
26 $(LOCAL_PATH)/../third_party/eyesfree/src/android/java/src
27 LOCAL_SRC_FILES += \
28 $(call all-java-files-under, ../content/public/android/java/src) \
29 ../content/public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl \
30 ../content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl \
31 $(call all-java-files-under, ../base/android/java/src) \
32 $(call all-java-files-under, ../media/base/android/java/src) \
33 $(call all-java-files-under, ../net/android/java/src) \
34 $(call all-java-files-under, ../ui/android/java/src) \
35 $(call all-java-files-under, ../third_party/eyesfree/src/android/java/src) \
36 $(call all-Iaidl-files-under, ../third_party/eyesfree/src/android/java/src)
38 # browser components
39 LOCAL_SRC_FILES += \
40 $(call all-java-files-under, \
41 ../components/web_contents_delegate_android/android/java/src) \
42 $(call all-java-files-under, \
43 ../components/navigation_interception/android/java/src) \
45 # This directory includes .java files that are generated by the normal gyp build, but are checked in
46 # for the Android build.
47 # TODO(torne, cjhopman): Consider removing this.
48 LOCAL_SRC_FILES += \
49 $(call all-java-files-under, java/generated_src)
51 # Java files generated from .template rules. This list should match list of java dependencies in
52 # android_webview/all_webview.gyp
53 LOCAL_GENERATED_SOURCES := \
54 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/base/ActivityState.java \
55 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/base/MemoryPressureLevelList.java \
56 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/browser/PageTransitionTypes.java \
57 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/browser/SpeechRecognitionError.java \
58 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/content/common/ResultCodes.java \
59 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/net/CertificateMimeType.java \
60 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/net/CertVerifyResultAndroid.java \
61 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/net/NetError.java \
62 $(call intermediates-dir-for,GYP,shared)/templates/org/chromium/net/PrivateKeyType.java \
64 # content dependencies on java components that are provided by the system on
65 # android
66 LOCAL_STATIC_JAVA_LIBRARIES += jsr305 guava
68 include $(BUILD_STATIC_JAVA_LIBRARY)
71 ########################################################
72 # These packages are the resource paks used by webview.
74 include $(CLEAR_VARS)
75 LOCAL_MODULE := webviewchromium_pak
76 LOCAL_MODULE_STEM := webviewchromium
77 LOCAL_BUILT_MODULE_STEM := android_webview_apk/assets/webviewchromium.pak
78 include $(LOCAL_PATH)/webview_pak.mk
80 include $(CLEAR_VARS)
81 LOCAL_MODULE := webviewchromium_webkit_strings_am.pak
82 LOCAL_MODULE_STEM := am
83 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_am.pak
84 include $(LOCAL_PATH)/webview_pak.mk
86 include $(CLEAR_VARS)
87 LOCAL_MODULE := webviewchromium_webkit_strings_ar.pak
88 LOCAL_MODULE_STEM := ar
89 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ar.pak
90 include $(LOCAL_PATH)/webview_pak.mk
92 include $(CLEAR_VARS)
93 LOCAL_MODULE := webviewchromium_webkit_strings_bg.pak
94 LOCAL_MODULE_STEM := bg
95 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_bg.pak
96 include $(LOCAL_PATH)/webview_pak.mk
98 include $(CLEAR_VARS)
99 LOCAL_MODULE := webviewchromium_webkit_strings_bn.pak
100 LOCAL_MODULE_STEM := bn
101 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_bn.pak
102 include $(LOCAL_PATH)/webview_pak.mk
104 include $(CLEAR_VARS)
105 LOCAL_MODULE := webviewchromium_webkit_strings_ca.pak
106 LOCAL_MODULE_STEM := ca
107 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ca.pak
108 include $(LOCAL_PATH)/webview_pak.mk
110 include $(CLEAR_VARS)
111 LOCAL_MODULE := webviewchromium_webkit_strings_cs.pak
112 LOCAL_MODULE_STEM := cs
113 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_cs.pak
114 include $(LOCAL_PATH)/webview_pak.mk
116 include $(CLEAR_VARS)
117 LOCAL_MODULE := webviewchromium_webkit_strings_da.pak
118 LOCAL_MODULE_STEM := da
119 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_da.pak
120 include $(LOCAL_PATH)/webview_pak.mk
122 include $(CLEAR_VARS)
123 LOCAL_MODULE := webviewchromium_webkit_strings_de.pak
124 LOCAL_MODULE_STEM := de
125 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_de.pak
126 include $(LOCAL_PATH)/webview_pak.mk
128 include $(CLEAR_VARS)
129 LOCAL_MODULE := webviewchromium_webkit_strings_el.pak
130 LOCAL_MODULE_STEM := el
131 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_el.pak
132 include $(LOCAL_PATH)/webview_pak.mk
134 include $(CLEAR_VARS)
135 LOCAL_MODULE := webviewchromium_webkit_strings_en-GB.pak
136 LOCAL_MODULE_STEM := en-GB
137 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_en-GB.pak
138 include $(LOCAL_PATH)/webview_pak.mk
140 include $(CLEAR_VARS)
141 LOCAL_MODULE := webviewchromium_webkit_strings_en-US.pak
142 LOCAL_MODULE_STEM := en-US
143 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_en-US.pak
144 include $(LOCAL_PATH)/webview_pak.mk
146 include $(CLEAR_VARS)
147 LOCAL_MODULE := webviewchromium_webkit_strings_es-419.pak
148 LOCAL_MODULE_STEM := es-419
149 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_es-419.pak
150 include $(LOCAL_PATH)/webview_pak.mk
152 include $(CLEAR_VARS)
153 LOCAL_MODULE := webviewchromium_webkit_strings_es.pak
154 LOCAL_MODULE_STEM := es
155 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_es.pak
156 include $(LOCAL_PATH)/webview_pak.mk
158 include $(CLEAR_VARS)
159 LOCAL_MODULE := webviewchromium_webkit_strings_et.pak
160 LOCAL_MODULE_STEM := et
161 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_et.pak
162 include $(LOCAL_PATH)/webview_pak.mk
164 include $(CLEAR_VARS)
165 LOCAL_MODULE := webviewchromium_webkit_strings_fa.pak
166 LOCAL_MODULE_STEM := fa
167 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_fa.pak
168 include $(LOCAL_PATH)/webview_pak.mk
170 include $(CLEAR_VARS)
171 LOCAL_MODULE := webviewchromium_webkit_strings_fil.pak
172 LOCAL_MODULE_STEM := fil
173 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_fil.pak
174 include $(LOCAL_PATH)/webview_pak.mk
176 include $(CLEAR_VARS)
177 LOCAL_MODULE := webviewchromium_webkit_strings_fi.pak
178 LOCAL_MODULE_STEM := fi
179 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_fi.pak
180 include $(LOCAL_PATH)/webview_pak.mk
182 include $(CLEAR_VARS)
183 LOCAL_MODULE := webviewchromium_webkit_strings_fr.pak
184 LOCAL_MODULE_STEM := fr
185 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_fr.pak
186 include $(LOCAL_PATH)/webview_pak.mk
188 include $(CLEAR_VARS)
189 LOCAL_MODULE := webviewchromium_webkit_strings_gu.pak
190 LOCAL_MODULE_STEM := gu
191 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_gu.pak
192 include $(LOCAL_PATH)/webview_pak.mk
194 include $(CLEAR_VARS)
195 LOCAL_MODULE := webviewchromium_webkit_strings_he.pak
196 LOCAL_MODULE_STEM := he
197 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_he.pak
198 include $(LOCAL_PATH)/webview_pak.mk
200 include $(CLEAR_VARS)
201 LOCAL_MODULE := webviewchromium_webkit_strings_hi.pak
202 LOCAL_MODULE_STEM := hi
203 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_hi.pak
204 include $(LOCAL_PATH)/webview_pak.mk
206 include $(CLEAR_VARS)
207 LOCAL_MODULE := webviewchromium_webkit_strings_hr.pak
208 LOCAL_MODULE_STEM := hr
209 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_hr.pak
210 include $(LOCAL_PATH)/webview_pak.mk
212 include $(CLEAR_VARS)
213 LOCAL_MODULE := webviewchromium_webkit_strings_hu.pak
214 LOCAL_MODULE_STEM := hu
215 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_hu.pak
216 include $(LOCAL_PATH)/webview_pak.mk
218 include $(CLEAR_VARS)
219 LOCAL_MODULE := webviewchromium_webkit_strings_id.pak
220 LOCAL_MODULE_STEM := id
221 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_id.pak
222 include $(LOCAL_PATH)/webview_pak.mk
224 include $(CLEAR_VARS)
225 LOCAL_MODULE := webviewchromium_webkit_strings_it.pak
226 LOCAL_MODULE_STEM := it
227 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_it.pak
228 include $(LOCAL_PATH)/webview_pak.mk
230 include $(CLEAR_VARS)
231 LOCAL_MODULE := webviewchromium_webkit_strings_ja.pak
232 LOCAL_MODULE_STEM := ja
233 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ja.pak
234 include $(LOCAL_PATH)/webview_pak.mk
236 include $(CLEAR_VARS)
237 LOCAL_MODULE := webviewchromium_webkit_strings_kn.pak
238 LOCAL_MODULE_STEM := kn
239 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_kn.pak
240 include $(LOCAL_PATH)/webview_pak.mk
242 include $(CLEAR_VARS)
243 LOCAL_MODULE := webviewchromium_webkit_strings_ko.pak
244 LOCAL_MODULE_STEM := ko
245 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ko.pak
246 include $(LOCAL_PATH)/webview_pak.mk
248 include $(CLEAR_VARS)
249 LOCAL_MODULE := webviewchromium_webkit_strings_lt.pak
250 LOCAL_MODULE_STEM := lt
251 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_lt.pak
252 include $(LOCAL_PATH)/webview_pak.mk
254 include $(CLEAR_VARS)
255 LOCAL_MODULE := webviewchromium_webkit_strings_lv.pak
256 LOCAL_MODULE_STEM := lv
257 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_lv.pak
258 include $(LOCAL_PATH)/webview_pak.mk
260 include $(CLEAR_VARS)
261 LOCAL_MODULE := webviewchromium_webkit_strings_ml.pak
262 LOCAL_MODULE_STEM := ml
263 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ml.pak
264 include $(LOCAL_PATH)/webview_pak.mk
266 include $(CLEAR_VARS)
267 LOCAL_MODULE := webviewchromium_webkit_strings_mr.pak
268 LOCAL_MODULE_STEM := mr
269 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_mr.pak
270 include $(LOCAL_PATH)/webview_pak.mk
272 include $(CLEAR_VARS)
273 LOCAL_MODULE := webviewchromium_webkit_strings_ms.pak
274 LOCAL_MODULE_STEM := ms
275 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ms.pak
276 include $(LOCAL_PATH)/webview_pak.mk
278 include $(CLEAR_VARS)
279 LOCAL_MODULE := webviewchromium_webkit_strings_nb.pak
280 LOCAL_MODULE_STEM := nb
281 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_nb.pak
282 include $(LOCAL_PATH)/webview_pak.mk
284 include $(CLEAR_VARS)
285 LOCAL_MODULE := webviewchromium_webkit_strings_nl.pak
286 LOCAL_MODULE_STEM := nl
287 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_nl.pak
288 include $(LOCAL_PATH)/webview_pak.mk
290 include $(CLEAR_VARS)
291 LOCAL_MODULE := webviewchromium_webkit_strings_pl.pak
292 LOCAL_MODULE_STEM := pl
293 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_pl.pak
294 include $(LOCAL_PATH)/webview_pak.mk
296 include $(CLEAR_VARS)
297 LOCAL_MODULE := webviewchromium_webkit_strings_pt-BR.pak
298 LOCAL_MODULE_STEM := pt-BR
299 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_pt-BR.pak
300 include $(LOCAL_PATH)/webview_pak.mk
302 include $(CLEAR_VARS)
303 LOCAL_MODULE := webviewchromium_webkit_strings_pt-PT.pak
304 LOCAL_MODULE_STEM := pt-PT
305 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_pt-PT.pak
306 include $(LOCAL_PATH)/webview_pak.mk
308 include $(CLEAR_VARS)
309 LOCAL_MODULE := webviewchromium_webkit_strings_ro.pak
310 LOCAL_MODULE_STEM := ro
311 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ro.pak
312 include $(LOCAL_PATH)/webview_pak.mk
314 include $(CLEAR_VARS)
315 LOCAL_MODULE := webviewchromium_webkit_strings_ru.pak
316 LOCAL_MODULE_STEM := ru
317 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ru.pak
318 include $(LOCAL_PATH)/webview_pak.mk
320 include $(CLEAR_VARS)
321 LOCAL_MODULE := webviewchromium_webkit_strings_sk.pak
322 LOCAL_MODULE_STEM := sk
323 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sk.pak
324 include $(LOCAL_PATH)/webview_pak.mk
326 include $(CLEAR_VARS)
327 LOCAL_MODULE := webviewchromium_webkit_strings_sl.pak
328 LOCAL_MODULE_STEM := sl
329 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sl.pak
330 include $(LOCAL_PATH)/webview_pak.mk
332 include $(CLEAR_VARS)
333 LOCAL_MODULE := webviewchromium_webkit_strings_sr.pak
334 LOCAL_MODULE_STEM := sr
335 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sr.pak
336 include $(LOCAL_PATH)/webview_pak.mk
338 include $(CLEAR_VARS)
339 LOCAL_MODULE := webviewchromium_webkit_strings_sv.pak
340 LOCAL_MODULE_STEM := sv
341 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sv.pak
342 include $(LOCAL_PATH)/webview_pak.mk
344 include $(CLEAR_VARS)
345 LOCAL_MODULE := webviewchromium_webkit_strings_sw.pak
346 LOCAL_MODULE_STEM := sw
347 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sw.pak
348 include $(LOCAL_PATH)/webview_pak.mk
350 include $(CLEAR_VARS)
351 LOCAL_MODULE := webviewchromium_webkit_strings_ta.pak
352 LOCAL_MODULE_STEM := ta
353 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ta.pak
354 include $(LOCAL_PATH)/webview_pak.mk
356 include $(CLEAR_VARS)
357 LOCAL_MODULE := webviewchromium_webkit_strings_te.pak
358 LOCAL_MODULE_STEM := te
359 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_te.pak
360 include $(LOCAL_PATH)/webview_pak.mk
362 include $(CLEAR_VARS)
363 LOCAL_MODULE := webviewchromium_webkit_strings_th.pak
364 LOCAL_MODULE_STEM := th
365 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_th.pak
366 include $(LOCAL_PATH)/webview_pak.mk
368 include $(CLEAR_VARS)
369 LOCAL_MODULE := webviewchromium_webkit_strings_tr.pak
370 LOCAL_MODULE_STEM := tr
371 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_tr.pak
372 include $(LOCAL_PATH)/webview_pak.mk
374 include $(CLEAR_VARS)
375 LOCAL_MODULE := webviewchromium_webkit_strings_uk.pak
376 LOCAL_MODULE_STEM := uk
377 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_uk.pak
378 include $(LOCAL_PATH)/webview_pak.mk
380 include $(CLEAR_VARS)
381 LOCAL_MODULE := webviewchromium_webkit_strings_vi.pak
382 LOCAL_MODULE_STEM := vi
383 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_vi.pak
384 include $(LOCAL_PATH)/webview_pak.mk
386 include $(CLEAR_VARS)
387 LOCAL_MODULE := webviewchromium_webkit_strings_zh-CN.pak
388 LOCAL_MODULE_STEM := zh-CN
389 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_zh-CN.pak
390 include $(LOCAL_PATH)/webview_pak.mk
392 include $(CLEAR_VARS)
393 LOCAL_MODULE := webviewchromium_webkit_strings_zh-TW.pak
394 LOCAL_MODULE_STEM := zh-TW
395 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_zh-TW.pak
396 include $(LOCAL_PATH)/webview_pak.mk