DO NOT MERGE: Revert "Revert "Add dependencies on libprocessgroup for sched_policy users""

This reverts commit 1bef8c550c.

Reason for revert: AOSP is fixed with new vendor image

Change-Id: Ib341ac80e2f88c13a7815a490ea2d9422ebdf55f
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
This commit is contained in:
Suren Baghdasaryan 2019-01-25 05:32:52 +00:00
parent 1bd127b72e
commit 9491078300
9 changed files with 14 additions and 5 deletions

View File

@ -109,6 +109,7 @@ CHARGER_STATIC_LIBRARIES := \
libbase \
libutils \
libcutils \
libprocessgroup \
liblog \
libm \
libc \

View File

@ -27,7 +27,10 @@ cc_library {
enabled: true,
support_system_process: true,
},
shared_libs: ["libbase"],
shared_libs: [
"libbase",
"liblog",
],
// for cutils/android_filesystem_config.h
header_libs: [
"libcutils_headers",

View File

@ -22,11 +22,13 @@ cc_library_headers {
"liblog_headers",
"libsystem_headers",
"libcutils_headers",
"libprocessgroup_headers",
],
export_header_lib_headers: [
"liblog_headers",
"libsystem_headers",
"libcutils_headers",
"libprocessgroup_headers",
],
export_include_dirs: ["include"],
@ -82,6 +84,7 @@ cc_defaults {
shared_libs: [
"libcutils",
"libprocessgroup",
"libdl",
"libvndksupport",
],

View File

@ -36,7 +36,7 @@
#include <utils/Log.h>
#include <cutils/sched_policy.h>
#include <processgroup/sched_policy.h>
#if defined(__ANDROID__)
# define __android_unused

View File

@ -5,6 +5,7 @@ cc_binary {
shared_libs: [
"libcutils",
"liblog",
"libprocessgroup",
],
static_libs: [
"libstatslogc",

View File

@ -24,8 +24,8 @@ cc_defaults {
],
shared_libs: [
"libbase",
"libcutils",
"libpcrecpp",
"libprocessgroup",
],
static_libs: ["liblog"],
logtags: ["event.logtags"],

View File

@ -49,11 +49,11 @@
#include <android-base/properties.h>
#include <android-base/stringprintf.h>
#include <android-base/strings.h>
#include <cutils/sched_policy.h>
#include <cutils/sockets.h>
#include <log/event_tag_map.h>
#include <log/logprint.h>
#include <private/android_logger.h>
#include <processgroup/sched_policy.h>
#include <system/thread_defs.h>
#include <pcrecpp.h>

View File

@ -73,6 +73,7 @@ cc_binary {
"libcutils",
"libbase",
"libpackagelistparser",
"libprocessgroup",
"libcap",
],

View File

@ -38,12 +38,12 @@
#include <android-base/macros.h>
#include <cutils/android_get_control_file.h>
#include <cutils/properties.h>
#include <cutils/sched_policy.h>
#include <cutils/sockets.h>
#include <log/event_tag_map.h>
#include <packagelistparser/packagelistparser.h>
#include <private/android_filesystem_config.h>
#include <private/android_logger.h>
#include <processgroup/sched_policy.h>
#include <utils/threads.h>
#include "CommandListener.h"