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

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

Issue 2759963002: Enable Java 8 by default
Patch Set: Add example usage Created 3 years, 9 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 import("//build_overrides/build.gni") 8 import("//build_overrides/build.gni")
9 9
10 has_chrome_android_internal = 10 has_chrome_android_internal =
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 enable_incremental_javac = false 156 enable_incremental_javac = false
157 157
158 # Adds intrumentation to each function. Writes a file with the order that 158 # Adds intrumentation to each function. Writes a file with the order that
159 # functions are called at startup. 159 # functions are called at startup.
160 use_order_profiling = false 160 use_order_profiling = false
161 161
162 # Builds secondary abi for APKs, supports build 32-bit arch as secondary 162 # Builds secondary abi for APKs, supports build 32-bit arch as secondary
163 # abi in 64-bit Monochrome and WebView. 163 # abi in 64-bit Monochrome and WebView.
164 build_apk_secondary_abi = true 164 build_apk_secondary_abi = true
165 165
166 # Enables java8 language features (via retrolambda).
167 # work-in-progress (http://crbug.com/642600)
168 use_java8 = false
169
170 # Build incremental targets whenever possible. 166 # Build incremental targets whenever possible.
171 # Ex. with this arg set to true, the chrome_public_apk target result in 167 # Ex. with this arg set to true, the chrome_public_apk target result in
172 # chrome_public_apk_incremental being built. 168 # chrome_public_apk_incremental being built.
173 incremental_apk_by_default = false 169 incremental_apk_by_default = false
174 } 170 }
175 171
176 # We need a second declare_args block to make sure we are using the overridden 172 # We need a second declare_args block to make sure we are using the overridden
177 # value of the arguments set above. 173 # value of the arguments set above.
178 declare_args() { 174 declare_args() {
179 # Speed up dexing using dx --incremental. 175 # Speed up dexing using dx --incremental.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 "//build/toolchain/android:android_${android_secondary_abi_cpu}" 361 "//build/toolchain/android:android_${android_secondary_abi_cpu}"
366 } 362 }
367 } 363 }
368 } 364 }
369 365
370 declare_args() { 366 declare_args() {
371 # Enables used resource whitelist generation. Set for official builds only 367 # Enables used resource whitelist generation. Set for official builds only
372 # as a large amount of build output is generated. 368 # as a large amount of build output is generated.
373 enable_resource_whitelist_generation = is_android && is_official_build 369 enable_resource_whitelist_generation = is_android && is_official_build
374 } 370 }
OLDNEW
« no previous file with comments | « base/android/java/src/org/chromium/base/Promise.java ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698