| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 # Set to true to run findbugs on JAR targets. | 62 # Set to true to run findbugs on JAR targets. |
| 63 run_findbugs = false | 63 run_findbugs = false |
| 64 | 64 |
| 65 # Set to true to enable verbose findbugs logging. This does nothing if | 65 # Set to true to enable verbose findbugs logging. This does nothing if |
| 66 # run_findbugs is false. | 66 # run_findbugs is false. |
| 67 findbugs_verbose = false | 67 findbugs_verbose = false |
| 68 | 68 |
| 69 # Set to true to enable the Errorprone compiler | 69 # Set to true to enable the Errorprone compiler |
| 70 use_errorprone_java_compiler = false | 70 use_errorprone_java_compiler = false |
| 71 | 71 |
| 72 # Enables EMMA Java code coverage. Instruments classes during build to |
| 73 # produce .ec files during runtime |
| 74 emma_coverage = false |
| 75 |
| 76 # EMMA filter string consisting of a list of inclusion/exclusion patterns |
| 77 # separated with whitespace and/or comma. Only has effect if |
| 78 # emma_coverage==true |
| 79 emma_filter = "" |
| 80 |
| 72 # Disables process isolation when building _incremental targets. | 81 # Disables process isolation when building _incremental targets. |
| 73 # Required for Android M+ due to SELinux policies (stronger sandboxing). | 82 # Required for Android M+ due to SELinux policies (stronger sandboxing). |
| 74 disable_incremental_isolated_processes = false | 83 disable_incremental_isolated_processes = false |
| 75 | 84 |
| 76 # Speed up incremental compiles by compiling only changed files. | 85 # Speed up incremental compiles by compiling only changed files. |
| 77 enable_incremental_javac = false | 86 enable_incremental_javac = false |
| 78 | 87 |
| 79 # Speed up dexing using dx --incremental. | 88 # Speed up dexing using dx --incremental. |
| 80 enable_incremental_dx = is_debug | 89 enable_incremental_dx = is_debug |
| 81 | 90 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 } else if (current_cpu == "x64") { | 234 } else if (current_cpu == "x64") { |
| 226 android_app_abi = "x86_64" | 235 android_app_abi = "x86_64" |
| 227 } else if (current_cpu == "arm64") { | 236 } else if (current_cpu == "arm64") { |
| 228 android_app_abi = "arm64-v8a" | 237 android_app_abi = "arm64-v8a" |
| 229 } else if (current_cpu == "mips64el") { | 238 } else if (current_cpu == "mips64el") { |
| 230 android_app_abi = "mips64" | 239 android_app_abi = "mips64" |
| 231 } else { | 240 } else { |
| 232 assert(false, "Unknown Android ABI: " + current_cpu) | 241 assert(false, "Unknown Android ABI: " + current_cpu) |
| 233 } | 242 } |
| 234 } | 243 } |
| OLD | NEW |