Revert "libprocessgroup users use libcutils"
am: 5360a8492d
Change-Id: I505e0a9aa120531f6190b328a0dc9a9f79eb473a
This commit is contained in:
commit
f17089d834
3 changed files with 16 additions and 47 deletions
|
@ -171,13 +171,9 @@ cc_library {
|
|||
// releases, exclude qtaguid.cpp from the VNDK-SP variant.
|
||||
"qtaguid.cpp",
|
||||
],
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
defaults: [
|
||||
"libprocessgroup_impl_provider",
|
||||
],
|
||||
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libbase",
|
||||
|
@ -186,9 +182,11 @@ cc_library {
|
|||
"libbase_headers",
|
||||
"libcutils_headers",
|
||||
"libutils_headers",
|
||||
"libprocessgroup_headers",
|
||||
],
|
||||
export_header_lib_headers: [
|
||||
"libcutils_headers",
|
||||
"libprocessgroup_headers",
|
||||
],
|
||||
local_include_dirs: ["include"],
|
||||
|
||||
|
|
|
@ -15,58 +15,29 @@ cc_library_headers {
|
|||
},
|
||||
}
|
||||
|
||||
// TODO: remove all usages
|
||||
cc_library {
|
||||
name: "libprocessgroup",
|
||||
host_supported: true,
|
||||
recovery_available: true,
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
support_system_process: true,
|
||||
},
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "libprocessgroup_impl_libs",
|
||||
target: {
|
||||
linux: {
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libcgrouprc",
|
||||
],
|
||||
static_libs: [
|
||||
"libjsoncpp",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "libprocessgroup_impl_provider",
|
||||
defaults: ["libprocessgroup_impl_libs"],
|
||||
target: {
|
||||
linux: {
|
||||
whole_static_libs: [
|
||||
"libprocessgroup_impl",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "libprocessgroup_impl",
|
||||
defaults: ["libprocessgroup_impl_libs"],
|
||||
srcs: [
|
||||
"cgroup_map.cpp",
|
||||
"processgroup.cpp",
|
||||
"sched_policy.cpp",
|
||||
"task_profiles.cpp",
|
||||
],
|
||||
name: "libprocessgroup",
|
||||
host_supported: true,
|
||||
native_bridge_supported: true,
|
||||
recovery_available: true,
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
support_system_process: true,
|
||||
},
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libcgrouprc",
|
||||
],
|
||||
static_libs: [
|
||||
"libjsoncpp",
|
||||
],
|
||||
// for cutils/android_filesystem_config.h
|
||||
header_libs: [
|
||||
"libcutils_headers",
|
||||
|
|
|
@ -24,8 +24,8 @@ cc_defaults {
|
|||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libcutils",
|
||||
"libpcrecpp",
|
||||
"libprocessgroup",
|
||||
],
|
||||
static_libs: ["liblog"],
|
||||
logtags: ["event.logtags"],
|
||||
|
|
Loading…
Reference in a new issue