xref: /aosp_15_r20/platform_testing/tests/automotive/snippets/phone/Android.bp (revision dd0948b35e70be4c0246aabd6c72554a5eb8b22a)
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        "android-support-multidex",
33    ],
34    srcs: ["src/**/*.java"],
35    manifest: "AndroidAutomotiveManifest.xml",
36    compile_multilib: "both",
37    sdk_version: "current",
38}
39
40android_test {
41    name: "PhoneSnippet",
42    static_libs: [
43        "mobly-bundled-snippets-lib",
44        "automotive-general-ui-helper",
45        "automotive-dial-app-helper",
46        "automotive-phone-helper",
47        "android-support-multidex",
48    ],
49    srcs: [
50        "src/**/PhoneSnippet.java",
51        "src/**/UISnippet.java",
52        "src/**/DialerSnippet.java",
53    ],
54    manifest: "AndroidPhoneManifest.xml",
55    compile_multilib: "both",
56    target_sdk_version: "31",
57    min_sdk_version: "31",
58}
59