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

Side by Side Diff: android_webview/system_webview_apk_tmpl.gni

Issue 2885093002: Enable multidex for debug builds of system_webview_apk_tmpl-based apks. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | 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 import("//build/config/locales.gni") 7 import("//build/config/locales.gni")
8 8
9 template("system_webview_apk_tmpl") { 9 template("system_webview_apk_tmpl") {
10 android_apk(target_name) { 10 android_apk(target_name) {
(...skipping 12 matching lines...) Expand all
23 shared_libraries = [ "//android_webview:libwebviewchromium" ] 23 shared_libraries = [ "//android_webview:libwebviewchromium" ]
24 native_lib_version_rule = "//build/util:chrome_version_json" 24 native_lib_version_rule = "//build/util:chrome_version_json"
25 _native_lib_file = 25 _native_lib_file =
26 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_out_dir) 26 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_out_dir)
27 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" 27 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)"
28 if (build_apk_secondary_abi && android_64bit_target_cpu) { 28 if (build_apk_secondary_abi && android_64bit_target_cpu) {
29 secondary_abi_shared_libraries = [ "//android_webview:libwebviewchromium($ android_secondary_abi_toolchain)" ] 29 secondary_abi_shared_libraries = [ "//android_webview:libwebviewchromium($ android_secondary_abi_toolchain)" ]
30 } 30 }
31 aapt_locale_whitelist = locales 31 aapt_locale_whitelist = locales
32 32
33 if (!is_java_debug) { 33 if (is_java_debug) {
34 enable_multidex = true
35 } else {
34 proguard_enabled = true 36 proguard_enabled = true
35 if (!defined(proguard_configs)) { 37 if (!defined(proguard_configs)) {
36 proguard_configs = [] 38 proguard_configs = []
37 } 39 }
38 proguard_configs += [ 40 proguard_configs += [
39 "//android_webview/apk/java/proguard.flags", 41 "//android_webview/apk/java/proguard.flags",
40 "//base/android/proguard/chromium_apk.flags", 42 "//base/android/proguard/chromium_apk.flags",
41 "//base/android/proguard/chromium_code.flags", 43 "//base/android/proguard/chromium_code.flags",
42 ] 44 ]
43 } 45 }
44 } 46 }
45 } 47 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698