Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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). | |
|
agrieve
2016/11/30 21:54:42
nit: please add "work-in-progress (http://crbug.co
F
2016/12/01 15:09:51
Done.
| |
| 151 use_java8 = false | |
| 149 } | 152 } |
| 150 | 153 |
| 151 # We need a second declare_args block to make sure we are using the overridden | 154 # We need a second declare_args block to make sure we are using the overridden |
| 152 # value of the arguments set above. | 155 # value of the arguments set above. |
| 153 declare_args() { | 156 declare_args() { |
| 154 # Speed up dexing using dx --incremental. | 157 # Speed up dexing using dx --incremental. |
| 155 enable_incremental_dx = is_java_debug | 158 enable_incremental_dx = is_java_debug |
| 156 } | 159 } |
| 157 | 160 |
| 158 # Neither of these should ever be used for release builds since they are | 161 # 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 Loading... | |
| 340 "//build/toolchain/android:android_${android_secondary_abi_cpu}" | 343 "//build/toolchain/android:android_${android_secondary_abi_cpu}" |
| 341 } | 344 } |
| 342 } | 345 } |
| 343 } | 346 } |
| 344 | 347 |
| 345 declare_args() { | 348 declare_args() { |
| 346 # Enables used resource whitelist generation. Set for official builds only | 349 # Enables used resource whitelist generation. Set for official builds only |
| 347 # as a large amount of build output is generated. | 350 # as a large amount of build output is generated. |
| 348 enable_resource_whitelist_generation = is_android && is_official_build | 351 enable_resource_whitelist_generation = is_android && is_official_build |
| 349 } | 352 } |
| OLD | NEW |