| 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 12 matching lines...) Expand all Loading... |
| 23 if (!defined(google_play_services_library)) { | 23 if (!defined(google_play_services_library)) { |
| 24 google_play_services_library = | 24 google_play_services_library = |
| 25 "//third_party/android_tools:google_play_services_default_java" | 25 "//third_party/android_tools:google_play_services_default_java" |
| 26 } | 26 } |
| 27 | 27 |
| 28 declare_args() { | 28 declare_args() { |
| 29 android_sdk_root = default_android_sdk_root | 29 android_sdk_root = default_android_sdk_root |
| 30 android_sdk_version = default_android_sdk_version | 30 android_sdk_version = default_android_sdk_version |
| 31 android_sdk_build_tools_version = default_android_sdk_build_tools_version | 31 android_sdk_build_tools_version = default_android_sdk_build_tools_version |
| 32 | 32 |
| 33 # This is set when building the Android WebView inside the Android build | |
| 34 # system, using the 'android' gyp backend. The WebView code is still built | |
| 35 # when this is unset, but builds using the normal chromium build system. | |
| 36 is_android_webview_build = false | |
| 37 | |
| 38 android_default_keystore_path = | 33 android_default_keystore_path = |
| 39 "//build/android/ant/chromium-debug.keystore" | 34 "//build/android/ant/chromium-debug.keystore" |
| 40 android_default_keystore_name = "chromiumdebugkey" | 35 android_default_keystore_name = "chromiumdebugkey" |
| 41 android_default_keystore_password = "chromium" | 36 android_default_keystore_password = "chromium" |
| 42 | 37 |
| 43 # 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 |
| 44 # identifying various build artifacts corresponding to a particular build of | 39 # identifying various build artifacts corresponding to a particular build of |
| 45 # chrome (e.g. where to find archived symbols). | 40 # chrome (e.g. where to find archived symbols). |
| 46 android_chrome_build_id = "\"\"" | 41 android_chrome_build_id = "\"\"" |
| 42 |
| 43 # Set to true to run findbugs on JAR targets. |
| 44 run_findbugs = false |
| 47 } | 45 } |
| 48 | 46 |
| 49 # Host stuff ----------------------------------------------------------------- | 47 # Host stuff ----------------------------------------------------------------- |
| 50 | 48 |
| 51 # Defines the name the Android build gives to the current host CPU | 49 # Defines the name the Android build gives to the current host CPU |
| 52 # architecture, which is different than the names GN uses. | 50 # architecture, which is different than the names GN uses. |
| 53 if (host_cpu == "x64") { | 51 if (host_cpu == "x64") { |
| 54 android_host_arch = "x86_64" | 52 android_host_arch = "x86_64" |
| 55 } else if (host_cpu == "x86") { | 53 } else if (host_cpu == "x86") { |
| 56 android_host_arch = "x86" | 54 android_host_arch = "x86" |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 android_app_abi = "mips" | 180 android_app_abi = "mips" |
| 183 } else if (current_cpu == "x64") { | 181 } else if (current_cpu == "x64") { |
| 184 android_app_abi = "x86_64" | 182 android_app_abi = "x86_64" |
| 185 } else if (current_cpu == "arm64") { | 183 } else if (current_cpu == "arm64") { |
| 186 android_app_abi = "arm64-v8a" | 184 android_app_abi = "arm64-v8a" |
| 187 } else if (current_cpu == "mips64el") { | 185 } else if (current_cpu == "mips64el") { |
| 188 android_app_abi = "mips64" | 186 android_app_abi = "mips64" |
| 189 } else { | 187 } else { |
| 190 assert(false, "Unknown Android ABI: " + current_cpu) | 188 assert(false, "Unknown Android ABI: " + current_cpu) |
| 191 } | 189 } |
| 192 } else { | |
| 193 if (!defined(is_android_webview_build)) { | |
| 194 is_android_webview_build = false | |
| 195 } | |
| 196 } | 190 } |
| OLD | NEW |