aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-08-26 13:22:38 -0700
committerElliott Hughes <enh@google.com>2019-08-26 13:22:38 -0700
commitd59b05cdbb34decf611c528048b665e88ce1c0cd (patch)
tree75a50c3f8a4f3a75edc29319172e9b02a09a47d2 /Android.bp
parent00969f62993962b085938dceb099120cb234286b (diff)
downloadtoybox-d59b05cdbb34decf611c528048b665e88ce1c0cd.tar.gz
Build nproc for host linux too.
Used by the kernel builds, apparently. Bug: http://b/140054668 Test: treehugger Change-Id: I91ff6a338f7149d0e6b85106b9f56aef2a2105df
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index dd6276fd..347feef4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -178,7 +178,10 @@ cc_defaults {
},
linux: {
- srcs: ["toys/posix/ps.c"],
+ srcs: [
+ "toys/posix/ps.c",
+ "toys/other/taskset.c",
+ ],
},
android: {
@@ -250,7 +253,6 @@ cc_defaults {
"toys/other/swapon.c",
"toys/other/sysctl.c",
"toys/other/tac.c",
- "toys/other/taskset.c",
"toys/other/truncate.c",
"toys/other/uptime.c",
"toys/other/usleep.c",