1// Copyright (C) 2020 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}
18
19cc_test {
20    name: "CtsPermissionManagerNativeTestCases",
21
22    compile_multilib: "both",
23    multilib: {
24        lib32: {
25            suffix: "32",
26        },
27        lib64: {
28            suffix: "64",
29        },
30    },
31
32    srcs: ["src/PermissionManagerNativeTest.cpp"],
33
34    shared_libs: [
35        "liblog",
36        "libandroid",
37    ],
38
39    static_libs: [
40        "libgtest_ndk_c++",
41        "libbase_ndk",
42    ],
43    stl: "libc++_static",
44    // Tag this module as a cts test artifact
45    test_suites: [
46        "cts",
47        "general-tests",
48    ],
49
50    cflags: [
51        "-Werror",
52        "-Wall",
53    ],
54
55    sdk_version: "current",
56}
57