| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This package provides the parts of the WebView java code which live in the | 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 | 6 # Chromium tree. This is built into a static library so it can be used by the |
| 7 # glue layer in the Android tree. | 7 # glue layer in the Android tree. |
| 8 | 8 |
| 9 LOCAL_PATH := $(call my-dir) | 9 LOCAL_PATH := $(call my-dir) |
| 10 include $(CLEAR_VARS) | |
| 11 | |
| 12 LOCAL_MODULE := android_webview_java | |
| 13 | |
| 14 LOCAL_MODULE_TAGS := optional | |
| 15 | |
| 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 | |
| 18 # the switch happens. | |
| 19 LOCAL_ADDITIONAL_DEPENDENCIES := \ | |
| 20 $(call intermediates-dir-for,JAVA_LIBRARIES,android_webview_java_with_new_re
sources,,COMMON)/javalib.jar | |
| 21 | |
| 22 | |
| 23 include $(LOCAL_PATH)/java_library_common.mk | |
| 24 # resource glue layer | |
| 25 LOCAL_SRC_FILES += \ | |
| 26 $(call all-java-files-under, ../content/public/android/java/resource_map) \ | |
| 27 $(call all-java-files-under, ../ui/android/java/resource_map) \ | |
| 28 | |
| 29 include $(BUILD_STATIC_JAVA_LIBRARY) | |
| 30 | 10 |
| 31 ######################################################## | 11 ######################################################## |
| 32 # This is intended to replace android_webview_java once the Android side of | 12 # This defines the target for the Chromium Java code and resources. |
| 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. | |
| 35 include $(CLEAR_VARS) | 13 include $(CLEAR_VARS) |
| 36 LOCAL_MODULE := android_webview_java_with_new_resources | 14 LOCAL_MODULE := android_webview_java_with_new_resources |
| 37 | 15 |
| 38 LOCAL_MODULE_TAGS := optional | 16 LOCAL_MODULE_TAGS := optional |
| 39 | 17 |
| 40 include $(LOCAL_PATH)/java_library_common.mk | 18 include $(LOCAL_PATH)/java_library_common.mk |
| 41 | 19 |
| 42 # resources | 20 # resources |
| 43 include $(LOCAL_PATH)/build/resources_config.mk | 21 include $(LOCAL_PATH)/build/resources_config.mk |
| 44 LOCAL_FULL_MANIFEST_FILE := $(android_webview_manifest_file) | 22 LOCAL_FULL_MANIFEST_FILE := $(android_webview_manifest_file) |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 LOCAL_MODULE := webviewchromium_webkit_strings_zh-CN.pak | 348 LOCAL_MODULE := webviewchromium_webkit_strings_zh-CN.pak |
| 371 LOCAL_MODULE_STEM := zh-CN | 349 LOCAL_MODULE_STEM := zh-CN |
| 372 LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_zh-CN.pak | 350 LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_zh-CN.pak |
| 373 include $(LOCAL_PATH)/webview_pak.mk | 351 include $(LOCAL_PATH)/webview_pak.mk |
| 374 | 352 |
| 375 include $(CLEAR_VARS) | 353 include $(CLEAR_VARS) |
| 376 LOCAL_MODULE := webviewchromium_webkit_strings_zh-TW.pak | 354 LOCAL_MODULE := webviewchromium_webkit_strings_zh-TW.pak |
| 377 LOCAL_MODULE_STEM := zh-TW | 355 LOCAL_MODULE_STEM := zh-TW |
| 378 LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_zh-TW.pak | 356 LOCAL_BUILT_MODULE_STEM := content/app/strings/content_strings_zh-TW.pak |
| 379 include $(LOCAL_PATH)/webview_pak.mk | 357 include $(LOCAL_PATH)/webview_pak.mk |
| OLD | NEW |