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 24 matching lines...) Expand all Loading... |
35 android_default_keystore_name = "chromiumdebugkey" | 35 android_default_keystore_name = "chromiumdebugkey" |
36 android_default_keystore_password = "chromium" | 36 android_default_keystore_password = "chromium" |
37 | 37 |
38 # This is a unique identifier for a given build. It's used for | 38 # This is a unique identifier for a given build. It's used for |
39 # identifying various build artifacts corresponding to a particular build of | 39 # identifying various build artifacts corresponding to a particular build of |
40 # chrome (e.g. where to find archived symbols). | 40 # chrome (e.g. where to find archived symbols). |
41 android_chrome_build_id = "\"\"" | 41 android_chrome_build_id = "\"\"" |
42 | 42 |
43 # Set to true to run findbugs on JAR targets. | 43 # Set to true to run findbugs on JAR targets. |
44 run_findbugs = false | 44 run_findbugs = false |
| 45 |
| 46 # Set to true to enable the Errorprone compiler |
| 47 use_errorprone_java_compiler = false |
45 } | 48 } |
46 | 49 |
47 # Host stuff ----------------------------------------------------------------- | 50 # Host stuff ----------------------------------------------------------------- |
48 | 51 |
49 # Defines the name the Android build gives to the current host CPU | 52 # Defines the name the Android build gives to the current host CPU |
50 # architecture, which is different than the names GN uses. | 53 # architecture, which is different than the names GN uses. |
51 if (host_cpu == "x64") { | 54 if (host_cpu == "x64") { |
52 android_host_arch = "x86_64" | 55 android_host_arch = "x86_64" |
53 } else if (host_cpu == "x86") { | 56 } else if (host_cpu == "x86") { |
54 android_host_arch = "x86" | 57 android_host_arch = "x86" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 } else if (current_cpu == "x64") { | 186 } else if (current_cpu == "x64") { |
184 android_app_abi = "x86_64" | 187 android_app_abi = "x86_64" |
185 } else if (current_cpu == "arm64") { | 188 } else if (current_cpu == "arm64") { |
186 android_app_abi = "arm64-v8a" | 189 android_app_abi = "arm64-v8a" |
187 } else if (current_cpu == "mips64el") { | 190 } else if (current_cpu == "mips64el") { |
188 android_app_abi = "mips64" | 191 android_app_abi = "mips64" |
189 } else { | 192 } else { |
190 assert(false, "Unknown Android ABI: " + current_cpu) | 193 assert(false, "Unknown Android ABI: " + current_cpu) |
191 } | 194 } |
192 } | 195 } |
OLD | NEW |