xref: /aosp_15_r20/system/libvintf/libaidlvintf_test_helper/Android.bp (revision 70a7ec852fcefd15a4fb57f8f183a8b1c3aacb08)
1package {
2    // http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // the below license kinds from "system_libvintf_license":
5    //   SPDX-license-identifier-Apache-2.0
6    default_applicable_licenses: ["system_libvintf_license"],
7}
8
9cc_defaults {
10    name: "use_libaidlvintf_gtest_helper_static",
11    static_libs: [
12        "libaidlvintf_gtest_helper",
13        "libbase",
14        "libz",
15        "libselinux",
16        "libtinyxml2",
17        "libvintf",
18    ],
19}
20
21cc_test_library {
22    name: "test_compile_use_libaidlvintf_gtest_helper_static",
23    defaults: ["use_libaidlvintf_gtest_helper_static"],
24    visibility: [":__subpackages__"],
25}
26
27cc_library_static {
28    name: "libaidlvintf_gtest_helper",
29    export_include_dirs: ["include"],
30    srcs: [
31        "Vintf.cpp",
32    ],
33    shared_libs: [
34        "libbase",
35        "libz",
36        "libselinux",
37        "libtinyxml2",
38        "libvintf",
39        "libutils",
40    ],
41    static_libs: [
42        "libgtest",
43    ],
44}
45