1//
2// Copyright (C) 2023 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_team: "trendy_team_system_experience",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22android_test {
23    name: "CarUiPortraitLauncherTest",
24
25    srcs: ["src/**/*.java"],
26
27    resource_dirs: ["res"],
28
29    libs: [
30        "android.test.base.stubs.system",
31        "android.test.mock.stubs.system",
32    ],
33
34    optimize: {
35        enabled: false,
36    },
37
38    static_libs: [
39        "android.car",
40        "android.car.testapi",
41        "android.car.test.utils",
42        "androidx.test.core",
43        "androidx.test.runner",
44        "androidx.test.espresso.core",
45        "androidx.test.espresso.intents",
46        "androidx.test.ext.junit",
47        "mockito-target-extended-minus-junit4",
48        "truth",
49        "ub-uiautomator",
50        "CarUiPortraitLauncher-core",
51    ],
52
53    jni_libs: [
54        "libdexmakerjvmtiagent",
55        "libstaticjvmtiagent",
56    ],
57
58    platform_apis: true,
59
60    certificate: "platform",
61
62    privileged: true,
63
64    manifest: "AndroidManifest.xml",
65
66    instrumentation_for: "CarUiPortraitLauncher",
67
68    dex_preopt: {
69        enabled: false,
70    },
71
72    test_suites: [
73        "automotive-tests",
74        "device-tests",
75    ],
76}
77