xref: /aosp_15_r20/kernel/configs/xsd/approvedBuild/vts/Android.bp (revision 1d3556b860e096874ddca674556f5d20fb3a73b0)
1//
2// Copyright (C) 2024 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_android_kernel",
19
20    // http://go/android-license-faq
21    default_applicable_licenses: ["Android-Apache-2.0"],
22}
23
24cc_test {
25    name: "vts_approvedBuild_validate_test",
26    srcs: [
27        "ValidateApprovedBuild.cpp",
28    ],
29    defaults: [
30        "libvintf_static_user_defaults",
31    ],
32    static_libs: [
33        "android.hardware.audio.common.test.utility",
34        "libkver",
35        "libvintf",
36        "libxml2",
37    ],
38    shared_libs: [
39        "liblog",
40        "libbase",
41    ],
42    cflags: [
43        "-Wall",
44        "-Werror",
45    ],
46    data: [
47        ":approved_build",
48    ],
49    test_suites: [
50        "device-tests",
51        "vts",
52    ],
53    auto_gen_config: true,
54}
55