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.
5 # When making changes remember that this is shared with the internal .apk
10 '<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium',
11 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_java',
12 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_pak',
15 'native_lib_target': 'libwebviewchromium',
17 'R_package': 'com.android.webview.chromium',
18 'R_package_relpath': 'com/android/webview/chromium',
19 'extensions_to_not_compress': 'pak,bin,dat',
20 'asset_location': '<(INTERMEDIATE_DIR)/assets/',
21 # TODO: crbug.com/442348 Update proguard.flags and re-enable.
22 'proguard_enabled': 'false',
23 'proguard_flags_paths': ['<(DEPTH)/android_webview/apk/java/proguard.flags'],
24 # TODO: crbug.com/405035 Find a better solution for WebView .pak files.
25 'additional_input_paths': [
26 '<(asset_location)/webviewchromium.pak',
27 '<(asset_location)/en-US.pak',
28 '<(asset_location)/webview_licenses.notice',
31 ['icu_use_data_file_flag==1', {
32 'additional_input_paths': [
33 '<(asset_location)/icudtl.dat',
36 ['v8_use_external_startup_data==1', {
37 'additional_input_paths': [
38 '<(asset_location)/natives_blob.bin',
39 '<(asset_location)/snapshot_blob.bin',
46 'destination': '<(asset_location)',
48 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak',
49 '<(PRODUCT_DIR)/android_webview_assets/en-US.pak',
52 ['icu_use_data_file_flag==1', {
54 '<(PRODUCT_DIR)/icudtl.dat',
57 ['v8_use_external_startup_data==1', {
59 '<(PRODUCT_DIR)/natives_blob.bin',
60 '<(PRODUCT_DIR)/snapshot_blob.bin',
68 'action_name': 'generate_webview_license_notice',
70 '<!@(python <(DEPTH)/android_webview/tools/webview_licenses.py notice_deps)',
71 '<(DEPTH)/android_webview/tools/licenses_notice.tmpl',
72 '<(DEPTH)/android_webview/tools/webview_licenses.py',
75 '<(asset_location)/webview_licenses.notice',
79 '<(DEPTH)/android_webview/tools/webview_licenses.py',
81 '<(asset_location)/webview_licenses.notice',
83 'message': 'Generating WebView license notice',
86 'includes': [ '../../build/java_apk.gypi' ],