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',
13 'native_lib_target': 'libwebviewchromium',
14 'native_lib_version_name': '<(version_full)',
16 'shared_resources': 1,
17 'extensions_to_not_compress': '.lpak,.pak,.bin,.dat',
18 'asset_location': '<(INTERMEDIATE_DIR)/assets/',
19 'snapshot_copy_files': '<(snapshot_copy_files)',
20 'jinja_inputs': ['<(android_manifest_template_path)'],
21 'jinja_output': '<(INTERMEDIATE_DIR)/AndroidManifest.xml',
22 'jinja_variables': [ '<@(android_manifest_template_vars)' ],
23 'android_manifest_template_vars': [ ],
24 'android_manifest_template_path': '<(DEPTH)/android_webview/apk/java/AndroidManifest.xml',
25 'android_manifest_path': '<(jinja_output)',
26 'proguard_enabled': 'true',
27 'proguard_flags_paths': ['<(DEPTH)/android_webview/apk/java/proguard.flags'],
28 # TODO: crbug.com/405035 Find a better solution for WebView .pak files.
29 'additional_input_paths': [
30 '<(asset_location)/webviewchromium.pak',
31 '<(asset_location)/webview_licenses.notice',
32 '<@(snapshot_additional_input_paths)',
35 '../../build/util/version.gypi',
36 '../snapshot_copying.gypi',
39 ['icu_use_data_file_flag==1', {
40 'additional_input_paths': [
41 '<(asset_location)/icudtl.dat',
48 'destination': '<(asset_location)',
50 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak',
51 '<@(snapshot_copy_files)',
54 ['icu_use_data_file_flag==1', {
56 '<(PRODUCT_DIR)/icudtl.dat',
64 'action_name': 'generate_webview_license_notice',
66 '<!@(python <(DEPTH)/android_webview/tools/webview_licenses.py notice_deps)',
67 '<(DEPTH)/android_webview/tools/licenses_notice.tmpl',
68 '<(DEPTH)/android_webview/tools/webview_licenses.py',
71 '<(asset_location)/webview_licenses.notice',
75 '<(DEPTH)/android_webview/tools/webview_licenses.py',
77 '<(asset_location)/webview_licenses.notice',
79 'message': 'Generating WebView license notice',
83 '../../build/java_apk.gypi',
84 '../../build/android/jinja_template.gypi',