Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: android_webview/apk/system_webview_apk_common.gypi

Issue 1048463003: Use jinja2 to template webview manifest files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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': '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 # TODO: crbug.com/442348 Update proguard.flags and re-enable. 23 # TODO: crbug.com/442348 Update proguard.flags and re-enable.
24 'proguard_enabled': 'false', 24 'proguard_enabled': 'false',
25 'proguard_flags_paths': ['<(DEPTH)/android_webview/apk/java/proguard.flags'] , 25 'proguard_flags_paths': ['<(DEPTH)/android_webview/apk/java/proguard.flags'] ,
26 # TODO: crbug.com/405035 Find a better solution for WebView .pak files. 26 # TODO: crbug.com/405035 Find a better solution for WebView .pak files.
Torne 2015/03/30 14:02:38 This TODO applies to the additional_input_paths se
Tobias Sargeant 2015/03/30 15:54:14 Done.
27 'jinja_inputs': ['<(android_manifest_template_path)'],
28 'jinja_output': '<(INTERMEDIATE_DIR)/AndroidManifest.xml',
29 'jinja_variables': '<(android_manifest_template_vars)',
30 'android_manifest_path': '<(jinja_output)',
27 'additional_input_paths': [ 31 'additional_input_paths': [
28 '<@(webview_locales_output_paks)', 32 '<@(webview_locales_output_paks)',
29 '<(asset_location)/webviewchromium.pak', 33 '<(asset_location)/webviewchromium.pak',
30 '<(asset_location)/webview_licenses.notice', 34 '<(asset_location)/webview_licenses.notice',
31 '<@(snapshot_additional_input_paths)', 35 '<@(snapshot_additional_input_paths)',
32 ], 36 ],
33 'includes': [ 37 'includes': [
34 '../snapshot_copying.gypi', 38 '../snapshot_copying.gypi',
39 '../../build/android/jinja_template.gypi',
35 ], 40 ],
36 'conditions': [ 41 'conditions': [
37 ['icu_use_data_file_flag==1', { 42 ['icu_use_data_file_flag==1', {
38 'additional_input_paths': [ 43 'additional_input_paths': [
39 '<(asset_location)/icudtl.dat', 44 '<(asset_location)/icudtl.dat',
40 ], 45 ],
41 }], 46 }],
42 ], 47 ],
43 }, 48 },
44 'copies': [ 49 'copies': [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 '<(asset_location)/webview_licenses.notice', 81 '<(asset_location)/webview_licenses.notice',
77 ], 82 ],
78 'message': 'Generating WebView license notice', 83 'message': 'Generating WebView license notice',
79 }, 84 },
80 ], 85 ],
81 'includes': [ 86 'includes': [
82 'system_webview_locales_paks.gypi', 87 'system_webview_locales_paks.gypi',
83 '../../build/java_apk.gypi', 88 '../../build/java_apk.gypi',
84 ], 89 ],
85 } 90 }
OLDNEW
« android_webview/android_webview.gyp ('K') | « android_webview/apk/java/AndroidManifest.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698