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 # WebView now builds in a normal android build; don't use this. | |
34 # TODO(torne): remove this. http://crbug.com/440793 | |
35 is_android_webview_build = false | |
36 | |
37 android_default_keystore_path = | 33 android_default_keystore_path = |
38 "//build/android/ant/chromium-debug.keystore" | 34 "//build/android/ant/chromium-debug.keystore" |
39 android_default_keystore_name = "chromiumdebugkey" | 35 android_default_keystore_name = "chromiumdebugkey" |
40 android_default_keystore_password = "chromium" | 36 android_default_keystore_password = "chromium" |
41 | 37 |
42 # 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 |
43 # identifying various build artifacts corresponding to a particular build of | 39 # identifying various build artifacts corresponding to a particular build of |
44 # chrome (e.g. where to find archived symbols). | 40 # chrome (e.g. where to find archived symbols). |
45 android_chrome_build_id = "\"\"" | 41 android_chrome_build_id = "\"\"" |
46 | 42 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 android_app_abi = "mips" | 180 android_app_abi = "mips" |
185 } else if (current_cpu == "x64") { | 181 } else if (current_cpu == "x64") { |
186 android_app_abi = "x86_64" | 182 android_app_abi = "x86_64" |
187 } else if (current_cpu == "arm64") { | 183 } else if (current_cpu == "arm64") { |
188 android_app_abi = "arm64-v8a" | 184 android_app_abi = "arm64-v8a" |
189 } else if (current_cpu == "mips64el") { | 185 } else if (current_cpu == "mips64el") { |
190 android_app_abi = "mips64" | 186 android_app_abi = "mips64" |
191 } else { | 187 } else { |
192 assert(false, "Unknown Android ABI: " + current_cpu) | 188 assert(false, "Unknown Android ABI: " + current_cpu) |
193 } | 189 } |
194 } else { | |
195 if (!defined(is_android_webview_build)) { | |
196 is_android_webview_build = false | |
197 } | |
198 } | 190 } |
OLD | NEW |