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 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 config("cpu_features_include") { | 7 config("cpu_features_include") { |
8 include_dirs = [ "$android_ndk_root/sources/android/cpufeatures" ] | 8 include_dirs = [ "$android_ndk_root/sources/android/cpufeatures" ] |
9 } | 9 } |
10 | 10 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 } | 150 } |
151 | 151 |
152 android_aar_prebuilt("android_support_v7_recyclerview_java") { | 152 android_aar_prebuilt("android_support_v7_recyclerview_java") { |
153 deps = [ | 153 deps = [ |
154 ":android_support_v7_appcompat_java", | 154 ":android_support_v7_appcompat_java", |
155 ] | 155 ] |
156 _lib_name = "recyclerview-v7" | 156 _lib_name = "recyclerview-v7" |
157 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" | 157 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" |
158 } | 158 } |
159 | 159 |
| 160 android_aar_prebuilt("android_support_v7_preference_java") { |
| 161 deps = [ |
| 162 ":android_support_v7_appcompat_java", |
| 163 ] |
| 164 _lib_name = "preference-v7" |
| 165 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" |
| 166 } |
| 167 |
| 168 android_aar_prebuilt("android_support_v14_preference_java") { |
| 169 deps = [ |
| 170 ":android_support_v7_preference_java", |
| 171 ] |
| 172 _lib_name = "preference-v14" |
| 173 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" |
| 174 } |
| 175 |
| 176 android_aar_prebuilt("android_support_v17_leanback_java") { |
| 177 deps = [ |
| 178 ":android_support_v4_java", |
| 179 ":android_support_v7_recyclerview_java", |
| 180 ] |
| 181 _lib_name = "leanback-v17" |
| 182 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" |
| 183 } |
| 184 |
| 185 android_aar_prebuilt("android_support_v17_preference_java") { |
| 186 deps = [ |
| 187 ":android_support_v14_preference_java", |
| 188 ":android_support_v17_leanback_java", |
| 189 ":android_support_v4_java", |
| 190 ":android_support_v7_appcompat_java", |
| 191 ":android_support_v7_preference_java", |
| 192 ":android_support_v7_recyclerview_java", |
| 193 ] |
| 194 _lib_name = "preference-leanback-v17" |
| 195 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" |
| 196 } |
| 197 |
160 # TODO(dgn): Remove this once no other target has a dependency on it | 198 # TODO(dgn): Remove this once no other target has a dependency on it |
161 java_group("google_play_services_default_resources") { | 199 java_group("google_play_services_default_resources") { |
162 deps = [] | 200 deps = [] |
163 } | 201 } |
164 | 202 |
165 # TODO(dgn): Remove this once other targets register dependencies on only the | 203 # TODO(dgn): Remove this once other targets register dependencies on only the |
166 # modules they need. | 204 # modules they need. |
167 java_group("google_play_services_default_java") { | 205 java_group("google_play_services_default_java") { |
168 deps = [ | 206 deps = [ |
169 ":google_play_services_auth_base_java", | 207 ":google_play_services_auth_base_java", |
170 ":google_play_services_auth_java", | 208 ":google_play_services_auth_java", |
171 ":google_play_services_base_java", | 209 ":google_play_services_base_java", |
172 ":google_play_services_basement_java", | 210 ":google_play_services_basement_java", |
173 ":google_play_services_cast_java", | 211 ":google_play_services_cast_java", |
174 ":google_play_services_gcm_java", | 212 ":google_play_services_gcm_java", |
175 ":google_play_services_iid_java", | 213 ":google_play_services_iid_java", |
176 ":google_play_services_nearby_java", | 214 ":google_play_services_nearby_java", |
177 ":google_play_services_vision_java", | 215 ":google_play_services_vision_java", |
178 ] | 216 ] |
179 } | 217 } |
180 | 218 |
181 android_aar_prebuilt("android_support_v17_leanback_java") { | |
182 deps = [ | |
183 ":android_support_v7_recyclerview_java", | |
184 ] | |
185 _lib_name = "leanback-v17" | |
186 aar_path = "$lib_path/$_lib_name/$lib_version/$_lib_name-$lib_version.aar" | |
187 } | |
188 | |
189 # TODO(jbudorick): Remove this once net_java_test_support no longer needs it. | 219 # TODO(jbudorick): Remove this once net_java_test_support no longer needs it. |
190 android_java_prebuilt("legacy_http_javalib") { | 220 android_java_prebuilt("legacy_http_javalib") { |
191 testonly = true | 221 testonly = true |
192 jar_path = "$android_sdk/optional/org.apache.http.legacy.jar" | 222 jar_path = "$android_sdk/optional/org.apache.http.legacy.jar" |
193 } | 223 } |
194 | 224 |
195 # TODO(dgn): Use the POM files instead of hardcoding the dependencies. | 225 # TODO(dgn): Use the POM files instead of hardcoding the dependencies. |
196 gms_path = "$default_extras_android_sdk_root/extras/google/m2repository/com/goog
le/android/gms" | 226 gms_path = "$default_extras_android_sdk_root/extras/google/m2repository/com/goog
le/android/gms" |
197 gms_version = "10.2.0" | 227 gms_version = "10.2.0" |
198 | 228 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 | 320 |
291 android_aar_prebuilt("google_play_services_vision_java") { | 321 android_aar_prebuilt("google_play_services_vision_java") { |
292 deps = [ | 322 deps = [ |
293 ":google_play_services_base_java", | 323 ":google_play_services_base_java", |
294 ":google_play_services_basement_java", | 324 ":google_play_services_basement_java", |
295 ] | 325 ] |
296 _lib_name = "play-services-vision" | 326 _lib_name = "play-services-vision" |
297 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" | 327 aar_path = "$gms_path/$_lib_name/$gms_version/$_lib_name-$gms_version.aar" |
298 ignore_manifest = true | 328 ignore_manifest = true |
299 } | 329 } |
OLD | NEW |