blob: 3243a6b5f43204982a1e7041f52149d741679b38 [file] [log] [blame]
Bob Badour8a371ba2021-04-20 14:07:25 -07001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_native_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_native_license"],
8}
9
Svet Ganov1cfd1fb2021-04-30 16:17:45 +000010aidl_interface {
11 name: "framework-permission-aidl",
12 unstable: true,
13 local_include_dir: "aidl",
14 backend: {
15 ndk: {
16 enabled: false
17 }
18 },
19 srcs: [
20 "aidl/android/content/AttributionSourceState.aidl",
21 "aidl/android/permission/IPermissionChecker.aidl",
22 ],
23}
24
Steven Morelanda6fddfb2021-04-13 00:56:05 +000025cc_library_shared {
26 name: "libpermission",
Svet Ganov1cfd1fb2021-04-30 16:17:45 +000027 cflags: [
28 "-Wall",
29 "-Wextra",
30 "-Werror",
31 ],
Steven Moreland7c849fa2021-04-13 01:01:32 +000032 srcs: [
33 "AppOpsManager.cpp",
34 "IAppOpsCallback.cpp",
35 "IAppOpsService.cpp",
Svet Ganov1cfd1fb2021-04-30 16:17:45 +000036 "android/permission/PermissionChecker.cpp",
Steven Moreland7c849fa2021-04-13 01:01:32 +000037 ],
38 export_include_dirs: ["include"],
39 shared_libs: [
Adam Bookatze16e8912021-04-26 23:20:46 +000040 "libutils",
Svet Ganov1cfd1fb2021-04-30 16:17:45 +000041 "libbinder",
42 "libcutils",
43 "liblog",
Steven Moreland7c849fa2021-04-13 01:01:32 +000044 ],
Svet Ganov1cfd1fb2021-04-30 16:17:45 +000045 static_libs: [
46 "framework-permission-aidl-cpp",
47 ],
48 export_static_lib_headers: ["framework-permission-aidl-cpp"],
Steven Morelanda6fddfb2021-04-13 00:56:05 +000049}