DO NOT MERGE: Revert "ART: add libprocessgroup dependency and fix sched_policy include"
This reverts commit fbdbcccd4d12cd338b375a51fae067b6175db887.
Reason for revert: Broke AOSP
Change-Id: I5e0b842260c161eedec4abb7e99d40f1f8b34dd5
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
diff --git a/runtime/Android.bp b/runtime/Android.bp
index a3081e9..b89eb02 100644
--- a/runtime/Android.bp
+++ b/runtime/Android.bp
@@ -396,10 +396,8 @@
"libnativeloader",
"libbacktrace",
"liblog",
- // For atrace, properties, ashmem.
+ // For atrace, properties, ashmem, set_sched_policy.
"libcutils",
- // For set_sched_policy.
- "libprocessgroup",
// For common macros.
"libbase",
],
diff --git a/runtime/thread_android.cc b/runtime/thread_android.cc
index 24864f9..8ff6c52 100644
--- a/runtime/thread_android.cc
+++ b/runtime/thread_android.cc
@@ -21,7 +21,7 @@
#include <sys/resource.h>
#include <sys/time.h>
-#include <processgroup/sched_policy.h>
+#include <cutils/sched_policy.h>
#include <utils/threads.h>
#include "base/macros.h"