| 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 has_chrome_android_internal = | 8 has_chrome_android_internal = |
| 9 exec_script("//build/dir_exists.py", | 9 exec_script("//build/dir_exists.py", |
| 10 [ rebase_path("//clank", root_build_dir) ], | 10 [ rebase_path("//clank", root_build_dir) ], |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 findbugs_verbose = false | 64 findbugs_verbose = false |
| 65 | 65 |
| 66 # Set to true to enable the Errorprone compiler | 66 # Set to true to enable the Errorprone compiler |
| 67 use_errorprone_java_compiler = false | 67 use_errorprone_java_compiler = false |
| 68 | 68 |
| 69 # Disables process isolation when building _incremental targets. | 69 # Disables process isolation when building _incremental targets. |
| 70 # Required for Android M+ due to SELinux policies (stronger sandboxing). | 70 # Required for Android M+ due to SELinux policies (stronger sandboxing). |
| 71 disable_incremental_isolated_processes = false | 71 disable_incremental_isolated_processes = false |
| 72 | 72 |
| 73 # Speed up incremental compiles by compiling only changed files. | 73 # Speed up incremental compiles by compiling only changed files. |
| 74 incremental_javac = false | 74 enable_incremental_javac = false |
| 75 | 75 |
| 76 # Speed up dexing using dx --incremental. | 76 # Speed up dexing using dx --incremental. |
| 77 incremental_dx = true | 77 enable_incremental_dx = is_debug |
| 78 |
| 79 # Neither of these should ever be used for release builds since they are |
| 80 # somewhat experimental and dx --incremental is known to not produce |
| 81 # byte-for-byte identical output. |
| 82 assert(!(enable_incremental_dx && !is_debug)) |
| 83 assert(!(enable_incremental_javac && !is_debug)) |
| 78 | 84 |
| 79 # Adds intrumentation to each function. Writes a file with the order that | 85 # Adds intrumentation to each function. Writes a file with the order that |
| 80 # functions are called at startup. | 86 # functions are called at startup. |
| 81 use_order_profiling = false | 87 use_order_profiling = false |
| 82 } | 88 } |
| 83 | 89 |
| 84 # Host stuff ----------------------------------------------------------------- | 90 # Host stuff ----------------------------------------------------------------- |
| 85 | 91 |
| 86 # Defines the name the Android build gives to the current host CPU | 92 # Defines the name the Android build gives to the current host CPU |
| 87 # architecture, which is different than the names GN uses. | 93 # architecture, which is different than the names GN uses. |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 } else if (current_cpu == "x64") { | 222 } else if (current_cpu == "x64") { |
| 217 android_app_abi = "x86_64" | 223 android_app_abi = "x86_64" |
| 218 } else if (current_cpu == "arm64") { | 224 } else if (current_cpu == "arm64") { |
| 219 android_app_abi = "arm64-v8a" | 225 android_app_abi = "arm64-v8a" |
| 220 } else if (current_cpu == "mips64el") { | 226 } else if (current_cpu == "mips64el") { |
| 221 android_app_abi = "mips64" | 227 android_app_abi = "mips64" |
| 222 } else { | 228 } else { |
| 223 assert(false, "Unknown Android ABI: " + current_cpu) | 229 assert(false, "Unknown Android ABI: " + current_cpu) |
| 224 } | 230 } |
| 225 } | 231 } |
| OLD | NEW |