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 'type': 'none', | 5 'type': 'none', |
6 'dependencies': [ | 6 'dependencies': [ |
7 '<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium', | 7 '<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium', |
8 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_java', | 8 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_java', |
9 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_pak', | 9 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_pak', |
10 ], | 10 ], |
11 'variables': { | 11 'variables': { |
12 'android_sdk_jar': '<(DEPTH)/third_party/android_platform/webview/frameworks
.jar', | 12 'android_sdk_jar': '<(DEPTH)/third_party/android_platform/webview/frameworks
.jar', |
13 'app_manifest_version_code%': '999999', | 13 'app_manifest_version_code%': '999999', |
14 'java_in_dir': 'src/chromium', | 14 'java_in_dir': 'src/chromium', |
15 'java_in_dir_suffix': '/java', | 15 'java_in_dir_suffix': '/java', |
16 'native_lib_target': 'libwebviewchromium', | 16 'native_lib_target': 'libwebviewchromium', |
17 'never_lint': 1, | 17 'never_lint': 1, |
18 'resource_dir': 'src/chromium/res', | 18 'resource_dir': 'src/chromium/res', |
19 'R_package': 'com.android.webview.chromium', | 19 'R_package': 'com.android.webview.chromium', |
20 'R_package_relpath': 'com/android/webview/chromium', | 20 'R_package_relpath': 'com/android/webview/chromium', |
| 21 'shared_resources': 1, |
21 'extensions_to_not_compress': 'pak', | 22 'extensions_to_not_compress': 'pak', |
22 'asset_location': '<(PRODUCT_DIR)/android_webview_assets', | 23 'asset_location': '<(PRODUCT_DIR)/android_webview_assets', |
23 # TODO: crbug.com/405035 Find a better solution for WebView .pak files. | 24 # TODO: crbug.com/405035 Find a better solution for WebView .pak files. |
24 'additional_input_paths': [ | 25 'additional_input_paths': [ |
25 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', | 26 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', |
26 '<(PRODUCT_DIR)/android_webview_assets/en-US.pak', | 27 '<(PRODUCT_DIR)/android_webview_assets/en-US.pak', |
27 ], | 28 ], |
28 'conditions': [ | 29 'conditions': [ |
29 ['icu_use_data_file_flag==1', { | 30 ['icu_use_data_file_flag==1', { |
30 'additional_input_paths': [ | 31 'additional_input_paths': [ |
31 '<(PRODUCT_DIR)/icudtl.dat', | 32 '<(PRODUCT_DIR)/icudtl.dat', |
32 ], | 33 ], |
33 }], | 34 }], |
34 ['v8_use_external_startup_data==1', { | 35 ['v8_use_external_startup_data==1', { |
35 'additional_input_paths': [ | 36 'additional_input_paths': [ |
36 '<(PRODUCT_DIR)/natives_blob.bin', | 37 '<(PRODUCT_DIR)/natives_blob.bin', |
37 '<(PRODUCT_DIR)/snapshot_blob.bin', | 38 '<(PRODUCT_DIR)/snapshot_blob.bin', |
38 ], | 39 ], |
39 }], | 40 }], |
40 ], | 41 ], |
41 }, | 42 }, |
42 'includes': [ '../../build/java_apk.gypi' ], | 43 'includes': [ '../../build/java_apk.gypi' ], |
43 } | 44 } |
OLD | NEW |