blob: 8505983894a827c2da616ade28952facd020d306 [file] [log] [blame]
Winson2641e602020-12-15 10:26:28 -08001// 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 Badourd5949582021-02-23 13:18:34 -080015package {
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
Winson2641e602020-12-15 10:26:28 -080024android_test {
25 name: "PackageManagerServiceUnitTests",
Winson173ef942021-03-10 13:55:00 -080026 srcs: [
27 "src/**/*.java",
28 "src/**/*.kt",
29 ],
Winson2641e602020-12-15 10:26:28 -080030 static_libs: [
31 "androidx.test.rules",
32 "androidx.test.runner",
33 "junit",
Winson0c4110e2021-03-09 10:26:28 -080034 "kotlin-test",
Winson593df2c2021-06-18 12:35:40 -070035 "kotlin-reflect",
Sumedh Sen7cc7a2c2022-10-26 13:20:37 -070036 "mockito-target-extended-minus-junit4",
Winson2641e602020-12-15 10:26:28 -080037 "services.core",
Winson90565572020-12-16 11:00:12 -080038 "servicestests-utils",
Winson Chiufad1ef92022-08-23 15:04:56 +000039 "servicestests-core-utils",
Krzysztof KosiƄskibbe98fe32023-10-06 20:25:28 +000040 "truth",
Winson2641e602020-12-15 10:26:28 -080041 ],
Sumedh Sen7cc7a2c2022-10-26 13:20:37 -070042 jni_libs: [
43 "libdexmakerjvmtiagent",
44 "libstaticjvmtiagent",
45 ],
Winson2641e602020-12-15 10:26:28 -080046 platform_apis: true,
47 test_suites: ["device-tests"],
48}