| Winson | 2641e60 | 2020-12-15 10:26:28 -0800 | [diff] [blame] | 1 | // Copyright (C) 2020 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| Bob Badour | d594958 | 2021-02-23 13:18:34 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | // A large-scale-change added 'default_applicable_licenses' to import |
| 18 | // all of the 'license_kinds' from "frameworks_base_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | default_applicable_licenses: ["frameworks_base_license"], |
| 22 | } |
| 23 | |
| Winson | 2641e60 | 2020-12-15 10:26:28 -0800 | [diff] [blame] | 24 | android_test { |
| 25 | name: "PackageManagerServiceUnitTests", |
| Winson | 173ef94 | 2021-03-10 13:55:00 -0800 | [diff] [blame] | 26 | srcs: [ |
| 27 | "src/**/*.java", |
| 28 | "src/**/*.kt", |
| 29 | ], |
| Winson | 2641e60 | 2020-12-15 10:26:28 -0800 | [diff] [blame] | 30 | static_libs: [ |
| 31 | "androidx.test.rules", |
| 32 | "androidx.test.runner", |
| 33 | "junit", |
| Winson | 0c4110e | 2021-03-09 10:26:28 -0800 | [diff] [blame] | 34 | "kotlin-test", |
| Winson | 593df2c | 2021-06-18 12:35:40 -0700 | [diff] [blame] | 35 | "kotlin-reflect", |
| Sumedh Sen | 7cc7a2c | 2022-10-26 13:20:37 -0700 | [diff] [blame] | 36 | "mockito-target-extended-minus-junit4", |
| Winson | 2641e60 | 2020-12-15 10:26:28 -0800 | [diff] [blame] | 37 | "services.core", |
| Winson | 9056557 | 2020-12-16 11:00:12 -0800 | [diff] [blame] | 38 | "servicestests-utils", |
| Winson Chiu | fad1ef9 | 2022-08-23 15:04:56 +0000 | [diff] [blame] | 39 | "servicestests-core-utils", |
| Krzysztof KosiĆski | bbe98fe3 | 2023-10-06 20:25:28 +0000 | [diff] [blame] | 40 | "truth", |
| Winson | 2641e60 | 2020-12-15 10:26:28 -0800 | [diff] [blame] | 41 | ], |
| Sumedh Sen | 7cc7a2c | 2022-10-26 13:20:37 -0700 | [diff] [blame] | 42 | jni_libs: [ |
| 43 | "libdexmakerjvmtiagent", |
| 44 | "libstaticjvmtiagent", |
| 45 | ], |
| Winson | 2641e60 | 2020-12-15 10:26:28 -0800 | [diff] [blame] | 46 | platform_apis: true, |
| 47 | test_suites: ["device-tests"], |
| 48 | } |