| 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 import("//build_overrides/build.gni") | 8 import("//build_overrides/build.gni") |
| 9 | 9 |
| 10 has_chrome_android_internal = | 10 has_chrome_android_internal = |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 # functions are called at startup. | 139 # functions are called at startup. |
| 140 use_order_profiling = false | 140 use_order_profiling = false |
| 141 | 141 |
| 142 # Builds secondary abi for APKs, supports build 32-bit arch as secondary | 142 # Builds secondary abi for APKs, supports build 32-bit arch as secondary |
| 143 # abi in 64-bit Monochrome and WebView. | 143 # abi in 64-bit Monochrome and WebView. |
| 144 build_apk_secondary_abi = true | 144 build_apk_secondary_abi = true |
| 145 | 145 |
| 146 # Enables java8 language features (via retrolambda). | 146 # Enables java8 language features (via retrolambda). |
| 147 # work-in-progress (http://crbug.com/642600) | 147 # work-in-progress (http://crbug.com/642600) |
| 148 use_java8 = false | 148 use_java8 = false |
| 149 |
| 150 # Build incremental targets whenever possible. |
| 151 # Ex. with this arg set to true, the chrome_public_apk target result in |
| 152 # chrome_public_apk_incremental being built. |
| 153 incremental_apk_by_default = false |
| 149 } | 154 } |
| 150 | 155 |
| 151 # We need a second declare_args block to make sure we are using the overridden | 156 # We need a second declare_args block to make sure we are using the overridden |
| 152 # value of the arguments set above. | 157 # value of the arguments set above. |
| 153 declare_args() { | 158 declare_args() { |
| 154 # Speed up dexing using dx --incremental. | 159 # Speed up dexing using dx --incremental. |
| 155 enable_incremental_dx = is_java_debug | 160 enable_incremental_dx = is_java_debug |
| 156 } | 161 } |
| 157 | 162 |
| 158 # Neither of these should ever be used for release builds since they are | 163 # 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}" | 345 "//build/toolchain/android:android_${android_secondary_abi_cpu}" |
| 341 } | 346 } |
| 342 } | 347 } |
| 343 } | 348 } |
| 344 | 349 |
| 345 declare_args() { | 350 declare_args() { |
| 346 # Enables used resource whitelist generation. Set for official builds only | 351 # Enables used resource whitelist generation. Set for official builds only |
| 347 # as a large amount of build output is generated. | 352 # as a large amount of build output is generated. |
| 348 enable_resource_whitelist_generation = is_android && is_official_build | 353 enable_resource_whitelist_generation = is_android && is_official_build |
| 349 } | 354 } |
| OLD | NEW |