OSDN Git Service

DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy...
authorSuren Baghdasaryan <surenb@google.com>
Fri, 25 Jan 2019 05:34:11 +0000 (05:34 +0000)
committerSuren Baghdasaryan <surenb@google.com>
Fri, 25 Jan 2019 16:48:28 +0000 (16:48 +0000)
This reverts commit e5751caf675fc0bee229f8c427564c2e927184fd.

Reason for revert: AOSP is fixed with new vendor image

Change-Id: I96db6ffe9cce3d5158b96c171026839d62ec3756
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
btif/Android.bp
main/Android.bp
utils/Android.bp
utils/src/bt_utils.cc

index 75d962d..e58e19d 100644 (file)
@@ -130,6 +130,7 @@ cc_test {
         "liblog",
         "libprotobuf-cpp-lite",
         "libcutils",
+        "libprocessgroup",
         "libutils",
         "libcrypto",
     ],
index 05b0a5f..1e9c243 100644 (file)
@@ -47,6 +47,7 @@ cc_library_shared {
         "libhidltransport",
         "libhwbinder",
         "liblog",
+        "libprocessgroup",
         "libprotobuf-cpp-lite",
         "libutils",
         "libtinyxml2",
index 6a6c510..3a40750 100644 (file)
@@ -12,4 +12,7 @@ cc_library_static {
         "system/bt/stack/include",
     ],
     srcs: ["src/bt_utils.cc"],
+    shared_libs: [
+        "libprocessgroup",
+    ],
 }
index 6d93ac4..fda47f6 100644 (file)
@@ -39,7 +39,7 @@
 
 #define A2DP_RT_PRIORITY 1
 #ifndef OS_GENERIC
-#include <cutils/sched_policy.h>
+#include <processgroup/sched_policy.h>
 #endif
 
 #include "bt_types.h"