| # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # This package provides the parts of the WebView java code which live in the |
| # Chromium tree. This is built into a static library so it can be used by the |
| # glue layer in the Android tree. |
| |
| LOCAL_PATH := $(call my-dir) |
| include $(CLEAR_VARS) |
| |
| LOCAL_MODULE := android_webview_java |
| |
| LOCAL_MODULE_TAGS := optional |
| |
| # Temporary extra dependency: force android_webview_java_with_new_resources to |
| # be built whenever this target is built, so that we get build coverage until |
| # the switch happens. |
| LOCAL_ADDITIONAL_DEPENDENCIES := \ |
| $(call intermediates-dir-for,JAVA_LIBRARIES,android_webview_java_with_new_resources,,COMMON)/javalib.jar |
| |
| |
| include $(LOCAL_PATH)/java_library_common.mk |
| # resource glue layer |
| LOCAL_SRC_FILES += \ |
| $(call all-java-files-under, ../content/public/android/java/resource_map) \ |
| $(call all-java-files-under, ../ui/android/java/resource_map) \ |
| |
| include $(BUILD_STATIC_JAVA_LIBRARY) |
| |
| ######################################################## |
| # This is intended to replace android_webview_java once the Android side of |
| # the code that uses the WebView is updated. In the transition period the |
| # goal of having this here is to make sure the new build isn't broken. |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := android_webview_java_with_new_resources |
| |
| LOCAL_MODULE_TAGS := optional |
| |
| include $(LOCAL_PATH)/java_library_common.mk |
| |
| # resources |
| include $(LOCAL_PATH)/build/resources_config.mk |
| LOCAL_FULL_MANIFEST_FILE := $(android_webview_manifest_file) |
| LOCAL_RESOURCE_DIR := $(android_webview_resources_dirs) |
| LOCAL_AAPT_FLAGS := $(android_webview_aapt_flags) |
| |
| include $(BUILD_STATIC_JAVA_LIBRARY) |
| |
| # Depend on the android_webview_strings target to ensure the grd->string.xml |
| # processing takes place. |
| $(R_file_stamp): $(android_webview_resources_stamp) |
| |
| ######################################################## |
| # These packages are the resource paks used by webview. |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_pak |
| LOCAL_MODULE_STEM := webviewchromium |
| LOCAL_BUILT_MODULE_STEM := android_webview_apk/assets/webviewchromium.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_am.pak |
| LOCAL_MODULE_STEM := am |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_am.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_ar.pak |
| LOCAL_MODULE_STEM := ar |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_ar.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_bg.pak |
| LOCAL_MODULE_STEM := bg |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_bg.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_bn.pak |
| LOCAL_MODULE_STEM := bn |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_bn.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_ca.pak |
| LOCAL_MODULE_STEM := ca |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_ca.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_cs.pak |
| LOCAL_MODULE_STEM := cs |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_cs.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_da.pak |
| LOCAL_MODULE_STEM := da |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_da.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_de.pak |
| LOCAL_MODULE_STEM := de |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_de.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_el.pak |
| LOCAL_MODULE_STEM := el |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_el.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_en-GB.pak |
| LOCAL_MODULE_STEM := en-GB |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_en-GB.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_en-US.pak |
| LOCAL_MODULE_STEM := en-US |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_en-US.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_es-419.pak |
| LOCAL_MODULE_STEM := es-419 |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_es-419.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_es.pak |
| LOCAL_MODULE_STEM := es |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_es.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_et.pak |
| LOCAL_MODULE_STEM := et |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_et.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_fa.pak |
| LOCAL_MODULE_STEM := fa |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_fa.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_fil.pak |
| LOCAL_MODULE_STEM := fil |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_fil.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_fi.pak |
| LOCAL_MODULE_STEM := fi |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_fi.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_fr.pak |
| LOCAL_MODULE_STEM := fr |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_fr.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_gu.pak |
| LOCAL_MODULE_STEM := gu |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_gu.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_he.pak |
| LOCAL_MODULE_STEM := he |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_he.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_hi.pak |
| LOCAL_MODULE_STEM := hi |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_hi.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_hr.pak |
| LOCAL_MODULE_STEM := hr |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_hr.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_hu.pak |
| LOCAL_MODULE_STEM := hu |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_hu.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_id.pak |
| LOCAL_MODULE_STEM := id |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_id.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_it.pak |
| LOCAL_MODULE_STEM := it |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_it.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_ja.pak |
| LOCAL_MODULE_STEM := ja |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_ja.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_kn.pak |
| LOCAL_MODULE_STEM := kn |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_kn.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_ko.pak |
| LOCAL_MODULE_STEM := ko |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_ko.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_lt.pak |
| LOCAL_MODULE_STEM := lt |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_lt.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_lv.pak |
| LOCAL_MODULE_STEM := lv |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_lv.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_ml.pak |
| LOCAL_MODULE_STEM := ml |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_ml.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_mr.pak |
| LOCAL_MODULE_STEM := mr |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_mr.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_ms.pak |
| LOCAL_MODULE_STEM := ms |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_ms.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_nb.pak |
| LOCAL_MODULE_STEM := nb |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_nb.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_nl.pak |
| LOCAL_MODULE_STEM := nl |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_nl.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_pl.pak |
| LOCAL_MODULE_STEM := pl |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_pl.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_pt-BR.pak |
| LOCAL_MODULE_STEM := pt-BR |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_pt-BR.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_pt-PT.pak |
| LOCAL_MODULE_STEM := pt-PT |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_pt-PT.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_ro.pak |
| LOCAL_MODULE_STEM := ro |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_ro.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_ru.pak |
| LOCAL_MODULE_STEM := ru |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_ru.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_sk.pak |
| LOCAL_MODULE_STEM := sk |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_sk.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_sl.pak |
| LOCAL_MODULE_STEM := sl |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_sl.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_sr.pak |
| LOCAL_MODULE_STEM := sr |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_sr.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_sv.pak |
| LOCAL_MODULE_STEM := sv |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_sv.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_sw.pak |
| LOCAL_MODULE_STEM := sw |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_sw.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_ta.pak |
| LOCAL_MODULE_STEM := ta |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_ta.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_te.pak |
| LOCAL_MODULE_STEM := te |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_te.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_th.pak |
| LOCAL_MODULE_STEM := th |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_th.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_tr.pak |
| LOCAL_MODULE_STEM := tr |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_tr.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_uk.pak |
| LOCAL_MODULE_STEM := uk |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_uk.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_vi.pak |
| LOCAL_MODULE_STEM := vi |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_vi.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_zh-CN.pak |
| LOCAL_MODULE_STEM := zh-CN |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_zh-CN.pak |
| include $(LOCAL_PATH)/webview_pak.mk |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := webviewchromium_webkit_strings_zh-TW.pak |
| LOCAL_MODULE_STEM := zh-TW |
| LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_zh-TW.pak |
| include $(LOCAL_PATH)/webview_pak.mk |