| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 # Disables process isolation when building _incremental targets. | 126 # Disables process isolation when building _incremental targets. |
| 127 # Required for Android M+ due to SELinux policies (stronger sandboxing). | 127 # Required for Android M+ due to SELinux policies (stronger sandboxing). |
| 128 disable_incremental_isolated_processes = false | 128 disable_incremental_isolated_processes = false |
| 129 | 129 |
| 130 # Speed up incremental compiles by compiling only changed files. | 130 # Speed up incremental compiles by compiling only changed files. |
| 131 enable_incremental_javac = false | 131 enable_incremental_javac = false |
| 132 | 132 |
| 133 # Adds intrumentation to each function. Writes a file with the order that | 133 # Adds intrumentation to each function. Writes a file with the order that |
| 134 # functions are called at startup. | 134 # functions are called at startup. |
| 135 use_order_profiling = false | 135 use_order_profiling = false |
| 136 |
| 137 # Builds secondary abi for APKs, supports build 32-bit arch as secondary |
| 138 # abi in 64-bit Monochrome and WebView. |
| 139 build_apk_secondary_abi = true |
| 136 } | 140 } |
| 137 | 141 |
| 138 # We need a second declare_args block to make sure we are using the overridden | 142 # We need a second declare_args block to make sure we are using the overridden |
| 139 # value of the arguments set above. | 143 # value of the arguments set above. |
| 140 declare_args() { | 144 declare_args() { |
| 141 # Speed up dexing using dx --incremental. | 145 # Speed up dexing using dx --incremental. |
| 142 enable_incremental_dx = is_java_debug | 146 enable_incremental_dx = is_java_debug |
| 143 } | 147 } |
| 144 | 148 |
| 145 # Neither of these should ever be used for release builds since they are | 149 # Neither of these should ever be used for release builds since they are |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 "//build/toolchain/android:${android_secondary_abi_cpu}" | 328 "//build/toolchain/android:${android_secondary_abi_cpu}" |
| 325 } | 329 } |
| 326 } | 330 } |
| 327 } | 331 } |
| 328 | 332 |
| 329 declare_args() { | 333 declare_args() { |
| 330 # Enables used resource whitelist generation. Set for official builds only | 334 # Enables used resource whitelist generation. Set for official builds only |
| 331 # as a large amount of build output is generated. | 335 # as a large amount of build output is generated. |
| 332 enable_resource_whitelist_generation = is_android && is_official_build | 336 enable_resource_whitelist_generation = is_android && is_official_build |
| 333 } | 337 } |
| OLD | NEW |