2019-01-25 06:30:52 +01:00
|
|
|
cc_library_headers {
|
|
|
|
name: "libprocessgroup_headers",
|
|
|
|
vendor_available: true,
|
|
|
|
recovery_available: true,
|
|
|
|
host_supported: true,
|
2019-05-16 14:19:09 +02:00
|
|
|
native_bridge_supported: true,
|
2019-01-25 06:30:52 +01:00
|
|
|
export_include_dirs: ["include"],
|
|
|
|
target: {
|
|
|
|
linux_bionic: {
|
|
|
|
enabled: true,
|
|
|
|
},
|
|
|
|
windows: {
|
|
|
|
enabled: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2017-04-19 23:12:52 +02:00
|
|
|
cc_library {
|
2019-01-25 06:30:52 +01:00
|
|
|
srcs: [
|
2018-12-21 20:41:50 +01:00
|
|
|
"cgroup_map.cpp",
|
2019-01-25 06:30:52 +01:00
|
|
|
"processgroup.cpp",
|
|
|
|
"sched_policy.cpp",
|
2018-12-21 20:41:50 +01:00
|
|
|
"task_profiles.cpp",
|
2019-01-25 06:30:52 +01:00
|
|
|
],
|
2019-06-19 06:44:49 +02:00
|
|
|
name: "libprocessgroup",
|
2018-02-23 22:04:40 +01:00
|
|
|
host_supported: true,
|
2019-06-17 21:44:39 +02:00
|
|
|
native_bridge_supported: true,
|
2018-07-24 22:45:09 +02:00
|
|
|
recovery_available: true,
|
2019-01-25 06:29:55 +01:00
|
|
|
vendor_available: true,
|
2019-06-19 06:44:49 +02:00
|
|
|
vndk: {
|
|
|
|
enabled: true,
|
|
|
|
support_system_process: true,
|
|
|
|
},
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"libcgrouprc",
|
|
|
|
],
|
|
|
|
static_libs: [
|
|
|
|
"libjsoncpp",
|
|
|
|
],
|
2019-01-25 06:29:55 +01:00
|
|
|
// for cutils/android_filesystem_config.h
|
2019-01-25 06:30:52 +01:00
|
|
|
header_libs: [
|
|
|
|
"libcutils_headers",
|
|
|
|
"libprocessgroup_headers",
|
|
|
|
],
|
2017-04-19 23:12:52 +02:00
|
|
|
export_include_dirs: ["include"],
|
2019-01-25 06:30:52 +01:00
|
|
|
export_header_lib_headers: [
|
|
|
|
"libprocessgroup_headers",
|
|
|
|
],
|
2017-04-19 23:12:52 +02:00
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
2019-03-27 02:50:22 +01:00
|
|
|
"-Wexit-time-destructors",
|
2017-04-19 23:12:52 +02:00
|
|
|
],
|
|
|
|
}
|