Merge "DO NOT MERGE: Revert "ART: add libprocessgroup dependency and fix sched_policy include""
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"