aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2018-12-19 17:02:04 -0800
committerSuren Baghdasaryan <surenb@google.com>2019-01-20 22:06:55 +0000
commitb7a38dd7a5700d889fc4c97237276e1c78400157 (patch)
tree75492f3a16a4f9367c20c3c16bcdaa1ac7d59b93 /Android.bp
parent2f7fb07b27268ab03056d9f0fee2f18efa57ab35 (diff)
downloadtoybox-b7a38dd7a5700d889fc4c97237276e1c78400157.tar.gz
Add libprocessgroup dependency and fix sched_policy include
toybox is using set_sched_policy which is moved into libprocessgroup. Add additional dependency and include required header file. Exempt-From-Owner-Approval: janitorial Bug: 111307099 Test: builds, boots Merged-In: Ideda6a3ca356e40b75203eba4b06b880d7d914da Change-Id: Ideda6a3ca356e40b75203eba4b06b880d7d914da Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 5bb08121..34cbf13e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -434,7 +434,11 @@ cc_defaults {
toybox_libraries = [
"liblog",
"libselinux",
+ // libcutils dependency is needed only for <cutils/sched_policy.h>
+ // inclusion from lib/portability.h. When it's changed to include
+ // <processgroup/sched_policy.h> this dependency should be dropped
"libcutils",
+ "libprocessgroup",
"libcrypto",
"libz",
]