| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 # When making changes remember that this is shared with the internal .apk | 5 # When making changes remember that this is shared with the internal .apk |
| 6 # build rules. | 6 # build rules. |
| 7 { | 7 { |
| 8 'type': 'none', | 8 'type': 'none', |
| 9 'dependencies': [ | 9 'dependencies': [ |
| 10 '<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium', | 10 '<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium', |
| 11 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_java', | 11 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_java', |
| 12 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_pak', | 12 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_pak', |
| 13 ], | 13 ], |
| 14 'variables': { | 14 'variables': { |
| 15 'native_lib_target': 'libwebviewchromium', | 15 'native_lib_target': 'libwebviewchromium', |
| 16 'never_lint': 1, | 16 'never_lint': 1, |
| 17 'R_package': 'com.android.webview.chromium', | 17 'R_package': 'com.android.webview.chromium', |
| 18 'R_package_relpath': 'com/android/webview/chromium', | 18 'R_package_relpath': 'com/android/webview/chromium', |
| 19 'shared_resources': 1, | 19 'shared_resources': 1, |
| 20 'extensions_to_not_compress': 'pak,bin,dat', | 20 'extensions_to_not_compress': '.lpak,.pak,.bin,.dat', |
| 21 'asset_location': '<(INTERMEDIATE_DIR)/assets/', | 21 'asset_location': '<(INTERMEDIATE_DIR)/assets/', |
| 22 'snapshot_copy_files': '<(snapshot_copy_files)', | 22 'snapshot_copy_files': '<(snapshot_copy_files)', |
| 23 'jinja_inputs': ['<(android_manifest_template_path)'], | 23 'jinja_inputs': ['<(android_manifest_template_path)'], |
| 24 'jinja_output': '<(INTERMEDIATE_DIR)/AndroidManifest.xml', | 24 'jinja_output': '<(INTERMEDIATE_DIR)/AndroidManifest.xml', |
| 25 'jinja_variables': [ '<@(android_manifest_template_vars)' ], | 25 'jinja_variables': [ '<@(android_manifest_template_vars)' ], |
| 26 'android_manifest_template_vars': [ ], | 26 'android_manifest_template_vars': [ ], |
| 27 'android_manifest_template_path': '<(DEPTH)/android_webview/apk/java/Android
Manifest.xml', | 27 'android_manifest_template_path': '<(DEPTH)/android_webview/apk/java/Android
Manifest.xml', |
| 28 'android_manifest_path': '<(jinja_output)', | 28 'android_manifest_path': '<(jinja_output)', |
| 29 # TODO: crbug.com/442348 Update proguard.flags and re-enable. | 29 # TODO: crbug.com/442348 Update proguard.flags and re-enable. |
| 30 'proguard_enabled': 'false', | 30 'proguard_enabled': 'false', |
| 31 'proguard_flags_paths': ['<(DEPTH)/android_webview/apk/java/proguard.flags']
, | 31 'proguard_flags_paths': ['<(DEPTH)/android_webview/apk/java/proguard.flags']
, |
| 32 # TODO: crbug.com/405035 Find a better solution for WebView .pak files. | 32 # TODO: crbug.com/405035 Find a better solution for WebView .pak files. |
| 33 'additional_input_paths': [ | 33 'additional_input_paths': [ |
| 34 '<@(webview_locales_output_paks)', | |
| 35 '<(asset_location)/webviewchromium.pak', | 34 '<(asset_location)/webviewchromium.pak', |
| 36 '<(asset_location)/webview_licenses.notice', | 35 '<(asset_location)/webview_licenses.notice', |
| 37 '<@(snapshot_additional_input_paths)', | 36 '<@(snapshot_additional_input_paths)', |
| 38 ], | 37 ], |
| 39 'includes': [ | 38 'includes': [ |
| 40 '../snapshot_copying.gypi', | 39 '../snapshot_copying.gypi', |
| 41 ], | 40 ], |
| 42 'conditions': [ | 41 'conditions': [ |
| 43 ['icu_use_data_file_flag==1', { | 42 ['icu_use_data_file_flag==1', { |
| 44 'additional_input_paths': [ | 43 'additional_input_paths': [ |
| 45 '<(asset_location)/icudtl.dat', | 44 '<(asset_location)/icudtl.dat', |
| 46 ], | 45 ], |
| 47 }], | 46 }], |
| 48 ], | 47 ], |
| 49 }, | 48 }, |
| 50 'copies': [ | 49 'copies': [ |
| 51 { | 50 { |
| 52 'destination': '<(asset_location)', | 51 'destination': '<(asset_location)', |
| 53 'files': [ | 52 'files': [ |
| 54 '<@(webview_locales_input_paks)', | |
| 55 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', | 53 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', |
| 56 '<@(snapshot_copy_files)', | 54 '<@(snapshot_copy_files)', |
| 57 ], | 55 ], |
| 58 'conditions': [ | 56 'conditions': [ |
| 59 ['icu_use_data_file_flag==1', { | 57 ['icu_use_data_file_flag==1', { |
| 60 'files': [ | 58 'files': [ |
| 61 '<(PRODUCT_DIR)/icudtl.dat', | 59 '<(PRODUCT_DIR)/icudtl.dat', |
| 62 ], | 60 ], |
| 63 }], | 61 }], |
| 64 ], | 62 ], |
| (...skipping 18 matching lines...) Expand all Loading... |
| 83 ], | 81 ], |
| 84 'message': 'Generating WebView license notice', | 82 'message': 'Generating WebView license notice', |
| 85 }, | 83 }, |
| 86 ], | 84 ], |
| 87 'includes': [ | 85 'includes': [ |
| 88 'system_webview_locales_paks.gypi', | 86 'system_webview_locales_paks.gypi', |
| 89 '../../build/java_apk.gypi', | 87 '../../build/java_apk.gypi', |
| 90 '../../build/android/jinja_template.gypi', | 88 '../../build/android/jinja_template.gypi', |
| 91 ], | 89 ], |
| 92 } | 90 } |
| OLD | NEW |