Bob Badour | a3aa3db | 2021-02-26 02:54:21 -0800 | [diff] [blame] | 1 | // *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE |
| 2 | // CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE |
| 3 | // DEPENDING ON IT IN YOUR PROJECT. *** |
| 4 | package { |
| 5 | // See: http://go/android-license-faq |
| 6 | // A large-scale-change added 'default_applicable_licenses' to import |
| 7 | // all of the 'license_kinds' from "prebuilts_sdk_license" |
| 8 | // to get the below license kinds: |
| 9 | // SPDX-license-identifier-Apache-2.0 |
| 10 | // SPDX-license-identifier-BSD |
| 11 | // SPDX-license-identifier-CC0-1.0 |
| 12 | // SPDX-license-identifier-OFL (by exception only) |
| 13 | // SPDX-license-identifier-Unicode-DFS |
| 14 | // legacy_unencumbered |
| 15 | default_applicable_licenses: ["prebuilts_sdk_license"], |
| 16 | } |
| 17 | |
Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 18 | java_sdk_library_import { |
| 19 | name: "android.test.base", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 20 | public: { |
| 21 | jars: ["public/android.test.base.jar"], |
| 22 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 23 | current_api: "placeholder-api.txt", |
| 24 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 25 | }, |
| 26 | system: { |
| 27 | jars: ["system/android.test.base.jar"], |
| 28 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 29 | current_api: "placeholder-api.txt", |
| 30 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 31 | }, |
| 32 | test: { |
| 33 | jars: ["test/android.test.base.jar"], |
| 34 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 35 | current_api: "placeholder-api.txt", |
| 36 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 37 | }, |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 38 | } |
| 39 | |
Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 40 | java_sdk_library_import { |
| 41 | name: "android.test.runner", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 42 | public: { |
| 43 | jars: ["public/android.test.runner.jar"], |
| 44 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 45 | current_api: "placeholder-api.txt", |
| 46 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 47 | }, |
| 48 | system: { |
| 49 | jars: ["system/android.test.runner.jar"], |
| 50 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 51 | current_api: "placeholder-api.txt", |
| 52 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 53 | }, |
| 54 | test: { |
| 55 | jars: ["test/android.test.runner.jar"], |
| 56 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 57 | current_api: "placeholder-api.txt", |
| 58 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 59 | }, |
Paul Duffin | 0ce9f44 | 2020-01-21 18:34:50 +0000 | [diff] [blame] | 60 | libs: [ |
| 61 | "android.test.base", |
| 62 | "android.test.mock", |
| 63 | ], |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 64 | } |
| 65 | |
Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 66 | java_sdk_library_import { |
| 67 | name: "android.test.mock", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 68 | public: { |
| 69 | jars: ["public/android.test.mock.jar"], |
| 70 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 71 | current_api: "placeholder-api.txt", |
| 72 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 73 | }, |
| 74 | system: { |
| 75 | jars: ["system/android.test.mock.jar"], |
| 76 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 77 | current_api: "placeholder-api.txt", |
| 78 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 79 | }, |
| 80 | test: { |
| 81 | jars: ["test/android.test.mock.jar"], |
| 82 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 83 | current_api: "placeholder-api.txt", |
| 84 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 85 | }, |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 86 | } |
| 87 | |
Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 88 | java_sdk_library_import { |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 89 | name: "com.android.future.usb.accessory", |
| 90 | public: { |
| 91 | jars: ["public/com.android.future.usb.accessory.jar"], |
| 92 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 93 | current_api: "placeholder-api.txt", |
| 94 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 95 | }, |
| 96 | system: { |
| 97 | jars: ["system/com.android.future.usb.accessory.jar"], |
| 98 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 99 | current_api: "placeholder-api.txt", |
| 100 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 101 | }, |
| 102 | test: { |
| 103 | jars: ["test/com.android.future.usb.accessory.jar"], |
| 104 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 105 | current_api: "placeholder-api.txt", |
| 106 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 107 | }, |
| 108 | } |
| 109 | |
| 110 | java_sdk_library_import { |
| 111 | name: "com.android.location.provider", |
| 112 | public: { |
| 113 | jars: ["public/com.android.location.provider.jar"], |
| 114 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 115 | current_api: "placeholder-api.txt", |
| 116 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 117 | }, |
| 118 | system: { |
| 119 | jars: ["system/com.android.location.provider.jar"], |
| 120 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 121 | current_api: "placeholder-api.txt", |
| 122 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 123 | }, |
| 124 | test: { |
| 125 | jars: ["test/com.android.location.provider.jar"], |
| 126 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 127 | current_api: "placeholder-api.txt", |
| 128 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 129 | }, |
| 130 | } |
| 131 | |
| 132 | java_sdk_library_import { |
| 133 | name: "com.android.mediadrm.signer", |
| 134 | public: { |
| 135 | jars: ["public/com.android.mediadrm.signer.jar"], |
| 136 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 137 | current_api: "placeholder-api.txt", |
| 138 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 139 | }, |
| 140 | system: { |
| 141 | jars: ["system/com.android.mediadrm.signer.jar"], |
| 142 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 143 | current_api: "placeholder-api.txt", |
| 144 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 145 | }, |
| 146 | test: { |
| 147 | jars: ["test/com.android.mediadrm.signer.jar"], |
| 148 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 149 | current_api: "placeholder-api.txt", |
| 150 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 151 | }, |
| 152 | } |
| 153 | |
| 154 | java_sdk_library_import { |
| 155 | name: "com.android.media.remotedisplay", |
| 156 | public: { |
| 157 | jars: ["public/com.android.media.remotedisplay.jar"], |
| 158 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 159 | current_api: "placeholder-api.txt", |
| 160 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 161 | }, |
| 162 | system: { |
| 163 | jars: ["system/com.android.media.remotedisplay.jar"], |
| 164 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 165 | current_api: "placeholder-api.txt", |
| 166 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 167 | }, |
| 168 | test: { |
| 169 | jars: ["test/com.android.media.remotedisplay.jar"], |
| 170 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 171 | current_api: "placeholder-api.txt", |
| 172 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 173 | }, |
| 174 | } |
| 175 | |
| 176 | java_sdk_library_import { |
| 177 | name: "com.android.media.tv.remoteprovider", |
| 178 | public: { |
| 179 | jars: ["public/com.android.media.tv.remoteprovider.jar"], |
| 180 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 181 | current_api: "placeholder-api.txt", |
| 182 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 183 | }, |
| 184 | system: { |
| 185 | jars: ["system/com.android.media.tv.remoteprovider.jar"], |
| 186 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 187 | current_api: "placeholder-api.txt", |
| 188 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 189 | }, |
| 190 | test: { |
| 191 | jars: ["test/com.android.media.tv.remoteprovider.jar"], |
| 192 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 193 | current_api: "placeholder-api.txt", |
| 194 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 195 | }, |
| 196 | } |
| 197 | |
| 198 | java_sdk_library_import { |
| 199 | name: "com.android.nfc_extras", |
| 200 | public: { |
| 201 | jars: ["public/com.android.nfc_extras.jar"], |
| 202 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 203 | current_api: "placeholder-api.txt", |
| 204 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 205 | }, |
| 206 | system: { |
| 207 | jars: ["system/com.android.nfc_extras.jar"], |
| 208 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 209 | current_api: "placeholder-api.txt", |
| 210 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 211 | }, |
| 212 | test: { |
| 213 | jars: ["test/com.android.nfc_extras.jar"], |
| 214 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 215 | current_api: "placeholder-api.txt", |
| 216 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 217 | }, |
| 218 | } |
| 219 | |
| 220 | java_sdk_library_import { |
| 221 | name: "javax.obex", |
| 222 | public: { |
| 223 | jars: ["public/javax.obex.jar"], |
| 224 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 225 | current_api: "placeholder-api.txt", |
| 226 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 227 | }, |
| 228 | system: { |
| 229 | jars: ["system/javax.obex.jar"], |
| 230 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 231 | current_api: "placeholder-api.txt", |
| 232 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 233 | }, |
| 234 | test: { |
| 235 | jars: ["test/javax.obex.jar"], |
| 236 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 237 | current_api: "placeholder-api.txt", |
| 238 | removed_api: "placeholder-api.txt", |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 239 | }, |
| 240 | } |
| 241 | |
| 242 | java_sdk_library_import { |
Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 243 | name: "org.apache.http.legacy", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 244 | public: { |
| 245 | jars: ["public/org.apache.http.legacy.jar"], |
| 246 | sdk_version: "current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 247 | current_api: "placeholder-api.txt", |
| 248 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 249 | }, |
| 250 | system: { |
| 251 | jars: ["system/org.apache.http.legacy.jar"], |
| 252 | sdk_version: "system_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 253 | current_api: "placeholder-api.txt", |
| 254 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 255 | }, |
| 256 | test: { |
| 257 | jars: ["test/org.apache.http.legacy.jar"], |
| 258 | sdk_version: "test_current", |
Paul Duffin | e87e339 | 2022-02-21 11:41:55 +0000 | [diff] [blame] | 259 | current_api: "placeholder-api.txt", |
| 260 | removed_api: "placeholder-api.txt", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 261 | }, |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 262 | } |
| 263 | |
Andrew Zeng | c343d8a | 2020-10-21 21:08:38 -0700 | [diff] [blame] | 264 | java_sdk_library_import { |
| 265 | name: "com.google.android.wearable", |
| 266 | public: { |
| 267 | jars: ["public/com.google.android.wearable.jar"], |
| 268 | sdk_version: "current", |
| 269 | }, |
| 270 | system: { |
| 271 | jars: ["system/com.google.android.wearable.jar"], |
| 272 | sdk_version: "system_current", |
| 273 | }, |
| 274 | test: { |
| 275 | jars: ["test/com.google.android.wearable.jar"], |
| 276 | sdk_version: "test_current", |
| 277 | }, |
| 278 | } |
| 279 | |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 280 | java_import { |
| 281 | name: "android-support-multidex-instrumentation", |
| 282 | jars: ["multidex/instrumentation/android-support-multidex-instrumentation.jar"], |
| 283 | sdk_version: "current", |
| 284 | } |
| 285 | |
| 286 | java_import { |
| 287 | name: "android-support-multidex", |
| 288 | jars: ["multidex/library/android-support-multidex.jar"], |
| 289 | sdk_version: "current", |
| 290 | } |
Felka Chang | 5be9f97 | 2020-04-15 19:58:06 +0800 | [diff] [blame] | 291 | |
Rex Hoffman | 30abcb9 | 2022-10-16 06:04:49 +0000 | [diff] [blame] | 292 | android_library_import { |
| 293 | name: "com.android.support.multidex_1.0.3", |
| 294 | aars: ["multidex/multidex-1.0.3.aar"], |
| 295 | sdk_version: "current", |
| 296 | apex_available: [ |
| 297 | "//apex_available:platform", |
| 298 | "//apex_available:anyapex", |
| 299 | ], |
| 300 | //min_sdk_version: "14", |
| 301 | } |
| 302 | |
Mohammad Samiul Islam | 20e3c09 | 2021-04-30 17:21:41 +0100 | [diff] [blame] | 303 | // To provide test host tools the current android jar file to execute the host test |
Felka Chang | 5be9f97 | 2020-04-15 19:58:06 +0800 | [diff] [blame] | 304 | filegroup { |
| 305 | name: "current_android_jar", |
| 306 | srcs: [ |
| 307 | "public/android.jar", |
| 308 | ], |
| 309 | visibility: [ |
Mohammad Samiul Islam | 20e3c09 | 2021-04-30 17:21:41 +0100 | [diff] [blame] | 310 | "//system/apex/apexer", // for apexer_host_test_tools |
| 311 | "//system/apex/tools", // for apex_compression_test_host_tools |
Felka Chang | 5be9f97 | 2020-04-15 19:58:06 +0800 | [diff] [blame] | 312 | ], |
| 313 | } |