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 import("//build_overrides/build.gni") | 8 import("//build_overrides/build.gni") |
9 | 9 |
10 has_chrome_android_internal = | 10 has_chrome_android_internal = |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 default_extras_android_sdk_root = "//third_party/android_tools/sdk" | 49 default_extras_android_sdk_root = "//third_party/android_tools/sdk" |
50 } | 50 } |
51 | 51 |
52 if (!defined(default_android_keystore_path)) { | 52 if (!defined(default_android_keystore_path)) { |
53 default_android_keystore_path = | 53 default_android_keystore_path = |
54 "//build/android/ant/chromium-debug.keystore" | 54 "//build/android/ant/chromium-debug.keystore" |
55 default_android_keystore_name = "chromiumdebugkey" | 55 default_android_keystore_name = "chromiumdebugkey" |
56 default_android_keystore_password = "chromium" | 56 default_android_keystore_password = "chromium" |
57 } | 57 } |
58 | 58 |
| 59 # TODO(paulmiller): Remove; superseded by google_play_services_package. |
59 if (!defined(google_play_services_library)) { | 60 if (!defined(google_play_services_library)) { |
60 google_play_services_library = | 61 google_play_services_library = |
61 "//third_party/android_tools:google_play_services_default_java" | 62 "//third_party/android_tools:google_play_services_default_java" |
62 } | 63 } |
63 | 64 |
| 65 # TODO(paulmiller): Remove; superseded by google_play_services_package. |
64 if (!defined(google_play_services_resources)) { | 66 if (!defined(google_play_services_resources)) { |
65 google_play_services_resources = | 67 google_play_services_resources = |
66 "//third_party/android_tools:google_play_services_default_resources" | 68 "//third_party/android_tools:google_play_services_default_resources" |
67 } | 69 } |
68 | 70 |
| 71 # google_play_services_package contains the path where individual client |
| 72 # targets (e.g. google_play_services_base_java) are located. |
| 73 if (!defined(google_play_services_package)) { |
| 74 google_play_services_package = "//third_party/android_tools" |
| 75 } |
| 76 |
69 webview_public_framework_jar = | 77 webview_public_framework_jar = |
70 "//third_party/android_platform/webview/frameworks_7.0.0_r1.jar" | 78 "//third_party/android_platform/webview/frameworks_7.0.0_r1.jar" |
71 if (!defined(webview_framework_jar)) { | 79 if (!defined(webview_framework_jar)) { |
72 webview_framework_jar = webview_public_framework_jar | 80 webview_framework_jar = webview_public_framework_jar |
73 } | 81 } |
74 | 82 |
75 declare_args() { | 83 declare_args() { |
76 android_ndk_root = default_android_ndk_root | 84 android_ndk_root = default_android_ndk_root |
77 android_ndk_version = default_android_ndk_version | 85 android_ndk_version = default_android_ndk_version |
78 android_ndk_major_version = default_android_ndk_major_version | 86 android_ndk_major_version = default_android_ndk_major_version |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 "//build/toolchain/android:android_${android_secondary_abi_cpu}" | 353 "//build/toolchain/android:android_${android_secondary_abi_cpu}" |
346 } | 354 } |
347 } | 355 } |
348 } | 356 } |
349 | 357 |
350 declare_args() { | 358 declare_args() { |
351 # Enables used resource whitelist generation. Set for official builds only | 359 # Enables used resource whitelist generation. Set for official builds only |
352 # as a large amount of build output is generated. | 360 # as a large amount of build output is generated. |
353 enable_resource_whitelist_generation = is_android && is_official_build | 361 enable_resource_whitelist_generation = is_android && is_official_build |
354 } | 362 } |
OLD | NEW |