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

This reverts commit 02843339f9.

Reason for revert: Broke AOSP

Change-Id: I62f91c0adf440b5da0a145862b04dd27a7016faf
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
This commit is contained in:
Suren Baghdasaryan 2019-01-23 20:43:03 -08:00
parent c98b1efd4c
commit 1bef8c550c
9 changed files with 5 additions and 14 deletions

View file

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

View file

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

View file

@ -22,13 +22,11 @@ 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"],
@ -84,7 +82,6 @@ cc_defaults {
shared_libs: [
"libcutils",
"libprocessgroup",
"libdl",
"libvndksupport",
],

View file

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

View file

@ -5,7 +5,6 @@ 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,7 +73,6 @@ 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"