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 22 matching lines...) Expand all Loading... |
33 if (!defined(google_play_services_library)) { | 33 if (!defined(google_play_services_library)) { |
34 google_play_services_library = | 34 google_play_services_library = |
35 "//third_party/android_tools:google_play_services_default_java" | 35 "//third_party/android_tools:google_play_services_default_java" |
36 } | 36 } |
37 | 37 |
38 if (!defined(google_play_services_resources)) { | 38 if (!defined(google_play_services_resources)) { |
39 google_play_services_resources = | 39 google_play_services_resources = |
40 "//third_party/android_tools:google_play_services_default_resources" | 40 "//third_party/android_tools:google_play_services_default_resources" |
41 } | 41 } |
42 | 42 |
| 43 if (!defined(webview_framework_jar)) { |
| 44 webview_framework_jar = |
| 45 "//third_party/android_platform/webview/frameworks_6.0.jar" |
| 46 } |
| 47 |
43 declare_args() { | 48 declare_args() { |
44 android_sdk_root = default_android_sdk_root | 49 android_sdk_root = default_android_sdk_root |
45 android_sdk_version = default_android_sdk_version | 50 android_sdk_version = default_android_sdk_version |
46 android_sdk_build_tools_version = default_android_sdk_build_tools_version | 51 android_sdk_build_tools_version = default_android_sdk_build_tools_version |
47 | 52 |
48 # Android versionCode for android_apk()s that don't expclitly set one. | 53 # Android versionCode for android_apk()s that don't expclitly set one. |
49 android_default_version_code = "1" | 54 android_default_version_code = "1" |
50 | 55 |
51 # Android versionName for android_apk()s that don't expclitly set one. | 56 # Android versionName for android_apk()s that don't expclitly set one. |
52 android_default_version_name = "Developer Build" | 57 android_default_version_name = "Developer Build" |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 } else if (current_cpu == "x64") { | 246 } else if (current_cpu == "x64") { |
242 android_app_abi = "x86_64" | 247 android_app_abi = "x86_64" |
243 } else if (current_cpu == "arm64") { | 248 } else if (current_cpu == "arm64") { |
244 android_app_abi = "arm64-v8a" | 249 android_app_abi = "arm64-v8a" |
245 } else if (current_cpu == "mips64el") { | 250 } else if (current_cpu == "mips64el") { |
246 android_app_abi = "mips64" | 251 android_app_abi = "mips64" |
247 } else { | 252 } else { |
248 assert(false, "Unknown Android ABI: " + current_cpu) | 253 assert(false, "Unknown Android ABI: " + current_cpu) |
249 } | 254 } |
250 } | 255 } |
OLD | NEW |