Chromium Code Reviews| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 | 101 |
| 102 # Neither of these should ever be used for release builds since they are | 102 # Neither of these should ever be used for release builds since they are |
| 103 # somewhat experimental and dx --incremental is known to not produce | 103 # somewhat experimental and dx --incremental is known to not produce |
| 104 # byte-for-byte identical output. | 104 # byte-for-byte identical output. |
| 105 assert(!(enable_incremental_dx && !is_debug)) | 105 assert(!(enable_incremental_dx && !is_debug)) |
| 106 assert(!(enable_incremental_javac && !is_debug)) | 106 assert(!(enable_incremental_javac && !is_debug)) |
| 107 | 107 |
| 108 # Adds intrumentation to each function. Writes a file with the order that | 108 # Adds intrumentation to each function. Writes a file with the order that |
| 109 # functions are called at startup. | 109 # functions are called at startup. |
| 110 use_order_profiling = false | 110 use_order_profiling = false |
| 111 | |
| 112 # Use the internal version of the framework to build Android WebView. | |
| 113 use_webview_internal_framework = false | |
|
michaelbai
2016/01/06 03:53:42
Sorry, I still don't understand what caused the er
agrieve
2016/01/06 04:16:04
Looks like the problem doesn't happen anymore beca
| |
| 114 } | 111 } |
| 115 | 112 |
| 116 # Host stuff ----------------------------------------------------------------- | 113 # Host stuff ----------------------------------------------------------------- |
| 117 | 114 |
| 118 # Defines the name the Android build gives to the current host CPU | 115 # Defines the name the Android build gives to the current host CPU |
| 119 # architecture, which is different than the names GN uses. | 116 # architecture, which is different than the names GN uses. |
| 120 if (host_cpu == "x64") { | 117 if (host_cpu == "x64") { |
| 121 android_host_arch = "x86_64" | 118 android_host_arch = "x86_64" |
| 122 } else if (host_cpu == "x86") { | 119 } else if (host_cpu == "x86") { |
| 123 android_host_arch = "x86" | 120 android_host_arch = "x86" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 246 } else if (current_cpu == "x64") { | 243 } else if (current_cpu == "x64") { |
| 247 android_app_abi = "x86_64" | 244 android_app_abi = "x86_64" |
| 248 } else if (current_cpu == "arm64") { | 245 } else if (current_cpu == "arm64") { |
| 249 android_app_abi = "arm64-v8a" | 246 android_app_abi = "arm64-v8a" |
| 250 } else if (current_cpu == "mips64el") { | 247 } else if (current_cpu == "mips64el") { |
| 251 android_app_abi = "mips64" | 248 android_app_abi = "mips64" |
| 252 } else { | 249 } else { |
| 253 assert(false, "Unknown Android ABI: " + current_cpu) | 250 assert(false, "Unknown Android ABI: " + current_cpu) |
| 254 } | 251 } |
| 255 } | 252 } |
| OLD | NEW |