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

Side by Side Diff: base/BUILD.gn

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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 2354 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 "memory/memory_pressure_listener.h", 2365 "memory/memory_pressure_listener.h",
2366 ] 2366 ]
2367 } 2367 }
2368 2368
2369 # GYP: //base/base.gyp:base_build_config_gen 2369 # GYP: //base/base.gyp:base_build_config_gen
2370 java_cpp_template("base_build_config_gen") { 2370 java_cpp_template("base_build_config_gen") {
2371 sources = [ 2371 sources = [
2372 "android/java/templates/BuildConfig.template", 2372 "android/java/templates/BuildConfig.template",
2373 ] 2373 ]
2374 package_name = "org/chromium/base" 2374 package_name = "org/chromium/base"
2375
2376 defines = []
2377 if (is_java_debug) {
Peter Wen 2016/06/06 21:45:23 Guarding this on is_debug is more intuitive, as if
smaier 2016/06/07 18:20:45 This would only be the case if you explicitly set
2378 defines += [ "DEBUG" ]
2379 }
2375 } 2380 }
2376 2381
2377 # GYP: //base/base.gyp:base_native_libraries_gen 2382 # GYP: //base/base.gyp:base_native_libraries_gen
2378 java_cpp_template("base_native_libraries_gen") { 2383 java_cpp_template("base_native_libraries_gen") {
2379 sources = [ 2384 sources = [
2380 "android/java/templates/NativeLibraries.template", 2385 "android/java/templates/NativeLibraries.template",
2381 ] 2386 ]
2382 package_name = "org/chromium/base/library_loader" 2387 package_name = "org/chromium/base/library_loader"
2383 } 2388 }
2384 2389
2385 # GYP: //base.gyp:base_java_unittest_support 2390 # GYP: //base.gyp:base_java_unittest_support
2386 android_library("base_java_unittest_support") { 2391 android_library("base_java_unittest_support") {
2387 deps = [ 2392 deps = [
2388 ":base_java", 2393 ":base_java",
2389 ] 2394 ]
2390 java_files = 2395 java_files =
2391 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2396 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2392 } 2397 }
2393 } 2398 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698