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

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

Issue 2543463002: Add retrolambda.py and integrate it to build process. (Closed)
Patch Set: Addressing comments Created 4 years 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 | « build/android/gyp/retrolambda.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 # EMMA filter string consisting of a list of inclusion/exclusion patterns 130 # EMMA filter string consisting of a list of inclusion/exclusion patterns
131 # separated with whitespace and/or comma. Only has effect if 131 # separated with whitespace and/or comma. Only has effect if
132 # emma_coverage==true 132 # emma_coverage==true
133 emma_filter = "" 133 emma_filter = ""
134 134
135 # Disables process isolation when building _incremental targets. 135 # Disables process isolation when building _incremental targets.
136 # Required for Android M+ due to SELinux policies (stronger sandboxing). 136 # Required for Android M+ due to SELinux policies (stronger sandboxing).
137 disable_incremental_isolated_processes = false 137 disable_incremental_isolated_processes = false
138 138
139 # Speed up incremental compiles by compiling only changed files. 139 # Speeds up incremental compiles by compiling only changed files.
140 enable_incremental_javac = false 140 enable_incremental_javac = false
141 141
142 # Adds intrumentation to each function. Writes a file with the order that 142 # Adds intrumentation to each function. Writes a file with the order that
143 # functions are called at startup. 143 # functions are called at startup.
144 use_order_profiling = false 144 use_order_profiling = false
145 145
146 # Builds secondary abi for APKs, supports build 32-bit arch as secondary 146 # Builds secondary abi for APKs, supports build 32-bit arch as secondary
147 # abi in 64-bit Monochrome and WebView. 147 # abi in 64-bit Monochrome and WebView.
148 build_apk_secondary_abi = true 148 build_apk_secondary_abi = true
149
150 # Enables java8 language features (via retrolambda).
151 # work-in-progress (http://crbug.com/642600)
152 use_java8 = false
149 } 153 }
150 154
151 # We need a second declare_args block to make sure we are using the overridden 155 # We need a second declare_args block to make sure we are using the overridden
152 # value of the arguments set above. 156 # value of the arguments set above.
153 declare_args() { 157 declare_args() {
154 # Speed up dexing using dx --incremental. 158 # Speed up dexing using dx --incremental.
155 enable_incremental_dx = is_java_debug 159 enable_incremental_dx = is_java_debug
156 } 160 }
157 161
158 # Neither of these should ever be used for release builds since they are 162 # Neither of these should ever be used for release builds since they are
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 "//build/toolchain/android:android_${android_secondary_abi_cpu}" 344 "//build/toolchain/android:android_${android_secondary_abi_cpu}"
341 } 345 }
342 } 346 }
343 } 347 }
344 348
345 declare_args() { 349 declare_args() {
346 # Enables used resource whitelist generation. Set for official builds only 350 # Enables used resource whitelist generation. Set for official builds only
347 # as a large amount of build output is generated. 351 # as a large amount of build output is generated.
348 enable_resource_whitelist_generation = is_android && is_official_build 352 enable_resource_whitelist_generation = is_android && is_official_build
349 } 353 }
OLDNEW
« no previous file with comments | « build/android/gyp/retrolambda.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698