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