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

Side by Side Diff: build/config/android/config.gni

Issue 2031033002: Adding option for Proguard jar to be switched. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Findbugs suppression Created 4 years, 6 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 # This file contains common system config stuff for the Android build. 5 # This file contains common system config stuff for the Android build.
6 6
7 if (is_android) { 7 if (is_android) {
8 assert(rebase_path("//", root_build_dir) == "../../", 8 assert(rebase_path("//", root_build_dir) == "../../",
9 "Android output directory must be nested 2 levels within src/ (" + 9 "Android output directory must be nested 2 levels within src/ (" +
10 "e.g.: out-gn/Debug). http://crbug.com/412935") 10 "e.g.: out-gn/Debug). http://crbug.com/412935")
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 # Set to true to run findbugs on JAR targets. 82 # Set to true to run findbugs on JAR targets.
83 run_findbugs = false 83 run_findbugs = false
84 84
85 # Set to true to enable verbose findbugs logging. This does nothing if 85 # Set to true to enable verbose findbugs logging. This does nothing if
86 # run_findbugs is false. 86 # run_findbugs is false.
87 findbugs_verbose = false 87 findbugs_verbose = false
88 88
89 # Enables verbose proguard output (summaries and unfiltered output). 89 # Enables verbose proguard output (summaries and unfiltered output).
90 proguard_verbose = false 90 proguard_verbose = false
91 91
92 # Java debug on Android. Having this on enables multidexing, and turning it
93 # off will enable proguard.
94 is_java_debug = is_debug
Peter Wen 2016/06/06 20:28:16 Can you explain why we want is_java_debug? Right
smaier 2016/06/06 21:04:58 The current behaviour would continue as normal for
Peter Wen 2016/06/06 21:45:23 I see. I feel that setting is_debug to false in gn
smaier 2016/06/07 18:20:45 This is a pretty common pattern, for example line
95
92 # Set to true to enable the Errorprone compiler 96 # Set to true to enable the Errorprone compiler
93 use_errorprone_java_compiler = false 97 use_errorprone_java_compiler = false
94 98
95 # Enables EMMA Java code coverage. Instruments classes during build to 99 # Enables EMMA Java code coverage. Instruments classes during build to
96 # produce .ec files during runtime 100 # produce .ec files during runtime
97 emma_coverage = false 101 emma_coverage = false
98 102
99 # EMMA filter string consisting of a list of inclusion/exclusion patterns 103 # EMMA filter string consisting of a list of inclusion/exclusion patterns
100 # separated with whitespace and/or comma. Only has effect if 104 # separated with whitespace and/or comma. Only has effect if
101 # emma_coverage==true 105 # emma_coverage==true
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 } else if (current_cpu == "mips64el") { 267 } else if (current_cpu == "mips64el") {
264 android_app_abi = "mips64" 268 android_app_abi = "mips64"
265 } else { 269 } else {
266 assert(false, "Unknown Android ABI: " + current_cpu) 270 assert(false, "Unknown Android ABI: " + current_cpu)
267 } 271 }
268 272
269 if (android_libcpp_lib_dir == "") { 273 if (android_libcpp_lib_dir == "") {
270 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}" 274 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}"
271 } 275 }
272 } 276 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698