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

Side by Side Diff: android_webview/system_webview_apk_tmpl.gni

Issue 2331573003: build full 64bit WebView (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « android_webview/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 7
8 template("system_webview_apk_tmpl") { 8 template("system_webview_apk_tmpl") {
9 android_apk(target_name) { 9 android_apk(target_name) {
10 forward_variables_from(invoker, "*") 10 forward_variables_from(invoker, "*")
11 11
12 deps += [ 12 deps += [
13 "//android_webview:assets", 13 "//android_webview:assets",
14 "//base:base_java", 14 "//base:base_java",
15 ] 15 ]
16 16
17 if (!defined(alternative_android_sdk_jar)) { 17 if (!defined(alternative_android_sdk_jar)) {
18 alternative_android_sdk_jar = webview_framework_jar 18 alternative_android_sdk_jar = webview_framework_jar
19 } 19 }
20 20
21 shared_resources = true 21 shared_resources = true
22 shared_libraries = [ "//android_webview:libwebviewchromium" ] 22 shared_libraries = [ "//android_webview:libwebviewchromium" ]
23 native_lib_version_rule = "//build/util:chrome_version_json" 23 native_lib_version_rule = "//build/util:chrome_version_json"
24 _native_lib_file = 24 _native_lib_file =
25 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_out_dir) 25 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_out_dir)
26 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" 26 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)"
27 extensions_to_not_compress = ".lpak,.pak,.bin,.dat" 27 extensions_to_not_compress = ".lpak,.pak,.bin,.dat"
28 28
29 if ((!defined(merge_64bit_webview) || !merge_64bit_webview) &&
Torne 2016/09/12 12:43:42 Am I interepreting this correctly that setting mer
michaelbai 2016/09/12 19:41:13 It seemed merge_64bit_webview is not a good name,
30 android_64bit_target_cpu) {
31 secondary_abi_shared_libraries =
32 [ "//android_webview:webviewchromium_secondary_abi_lib" ]
33 }
34
29 if (!is_java_debug) { 35 if (!is_java_debug) {
30 proguard_enabled = true 36 proguard_enabled = true
31 if (!defined(proguard_configs)) { 37 if (!defined(proguard_configs)) {
32 proguard_configs = [] 38 proguard_configs = []
33 } 39 }
34 proguard_configs += [ 40 proguard_configs += [
35 "//android_webview/apk/java/proguard.flags", 41 "//android_webview/apk/java/proguard.flags",
36 "//base/android/base_proguard_config.flags", 42 "//base/android/base_proguard_config.flags",
37 "//base/android/release_proguard_config.flags", 43 "//base/android/release_proguard_config.flags",
38 ] 44 ]
39 } 45 }
40 } 46 }
41 } 47 }
OLDNEW
« no previous file with comments | « android_webview/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698