sanders: gps: Add libprocessgroup dependency to set_sched_policy users

Add libprocessgroup dependency required for set_sched_policy function.
Include sched_policy_ctrl.h header which now contains set_sched_policy
definition.

Cherry-picked from c3aba7a3 in sdm845 branch.

Bug: 111307099
Bug: 131328001
Test: builds, boots
Change-Id: Ia01e3ed6237407eef9cfc882853ad9d7697bbc63
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
Yi Kong
2019-08-14 02:05:58 -07:00
committed by ronaxdevil
parent 2e581802ba
commit 2acb264188
2 changed files with 3 additions and 1 deletions

View File

@@ -11,7 +11,8 @@ include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := \ LOCAL_SHARED_LIBRARIES := \
libutils \ libutils \
libcutils \ libcutils \
liblog liblog \
libprocessgroup
LOCAL_SRC_FILES += \ LOCAL_SRC_FILES += \
loc_log.cpp \ loc_log.cpp \

View File

@@ -29,6 +29,7 @@
#define LOG_NDEBUG 0 #define LOG_NDEBUG 0
#define LOG_TAG "LocSvc_MsgTask" #define LOG_TAG "LocSvc_MsgTask"
#include <processgroup/sched_policy.h>
#include <unistd.h> #include <unistd.h>
#include <MsgTask.h> #include <MsgTask.h>
#include <msg_q.h> #include <msg_q.h>