blob: 293c62eae2fd5925b66318feda23ee51526ed24a [file] [log] [blame]
// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
cc_test_library {
name: "libCtsAppOpsTestCases_jni",
stl: "libc++_static",
gtest: false,
cflags: [
"-Wall",
"-Werror",
"-Wno-unused-parameter",
],
srcs: ["jni/**/*.cpp"],
shared_libs: [
"libbinder",
"libutils",
"liblog",
],
}
android_test {
name: "CtsAppOpsTestCases",
compile_multilib: "both",
srcs: ["src/**/*.kt"],
static_libs: [
"appops-test-util-lib",
"AppOpsUserServiceAidl",
"AppOpsForegroundControlServiceAidl",
"androidx.test.rules",
"compatibility-device-util-axt",
"androidx.legacy_legacy-support-v4",
"platform-test-annotations",
"truth-prebuilt",
"androidx.test.uiautomator_uiautomator"
],
jni_libs: [
"ld-android",
"libbacktrace",
"libbase",
"libbinder",
"libbpf",
"libbpf_android",
"libc++",
"libcgrouprc",
"libcrypto",
"libcutils",
"libdl_android",
"libhidl-gen-utils",
"libhidlbase",
"libjsoncpp",
"liblog",
"liblzma",
"libnativehelper",
"libnetdbpf",
"libnetdutils",
"libnetworkstatsfactorytestjni",
"libpackagelistparser",
"libpcre2",
"libprocessgroup",
"libselinux",
"libtinyxml2",
"libui",
"libunwindstack",
"libutils",
"libutilscallstack",
"libvndksupport",
"libziparchive",
"libz",
"libCtsAppOpsTestCases_jni",
],
test_suites: [
"cts",
"vts10",
"general-tests",
],
}