suppress unaddr error at WebResourceService::StartFetch
[chromium-blink-merge.git] / android_webview / Android.mk
blob525fb8422e99a8b3de95f92ac9070b914171a47b
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)/../net/android/java/src \
27 $(LOCAL_PATH)/../third_party/eyesfree/src/android/java/src
28 LOCAL_SRC_FILES += \
29 $(call all-java-files-under, ../content/public/android/java/src) \
30 ../content/public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl \
31 ../content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl \
32 ../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl \
33 ../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl \
34 $(call all-java-files-under, ../base/android/java/src) \
35 $(call all-java-files-under, ../media/base/android/java/src) \
36 $(call all-java-files-under, ../net/android/java/src) \
37 $(call all-java-files-under, ../ui/android/java/src) \
38 $(call all-java-files-under, ../third_party/eyesfree/src/android/java/src) \
39 $(call all-Iaidl-files-under, ../third_party/eyesfree/src/android/java/src)
41 # browser components
42 LOCAL_SRC_FILES += \
43 $(call all-java-files-under, \
44 ../components/web_contents_delegate_android/android/java/src) \
45 $(call all-java-files-under, \
46 ../components/navigation_interception/android/java/src) \
48 # This directory includes .java files that are generated by the normal gyp build, but are checked in
49 # for the Android build.
50 # TODO(torne, cjhopman): Consider removing this.
51 LOCAL_SRC_FILES += \
52 $(call all-java-files-under, java/generated_src)
54 # Java files generated from .template rules. This list should match list of java dependencies in
55 # android_webview/all_webview.gyp
56 # TODO(torne): remove TARGET_2ND_ARCH here once we're no longer 64-bit blacklisted in the Android
57 # build system. http://crbug.com/358141
58 LOCAL_GENERATED_SOURCES := \
59 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/base/ApplicationState.java \
60 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/base/MemoryPressureLevelList.java \
61 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/content/browser/GestureEventType.java \
62 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/content/browser/PageTransitionTypes.java \
63 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/content/browser/SpeechRecognitionError.java \
64 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java \
65 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java \
66 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/content/browser/input/PopupItemType.java \
67 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/content/common/ResultCodes.java \
68 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/content/common/ScreenOrientationValues.java \
69 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/media/ImageFormat.java \
70 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/net/CertificateMimeType.java \
71 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/net/CertVerifyStatusAndroid.java \
72 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/net/NetError.java \
73 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/net/PrivateKeyType.java \
74 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/ui/WindowOpenDisposition.java \
75 $(call intermediates-dir-for,GYP,shared,,,$(TARGET_2ND_ARCH))/templates/org/chromium/ui/gfx/BitmapFormat.java \
77 # content dependencies on java components that are provided by the system on
78 # android
79 LOCAL_STATIC_JAVA_LIBRARIES += jsr305 guava
81 include $(BUILD_STATIC_JAVA_LIBRARY)
84 ########################################################
85 # These packages are the resource paks used by webview.
87 include $(CLEAR_VARS)
88 LOCAL_MODULE := webviewchromium_pak
89 LOCAL_MODULE_STEM := webviewchromium
90 LOCAL_BUILT_MODULE_STEM := android_webview_apk/assets/webviewchromium.pak
91 include $(LOCAL_PATH)/webview_pak.mk
93 include $(CLEAR_VARS)
94 LOCAL_MODULE := webviewchromium_webkit_strings_am.pak
95 LOCAL_MODULE_STEM := am
96 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_am.pak
97 include $(LOCAL_PATH)/webview_pak.mk
99 include $(CLEAR_VARS)
100 LOCAL_MODULE := webviewchromium_webkit_strings_ar.pak
101 LOCAL_MODULE_STEM := ar
102 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ar.pak
103 include $(LOCAL_PATH)/webview_pak.mk
105 include $(CLEAR_VARS)
106 LOCAL_MODULE := webviewchromium_webkit_strings_bg.pak
107 LOCAL_MODULE_STEM := bg
108 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_bg.pak
109 include $(LOCAL_PATH)/webview_pak.mk
111 include $(CLEAR_VARS)
112 LOCAL_MODULE := webviewchromium_webkit_strings_bn.pak
113 LOCAL_MODULE_STEM := bn
114 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_bn.pak
115 include $(LOCAL_PATH)/webview_pak.mk
117 include $(CLEAR_VARS)
118 LOCAL_MODULE := webviewchromium_webkit_strings_ca.pak
119 LOCAL_MODULE_STEM := ca
120 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ca.pak
121 include $(LOCAL_PATH)/webview_pak.mk
123 include $(CLEAR_VARS)
124 LOCAL_MODULE := webviewchromium_webkit_strings_cs.pak
125 LOCAL_MODULE_STEM := cs
126 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_cs.pak
127 include $(LOCAL_PATH)/webview_pak.mk
129 include $(CLEAR_VARS)
130 LOCAL_MODULE := webviewchromium_webkit_strings_da.pak
131 LOCAL_MODULE_STEM := da
132 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_da.pak
133 include $(LOCAL_PATH)/webview_pak.mk
135 include $(CLEAR_VARS)
136 LOCAL_MODULE := webviewchromium_webkit_strings_de.pak
137 LOCAL_MODULE_STEM := de
138 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_de.pak
139 include $(LOCAL_PATH)/webview_pak.mk
141 include $(CLEAR_VARS)
142 LOCAL_MODULE := webviewchromium_webkit_strings_el.pak
143 LOCAL_MODULE_STEM := el
144 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_el.pak
145 include $(LOCAL_PATH)/webview_pak.mk
147 include $(CLEAR_VARS)
148 LOCAL_MODULE := webviewchromium_webkit_strings_en-GB.pak
149 LOCAL_MODULE_STEM := en-GB
150 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_en-GB.pak
151 include $(LOCAL_PATH)/webview_pak.mk
153 include $(CLEAR_VARS)
154 LOCAL_MODULE := webviewchromium_webkit_strings_en-US.pak
155 LOCAL_MODULE_STEM := en-US
156 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_en-US.pak
157 include $(LOCAL_PATH)/webview_pak.mk
159 include $(CLEAR_VARS)
160 LOCAL_MODULE := webviewchromium_webkit_strings_es-419.pak
161 LOCAL_MODULE_STEM := es-419
162 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_es-419.pak
163 include $(LOCAL_PATH)/webview_pak.mk
165 include $(CLEAR_VARS)
166 LOCAL_MODULE := webviewchromium_webkit_strings_es.pak
167 LOCAL_MODULE_STEM := es
168 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_es.pak
169 include $(LOCAL_PATH)/webview_pak.mk
171 include $(CLEAR_VARS)
172 LOCAL_MODULE := webviewchromium_webkit_strings_et.pak
173 LOCAL_MODULE_STEM := et
174 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_et.pak
175 include $(LOCAL_PATH)/webview_pak.mk
177 include $(CLEAR_VARS)
178 LOCAL_MODULE := webviewchromium_webkit_strings_fa.pak
179 LOCAL_MODULE_STEM := fa
180 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_fa.pak
181 include $(LOCAL_PATH)/webview_pak.mk
183 include $(CLEAR_VARS)
184 LOCAL_MODULE := webviewchromium_webkit_strings_fil.pak
185 LOCAL_MODULE_STEM := fil
186 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_fil.pak
187 include $(LOCAL_PATH)/webview_pak.mk
189 include $(CLEAR_VARS)
190 LOCAL_MODULE := webviewchromium_webkit_strings_fi.pak
191 LOCAL_MODULE_STEM := fi
192 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_fi.pak
193 include $(LOCAL_PATH)/webview_pak.mk
195 include $(CLEAR_VARS)
196 LOCAL_MODULE := webviewchromium_webkit_strings_fr.pak
197 LOCAL_MODULE_STEM := fr
198 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_fr.pak
199 include $(LOCAL_PATH)/webview_pak.mk
201 include $(CLEAR_VARS)
202 LOCAL_MODULE := webviewchromium_webkit_strings_gu.pak
203 LOCAL_MODULE_STEM := gu
204 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_gu.pak
205 include $(LOCAL_PATH)/webview_pak.mk
207 include $(CLEAR_VARS)
208 LOCAL_MODULE := webviewchromium_webkit_strings_he.pak
209 LOCAL_MODULE_STEM := he
210 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_he.pak
211 include $(LOCAL_PATH)/webview_pak.mk
213 include $(CLEAR_VARS)
214 LOCAL_MODULE := webviewchromium_webkit_strings_hi.pak
215 LOCAL_MODULE_STEM := hi
216 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_hi.pak
217 include $(LOCAL_PATH)/webview_pak.mk
219 include $(CLEAR_VARS)
220 LOCAL_MODULE := webviewchromium_webkit_strings_hr.pak
221 LOCAL_MODULE_STEM := hr
222 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_hr.pak
223 include $(LOCAL_PATH)/webview_pak.mk
225 include $(CLEAR_VARS)
226 LOCAL_MODULE := webviewchromium_webkit_strings_hu.pak
227 LOCAL_MODULE_STEM := hu
228 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_hu.pak
229 include $(LOCAL_PATH)/webview_pak.mk
231 include $(CLEAR_VARS)
232 LOCAL_MODULE := webviewchromium_webkit_strings_id.pak
233 LOCAL_MODULE_STEM := id
234 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_id.pak
235 include $(LOCAL_PATH)/webview_pak.mk
237 include $(CLEAR_VARS)
238 LOCAL_MODULE := webviewchromium_webkit_strings_it.pak
239 LOCAL_MODULE_STEM := it
240 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_it.pak
241 include $(LOCAL_PATH)/webview_pak.mk
243 include $(CLEAR_VARS)
244 LOCAL_MODULE := webviewchromium_webkit_strings_ja.pak
245 LOCAL_MODULE_STEM := ja
246 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ja.pak
247 include $(LOCAL_PATH)/webview_pak.mk
249 include $(CLEAR_VARS)
250 LOCAL_MODULE := webviewchromium_webkit_strings_kn.pak
251 LOCAL_MODULE_STEM := kn
252 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_kn.pak
253 include $(LOCAL_PATH)/webview_pak.mk
255 include $(CLEAR_VARS)
256 LOCAL_MODULE := webviewchromium_webkit_strings_ko.pak
257 LOCAL_MODULE_STEM := ko
258 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ko.pak
259 include $(LOCAL_PATH)/webview_pak.mk
261 include $(CLEAR_VARS)
262 LOCAL_MODULE := webviewchromium_webkit_strings_lt.pak
263 LOCAL_MODULE_STEM := lt
264 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_lt.pak
265 include $(LOCAL_PATH)/webview_pak.mk
267 include $(CLEAR_VARS)
268 LOCAL_MODULE := webviewchromium_webkit_strings_lv.pak
269 LOCAL_MODULE_STEM := lv
270 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_lv.pak
271 include $(LOCAL_PATH)/webview_pak.mk
273 include $(CLEAR_VARS)
274 LOCAL_MODULE := webviewchromium_webkit_strings_ml.pak
275 LOCAL_MODULE_STEM := ml
276 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ml.pak
277 include $(LOCAL_PATH)/webview_pak.mk
279 include $(CLEAR_VARS)
280 LOCAL_MODULE := webviewchromium_webkit_strings_mr.pak
281 LOCAL_MODULE_STEM := mr
282 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_mr.pak
283 include $(LOCAL_PATH)/webview_pak.mk
285 include $(CLEAR_VARS)
286 LOCAL_MODULE := webviewchromium_webkit_strings_ms.pak
287 LOCAL_MODULE_STEM := ms
288 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ms.pak
289 include $(LOCAL_PATH)/webview_pak.mk
291 include $(CLEAR_VARS)
292 LOCAL_MODULE := webviewchromium_webkit_strings_nb.pak
293 LOCAL_MODULE_STEM := nb
294 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_nb.pak
295 include $(LOCAL_PATH)/webview_pak.mk
297 include $(CLEAR_VARS)
298 LOCAL_MODULE := webviewchromium_webkit_strings_nl.pak
299 LOCAL_MODULE_STEM := nl
300 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_nl.pak
301 include $(LOCAL_PATH)/webview_pak.mk
303 include $(CLEAR_VARS)
304 LOCAL_MODULE := webviewchromium_webkit_strings_pl.pak
305 LOCAL_MODULE_STEM := pl
306 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_pl.pak
307 include $(LOCAL_PATH)/webview_pak.mk
309 include $(CLEAR_VARS)
310 LOCAL_MODULE := webviewchromium_webkit_strings_pt-BR.pak
311 LOCAL_MODULE_STEM := pt-BR
312 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_pt-BR.pak
313 include $(LOCAL_PATH)/webview_pak.mk
315 include $(CLEAR_VARS)
316 LOCAL_MODULE := webviewchromium_webkit_strings_pt-PT.pak
317 LOCAL_MODULE_STEM := pt-PT
318 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_pt-PT.pak
319 include $(LOCAL_PATH)/webview_pak.mk
321 include $(CLEAR_VARS)
322 LOCAL_MODULE := webviewchromium_webkit_strings_ro.pak
323 LOCAL_MODULE_STEM := ro
324 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ro.pak
325 include $(LOCAL_PATH)/webview_pak.mk
327 include $(CLEAR_VARS)
328 LOCAL_MODULE := webviewchromium_webkit_strings_ru.pak
329 LOCAL_MODULE_STEM := ru
330 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ru.pak
331 include $(LOCAL_PATH)/webview_pak.mk
333 include $(CLEAR_VARS)
334 LOCAL_MODULE := webviewchromium_webkit_strings_sk.pak
335 LOCAL_MODULE_STEM := sk
336 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sk.pak
337 include $(LOCAL_PATH)/webview_pak.mk
339 include $(CLEAR_VARS)
340 LOCAL_MODULE := webviewchromium_webkit_strings_sl.pak
341 LOCAL_MODULE_STEM := sl
342 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sl.pak
343 include $(LOCAL_PATH)/webview_pak.mk
345 include $(CLEAR_VARS)
346 LOCAL_MODULE := webviewchromium_webkit_strings_sr.pak
347 LOCAL_MODULE_STEM := sr
348 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sr.pak
349 include $(LOCAL_PATH)/webview_pak.mk
351 include $(CLEAR_VARS)
352 LOCAL_MODULE := webviewchromium_webkit_strings_sv.pak
353 LOCAL_MODULE_STEM := sv
354 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sv.pak
355 include $(LOCAL_PATH)/webview_pak.mk
357 include $(CLEAR_VARS)
358 LOCAL_MODULE := webviewchromium_webkit_strings_sw.pak
359 LOCAL_MODULE_STEM := sw
360 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_sw.pak
361 include $(LOCAL_PATH)/webview_pak.mk
363 include $(CLEAR_VARS)
364 LOCAL_MODULE := webviewchromium_webkit_strings_ta.pak
365 LOCAL_MODULE_STEM := ta
366 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_ta.pak
367 include $(LOCAL_PATH)/webview_pak.mk
369 include $(CLEAR_VARS)
370 LOCAL_MODULE := webviewchromium_webkit_strings_te.pak
371 LOCAL_MODULE_STEM := te
372 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_te.pak
373 include $(LOCAL_PATH)/webview_pak.mk
375 include $(CLEAR_VARS)
376 LOCAL_MODULE := webviewchromium_webkit_strings_th.pak
377 LOCAL_MODULE_STEM := th
378 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_th.pak
379 include $(LOCAL_PATH)/webview_pak.mk
381 include $(CLEAR_VARS)
382 LOCAL_MODULE := webviewchromium_webkit_strings_tr.pak
383 LOCAL_MODULE_STEM := tr
384 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_tr.pak
385 include $(LOCAL_PATH)/webview_pak.mk
387 include $(CLEAR_VARS)
388 LOCAL_MODULE := webviewchromium_webkit_strings_uk.pak
389 LOCAL_MODULE_STEM := uk
390 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_uk.pak
391 include $(LOCAL_PATH)/webview_pak.mk
393 include $(CLEAR_VARS)
394 LOCAL_MODULE := webviewchromium_webkit_strings_vi.pak
395 LOCAL_MODULE_STEM := vi
396 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_vi.pak
397 include $(LOCAL_PATH)/webview_pak.mk
399 include $(CLEAR_VARS)
400 LOCAL_MODULE := webviewchromium_webkit_strings_zh-CN.pak
401 LOCAL_MODULE_STEM := zh-CN
402 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_zh-CN.pak
403 include $(LOCAL_PATH)/webview_pak.mk
405 include $(CLEAR_VARS)
406 LOCAL_MODULE := webviewchromium_webkit_strings_zh-TW.pak
407 LOCAL_MODULE_STEM := zh-TW
408 LOCAL_BUILT_MODULE_STEM := webkit/webkit_strings_zh-TW.pak
409 include $(LOCAL_PATH)/webview_pak.mk