| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 # Speed up incremental compiles by compiling only changed files. | 120 # Speed up incremental compiles by compiling only changed files. |
| 121 enable_incremental_javac = false | 121 enable_incremental_javac = false |
| 122 | 122 |
| 123 # Speed up dexing using dx --incremental. | 123 # Speed up dexing using dx --incremental. |
| 124 enable_incremental_dx = is_java_debug | 124 enable_incremental_dx = is_java_debug |
| 125 | 125 |
| 126 # Neither of these should ever be used for release builds since they are | 126 # Neither of these should ever be used for release builds since they are |
| 127 # somewhat experimental and dx --incremental is known to not produce | 127 # somewhat experimental and dx --incremental is known to not produce |
| 128 # byte-for-byte identical output. | 128 # byte-for-byte identical output. |
| 129 assert(!(enable_incremental_dx && !is_debug)) | 129 assert(!(enable_incremental_dx && !is_java_debug)) |
| 130 assert(!(enable_incremental_javac && !is_debug)) | 130 assert(!(enable_incremental_javac && !is_java_debug)) |
| 131 | 131 |
| 132 # Adds intrumentation to each function. Writes a file with the order that | 132 # Adds intrumentation to each function. Writes a file with the order that |
| 133 # functions are called at startup. | 133 # functions are called at startup. |
| 134 use_order_profiling = false | 134 use_order_profiling = false |
| 135 } | 135 } |
| 136 | 136 |
| 137 # Host stuff ----------------------------------------------------------------- | 137 # Host stuff ----------------------------------------------------------------- |
| 138 | 138 |
| 139 # Defines the name the Android build gives to the current host CPU | 139 # Defines the name the Android build gives to the current host CPU |
| 140 # architecture, which is different than the names GN uses. | 140 # architecture, which is different than the names GN uses. |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 } else if (current_cpu == "mips64el") { | 275 } else if (current_cpu == "mips64el") { |
| 276 android_app_abi = "mips64" | 276 android_app_abi = "mips64" |
| 277 } else { | 277 } else { |
| 278 assert(false, "Unknown Android ABI: " + current_cpu) | 278 assert(false, "Unknown Android ABI: " + current_cpu) |
| 279 } | 279 } |
| 280 | 280 |
| 281 if (android_libcpp_lib_dir == "") { | 281 if (android_libcpp_lib_dir == "") { |
| 282 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}" | 282 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}" |
| 283 } | 283 } |
| 284 } | 284 } |
| OLD | NEW |