| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 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 # When making changes remember that this is shared with the internal .apk | |
| 6 # build rules. | |
| 7 { | |
| 8 'type': 'none', | |
| 9 'dependencies': [ | |
| 10 '<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium', | |
| 11 ], | |
| 12 'variables': { | |
| 13 'native_lib_target': 'libwebviewchromium', | |
| 14 'native_lib_version_name': '<(version_full)', | |
| 15 'shared_resources': 1, | |
| 16 'extensions_to_not_compress': '.lpak,.pak,.bin,.dat', | |
| 17 'asset_location': '<(INTERMEDIATE_DIR)/assets/', | |
| 18 'snapshot_copy_files': '<(snapshot_copy_files)', | |
| 19 'jinja_inputs': ['<(android_manifest_template_path)'], | |
| 20 'jinja_output': '<(INTERMEDIATE_DIR)/AndroidManifest.xml', | |
| 21 'jinja_variables': [ '<@(android_manifest_template_vars)' ], | |
| 22 'android_manifest_template_vars': [ ], | |
| 23 'android_manifest_template_path': '<(DEPTH)/android_webview/apk/java/Android
Manifest.xml', | |
| 24 'android_manifest_path': '<(jinja_output)', | |
| 25 'proguard_enabled': 'true', | |
| 26 'proguard_flags_paths': ['<(DEPTH)/android_webview/apk/java/proguard.flags']
, | |
| 27 # TODO: crbug.com/405035 Find a better solution for WebView .pak files. | |
| 28 'additional_input_paths': [ | |
| 29 '<(asset_location)/webviewchromium.pak', | |
| 30 '<(asset_location)/webview_licenses.notice', | |
| 31 '<@(snapshot_additional_input_paths)', | |
| 32 ], | |
| 33 'includes': [ | |
| 34 '../../build/util/version.gypi', | |
| 35 '../snapshot_copying.gypi', | |
| 36 ], | |
| 37 'conditions': [ | |
| 38 ['icu_use_data_file_flag==1', { | |
| 39 'additional_input_paths': [ | |
| 40 '<(asset_location)/icudtl.dat', | |
| 41 ], | |
| 42 }], | |
| 43 ], | |
| 44 }, | |
| 45 'copies': [ | |
| 46 { | |
| 47 'destination': '<(asset_location)', | |
| 48 'files': [ | |
| 49 '<(webview_licenses_path)', | |
| 50 '<(webview_chromium_pak_path)', | |
| 51 '<@(snapshot_copy_files)', | |
| 52 ], | |
| 53 'conditions': [ | |
| 54 ['icu_use_data_file_flag==1', { | |
| 55 'files': [ | |
| 56 '<(PRODUCT_DIR)/icudtl.dat', | |
| 57 ], | |
| 58 }], | |
| 59 ], | |
| 60 }, | |
| 61 ], | |
| 62 'includes': [ | |
| 63 'system_webview_paks.gypi', | |
| 64 '../../build/java_apk.gypi', | |
| 65 '../../build/android/jinja_template.gypi', | |
| 66 ], | |
| 67 } | |
| OLD | NEW |