xref: /aosp_15_r20/system/apex/tests/native/Android.bp (revision 33f3758387333dbd2962d7edbd98681940d895da)
1// Copyright (C) 2021 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_applicable_licenses: ["Android-Apache-2.0"],
17    default_team: "trendy_team_treble",
18}
19
20cc_test {
21    name: "CtsApexSharedLibrariesTestCases",
22    test_suites: [
23        "cts",
24        "device-tests",
25        "mts",
26    ],
27    compile_multilib: "both",
28    multilib: {
29        lib32: {
30            suffix: "32",
31        },
32        lib64: {
33            suffix: "64",
34        },
35    },
36
37    shared_libs: [
38        "liblog",
39        "libdl_android",
40    ],
41
42    static_libs: [
43        "libbase",
44        "libfs_mgr",
45    ],
46
47    srcs: [
48        "apex_shared_libraries_test.cpp",
49    ],
50
51    cflags: [
52        "-Wall",
53        "-Wextra",
54        "-Werror",
55    ],
56}
57