1// Copyright (C) 2022 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
15package {
16    default_team: "trendy_team_aaos_framework",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "AutomotiveSnippet",
22    static_libs: [
23        "automotive-dial-app-helper",
24        "automotive-vehiclehardkeys-app-helper",
25        "automotive-settings-app-helper",
26        "automotive-sms-helper",
27        "automotive-general-ui-helper",
28        "mobly-snippet-lib",
29        "mobly-bundled-snippets-lib",
30        "automotive-status-bar-helper",
31        "automotive-media-center-app-helper",
32    ],
33    srcs: ["src/**/*.java"],
34    manifest: "AndroidAutomotiveManifest.xml",
35    compile_multilib: "both",
36    sdk_version: "current",
37}
38
39android_test {
40    name: "PhoneSnippet",
41    static_libs: [
42        "mobly-bundled-snippets-lib",
43        "automotive-general-ui-helper",
44        "automotive-dial-app-helper",
45        "automotive-phone-helper",
46    ],
47    srcs: ["src/**/PhoneSnippet.java",
48           "src/**/UISnippet.java",
49           "src/**/DialerSnippet.java"],
50    manifest: "AndroidPhoneManifest.xml",
51    compile_multilib: "both",
52    target_sdk_version: "31",
53    min_sdk_version: "31",
54}
55