blob: bec81ad5f92e9d1c5b1c0a477b6ba4fac114c6c5 [file] [log] [blame]
Sasha Smundakdf848ac2019-02-08 15:13:25 -08001// Copyright 2016, 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 Badoure539dba2021-02-12 17:07:05 -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
Sasha Smundakdf848ac2019-02-08 15:13:25 -080024android_test {
25 name: "CarrierDefaultAppUnitTests",
26 certificate: "platform",
27 libs: [
Jihoon Kange07d73c2024-08-30 00:29:12 +000028 "android.test.runner.stubs.system",
29 "android.test.base.stubs.system",
Sarah Chin602a8cc2022-11-13 10:29:11 -080030 "SlicePurchaseController",
Sasha Smundakdf848ac2019-02-08 15:13:25 -080031 ],
32 static_libs: [
33 "androidx.test.rules",
Sarah Chin602a8cc2022-11-13 10:29:11 -080034 "mockito-target-inline-minus-junit4",
Sasha Smundakdf848ac2019-02-08 15:13:25 -080035 ],
Sarah Chin602a8cc2022-11-13 10:29:11 -080036 jni_libs: ["libdexmakerjvmtiagent"],
Sasha Smundakdf848ac2019-02-08 15:13:25 -080037 // Include all test java files.
38 srcs: ["src/**/*.java"],
39 platform_apis: true,
Sarah Chinf8fb10f2022-12-10 01:12:00 -080040 use_embedded_native_libs: false,
Sasha Smundakdf848ac2019-02-08 15:13:25 -080041 instrumentation_for: "CarrierDefaultApp",
42}