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", |
Winson | 2641e60 | 2020-12-15 10:26:28 -0800 | [diff] [blame] | 36 | "services.core", |
Winson | 9056557 | 2020-12-16 11:00:12 -0800 | [diff] [blame] | 37 | "servicestests-utils", |
Winson | 2641e60 | 2020-12-15 10:26:28 -0800 | [diff] [blame] | 38 | "truth-prebuilt", |
| 39 | ], |
| 40 | platform_apis: true, |
| 41 | test_suites: ["device-tests"], |
| 42 | } |