blob: 0eeca5469e9a3d5f3eb6515e3889dab605c5c39e [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_native_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_native_license"],
}
aidl_interface {
name: "framework-permission-aidl",
unstable: true,
local_include_dir: "aidl",
host_supported: true,
vendor_available: true,
double_loadable: true,
srcs: [
"aidl/android/content/AttributionSourceState.aidl",
"aidl/android/permission/IPermissionChecker.aidl",
],
}
cc_library {
name: "libpermission",
host_supported: true,
double_loadable: true,
target: {
darwin: {
enabled: false,
},
},
cflags: [
"-Wall",
"-Wextra",
"-Werror",
],
srcs: [
"AppOpsManager.cpp",
"IAppOpsCallback.cpp",
"IAppOpsService.cpp",
"android/permission/PermissionChecker.cpp",
],
export_include_dirs: ["include"],
shared_libs: [
"libutils",
"libbinder",
"libcutils",
"liblog",
],
static_libs: [
"framework-permission-aidl-cpp",
],
export_static_lib_headers: [
"framework-permission-aidl-cpp"
],
}