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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 # Neither of these should ever be used for release builds since they are | 82 # Neither of these should ever be used for release builds since they are |
83 # somewhat experimental and dx --incremental is known to not produce | 83 # somewhat experimental and dx --incremental is known to not produce |
84 # byte-for-byte identical output. | 84 # byte-for-byte identical output. |
85 assert(!(enable_incremental_dx && !is_debug)) | 85 assert(!(enable_incremental_dx && !is_debug)) |
86 assert(!(enable_incremental_javac && !is_debug)) | 86 assert(!(enable_incremental_javac && !is_debug)) |
87 | 87 |
88 # Adds intrumentation to each function. Writes a file with the order that | 88 # Adds intrumentation to each function. Writes a file with the order that |
89 # functions are called at startup. | 89 # functions are called at startup. |
90 use_order_profiling = false | 90 use_order_profiling = false |
| 91 |
| 92 # Whether the Java UI is being used (Java infobars and popups, Java native |
| 93 # settings and first run experience, sign-in etc.). |
| 94 android_java_ui = true |
91 } | 95 } |
92 | 96 |
93 # Host stuff ----------------------------------------------------------------- | 97 # Host stuff ----------------------------------------------------------------- |
94 | 98 |
95 # Defines the name the Android build gives to the current host CPU | 99 # Defines the name the Android build gives to the current host CPU |
96 # architecture, which is different than the names GN uses. | 100 # architecture, which is different than the names GN uses. |
97 if (host_cpu == "x64") { | 101 if (host_cpu == "x64") { |
98 android_host_arch = "x86_64" | 102 android_host_arch = "x86_64" |
99 } else if (host_cpu == "x86") { | 103 } else if (host_cpu == "x86") { |
100 android_host_arch = "x86" | 104 android_host_arch = "x86" |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 } else if (current_cpu == "x64") { | 229 } else if (current_cpu == "x64") { |
226 android_app_abi = "x86_64" | 230 android_app_abi = "x86_64" |
227 } else if (current_cpu == "arm64") { | 231 } else if (current_cpu == "arm64") { |
228 android_app_abi = "arm64-v8a" | 232 android_app_abi = "arm64-v8a" |
229 } else if (current_cpu == "mips64el") { | 233 } else if (current_cpu == "mips64el") { |
230 android_app_abi = "mips64" | 234 android_app_abi = "mips64" |
231 } else { | 235 } else { |
232 assert(false, "Unknown Android ABI: " + current_cpu) | 236 assert(false, "Unknown Android ABI: " + current_cpu) |
233 } | 237 } |
234 } | 238 } |
OLD | NEW |