Dan Willemsen
669f769470
Stop using the host python3
...
We've now got a prebuilt in prebuilts/build-tools
Test: treehugger
Change-Id: Ic0fb09c8970f3a1c9f3b7b0303168520dcbfc3d8
2020-03-06 10:28:04 -08:00
Treehugger Robot
0b031cf181
Merge "Disallow system m4"
2020-01-15 19:38:22 +00:00
Elliott Hughes
686dd0c3a4
Switch to toybox gzip.
...
(Although I was the one who added the gzcat reference, I don't believe
we actually use it. And neither my Debian host nor toybox has gzcat --
as opposed to zcat -- anyway. So just quietly drop that.)
Test: treehugger
Change-Id: I95d94dab1daf72faedfa170770e8ebfaa37b70c6
2019-12-20 12:01:45 -08:00
Elliott Hughes
936a18d8da
Merge "Switch to toybox realpath."
2019-12-20 00:27:10 +00:00
Elliott Hughes
c5aedc4c49
Switch to toybox realpath.
...
Change-Id: I9f1d3df08d860e5bfa131a531e274c75b72148e7
2019-12-17 22:03:45 -08:00
Elliott Hughes
d329254328
Switch the mac back to toybox xargs.
...
Test: make sdk
Change-Id: I29a6b0404e248553ecfdfdeb263aa9cd0d2fdb3e
2019-12-12 16:52:06 -08:00
Elliott Hughes
e2d33d52e1
Switch to our hermetic bc.
...
Test: treehugger
Change-Id: I12142a7f54190edd21e719bbd8f5df831ada6161
2019-12-10 10:12:18 -08:00
Elliott Hughes
3efacee1fd
Switch to our own zipinfo(1).
...
Test: treehugger
Change-Id: If71e87e45a52959be9a316810fe79250771eb9d4
2019-11-14 20:09:24 -08:00
Elliott Hughes
e23c63de21
Merge "Switch to toybox find for darwin and linux."
2019-10-23 14:52:28 +00:00
Elliott Hughes
27cc0a8f32
Go back to the native mac xargs for now.
...
Should unbreak the mac build while I work on toybox xargs some more.
Test: suck it and see (since there's no mac presubmit)
Change-Id: I48954f801fc980a1174f93e474d73a24ad12ce66
2019-10-09 18:12:33 -07:00
Elliott Hughes
26bce340e3
Track switch to toybox date for macOS.
...
Bug: http://b/139450866
Test: builds
Change-Id: I5ab0d20d761bcd03f3bee18b8343a2f8aa5e2275
2019-09-12 15:05:13 -07:00
Elliott Hughes
34b49d1402
Use toybox md5sum instead of md5 on macOS.
...
Test: builds locally
Change-Id: I04aa52de96e0525a44331cb0c057a8e18a95891d
2019-09-06 14:42:24 -07:00
Elliott Hughes
ef19e01f96
Switch to toybox stat on macOS too.
...
Bug: http://b/139450866
Test: builds
Change-Id: I97af607a311aea5f97544bd3ce1d532d999126ff
2019-09-05 10:01:37 -07:00
Elliott Hughes
5cb822b2cf
Switch to toybox find for darwin and linux.
...
Test: treehugger
Change-Id: Id311b403f50a76e75ed92c2a9e7cc7aa025f2448
2019-08-27 21:47:05 -07:00
Elliott Hughes
f1ff226cd4
Switch most of the darwin tools to toybox.
...
Bug: http://b/139450866
Test: treehugger
Test: "works for me on my machine" (last week)
Change-Id: I5dd00e6fda134b06967651007afb7565ce4f9e24
2019-08-27 15:17:32 -07:00
Elliott Hughes
556a37585a
We have md5sum/sha1sum/sha256sum/sha512sum on Darwin now too.
...
Bug: http://b/139450866
Test: treehugger
Change-Id: I654f706a18949d29c8688b1abe85d574b5315808
2019-08-26 11:15:15 -07:00
Elliott Hughes
521602194b
Merge "Switch to toybox egrep(1) and grep(1)."
2019-07-31 16:55:43 +00:00
Elliott Hughes
2ee8b33edc
Switch to prebuilt bzip2.
...
Test: treehugger
Change-Id: I4953ff6f9ead5ad79519ac7fa71b557807f25851
2019-07-23 15:08:58 +00:00
Treehugger Robot
1ecfa940d1
Merge "Reland "Switch to toybox tar.""
2019-07-23 02:08:40 +00:00
Elliott Hughes
a6d1d373ae
Reland "Switch to toybox tar."
...
This reverts commit afeb6cb817
.
Change-Id: I67733254fd7edad51ac3fbb18c929b109e86d32e
2019-07-12 15:57:33 +00:00
Elliott Hughes
c5a34551e1
Switch to toybox egrep(1) and grep(1).
...
Test: treehugger
Change-Id: I9053f45d591a8cb53eb36e258ecb97b591d806a1
2019-07-09 08:51:30 -07:00
Colin Cross
aa812d122c
Allow debugging with SOONG_DELVE=<listen addr>
...
Allow running Soong in a headless delve debugger by passing
SOONG_DELVE=<listen addr> in the environment.
Bug: 80165685
Test: SOONG_DELVE=:1234 m nothing
Change-Id: Icfc893c8a8354a9bbc99112d9c83259cb41906d1
2019-07-03 16:33:31 -07:00
Treehugger Robot
ba9a51979d
Merge "Revert "Switch to toybox tar.""
2019-06-25 05:24:44 +00:00
Elliott Hughes
afeb6cb817
Revert "Switch to toybox tar."
...
This reverts commit 3b584b7861
.
Reason for revert: missing --mode.
Change-Id: I0cde94c38905e26c79c31a03fd0177d7d57daa32
2019-06-25 01:40:42 +00:00
Elliott Hughes
9b74dfe96c
Merge "Switch to toybox tar."
2019-06-24 21:24:53 +00:00
Elliott Hughes
63e70530d3
Merge "Allow gzcat as an alias for gzip's -dc mode."
2019-06-20 21:03:11 +00:00
Elliott Hughes
e671f5a397
Allow gzcat as an alias for gzip's -dc mode.
...
This gets us closer to toybox tar (and toybox gzip/gzcat).
Test: treehugger
Change-Id: If934270439b258eae55cdd3e97ac0e83b1c79c70
2019-06-19 14:02:02 -07:00
Dan Willemsen
b01a74fbea
Disallow system m4
...
Everything should be using the prebuilt now.
Bug: 117561006
Test: treehugger
Test: check bass logs for m4 uses
Change-Id: Ic69d715d72d64bb0082e2f2c247113155d8b3de0
2019-06-19 12:51:00 -07:00
Dan Willemsen
c69d715d72
Use prebuilt m4 instead of system m4
...
Bug: 117561006
Test: treehugger
Change-Id: I588d867d95cc52963ce764018a9c09b26973c8c3
2019-06-19 12:50:32 -07:00
Elliott Hughes
3b584b7861
Switch to toybox tar.
...
Test: treehugger
Change-Id: I4c561186c14cc44782a9e5c83d4d9c002addb3f6
2019-06-17 16:39:35 -07:00
Elliott Hughes
2d10e3f54e
Merge "Revert "Revert "Switch to toybox timeout."""
2019-06-17 23:35:16 +00:00
Elliott Hughes
0e868d0391
Revert "Revert "Switch to toybox timeout.""
...
This reverts commit 50e91c1a7a
.
Reason for revert: SIGRTMIN+2 support added.
Change-Id: I3cb251a102e427335315c4931e23a69b95253ee7
2019-06-17 16:45:15 +00:00
Elliott Hughes
bc31b9190a
Switch to toybox date.
...
Test: treehugger
Change-Id: I558870092c29946419b9e15c33a6ee8ee7c6088f
2019-06-11 10:09:08 -07:00
Lokesh Gidra
50e91c1a7a
Revert "Switch to toybox timeout."
...
This reverts commit e9f471635f
.
Reason for revert: Multiple art-test failures
Change-Id: I550864c23485a438889ab73c7e4a877cd730cabb
2019-06-08 00:46:09 +00:00
Elliott Hughes
c1bfeed81b
Switch to toybox sed (again).
...
The pathological case has been fixed, so let's see if it sticks this
time.
Test: treehugger
Change-Id: I043d823b05dd8796764e008c5e16e3563b80cec8
2019-06-07 13:10:04 -07:00
Elliott Hughes
e9f471635f
Switch to toybox timeout.
...
Test: treehugger
Change-Id: Ieea84deac5d0ccef0f3d4949aa1ba870d406e482
2019-06-06 21:41:48 -07:00
Elliott Hughes
18e0d5e0f0
Go back to the host sed until we have a faster prebuilt.
...
Bug: https://issuetracker.google.com/131747477
Test: treehugger
Change-Id: I120fe1200216afdb492bd1353848d12a4be1f496
2019-05-09 13:59:01 -07:00
Elliott Hughes
b0e7320fbc
Merge "Allow the host expr."
2019-05-03 17:24:00 +00:00
Elliott Hughes
3a653f419b
Allow the host expr.
...
(Kernel builds require GNU unary + extension.)
Bug: https://issuetracker.google.com/131747477
Test: treehugger
Change-Id: I404db44d2ad0503d571d6f554a20445ab36aa7de
2019-05-01 12:52:25 -07:00
Elliott Hughes
6b3a0ddf0b
xz: force use of the prebuilt.
...
Also comment why we can't yet do the same for bzip2.
Test: treehugger
Change-Id: I34d5bc0076f5790fcb01c185ef6d08824a4f6142
2019-04-30 22:20:43 -07:00
Elliott Hughes
3d87302a6d
Revert "bzip2/xz: use the prebuilts."
...
This reverts commit e114b3f0a9
.
Build broke as follows:
out/soong/host/linux-x86/bin/sbox --sandbox-path out/soong/.temp --output-root out/soong/.intermediates/system/update_engine/ue_unittest_disk_imgs/gen -c 'tar -jxf system/update_engine/sample_images/sample_images.tar.bz2 -C __SBOX_OUT_DIR__/gen disk_ext2_1k.img disk_ext2_4k.img disk_ext2_4k_empty.img disk_ext2_unittest.img' __SBOX_OUT_DIR__/gen/disk_ext2_1k.img __SBOX_OUT_DIR__/gen/disk_ext2_4k.img __SBOX_OUT_DIR__/gen/disk_ext2_4k_empty.img __SBOX_OUT_DIR__/gen/disk_ext2_unittest.img
"bzip2" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
tar: Child returned status 1
tar: Error is not recoverable: exiting now
sbox command (tar -jxf system/update_engine/sample_images/sample_images.tar.bz2 -C out/soong/.temp/sbox849645882/gen disk_ext2_1k.img disk_ext2_4k.img disk_ext2_4k_empty.img disk_ext2_unittest.img) failed with err "exit status 2"
Change-Id: I3fe7100886ea3b748f5a6b5fc6d2811391bb72a8
2019-04-30 21:55:23 +00:00
Elliott Hughes
e114b3f0a9
bzip2/xz: use the prebuilts.
...
We added the prebuilts a while ago, but forgot to clean this up.
Test: treehugger
Change-Id: I8920f0c9d77951332a663750102ceeabcb565970
2019-04-29 16:23:08 -07:00
Elliott Hughes
c2dbadc363
Add toybox seq.
...
Bug: https://issuetracker.google.com/129992021
Test: builds
Change-Id: I63d5b3fd1c71b771e995638094ee4310435105ee
2019-04-08 09:19:45 -07:00
Dan Willemsen
0f0214699e
Use python / python2.7 prebuilts
...
Bug: 117811537
Test: treehugger
Change-Id: I35b335edcfa202a45f55f588a643c62c2ced0f26
2019-02-18 19:34:00 +00:00
Elliott Hughes
47de2a2f52
Switch sed(1) to toybox.
...
Test: treehugger
Change-Id: I575ae9db8d94cbec811d0029691df98373f8fe35
2019-02-15 15:49:12 -08:00
Dan Willemsen
733547d522
Use prebuilt awk on Darwin too
...
Test: build on mac
Change-Id: I25d21c0df0b9023d6c43b11dde60e6066f107576
2019-02-14 20:11:26 -08:00
Dan Willemsen
9121973130
Stop calling our host $PATH prebuilts toybox
...
There's more than just toybox in this group now, so let's rename our
variables to something closer to the desired behavior, rather than the
first user.
Test: treehugger
Change-Id: I76d4407792061c8110b194cfe73f1ddc84dbc22f
2019-02-14 20:07:02 -08:00
Elliott Hughes
cc74d59a80
Switch to one-true-awk.
...
Test: treehugger
Change-Id: I297d21f5a463c4d3070335c7533972397014f171
2019-02-06 18:06:48 +00:00
Elliott Hughes
48d716c367
Switch cp(1) to toybox.
...
Test: treehugger
Change-Id: I908e1d6aa2aa7016432ac7ff4abc56e8163bad8a
2019-01-25 22:29:58 +00:00
Elliott Hughes
d5fdd3a134
Switch hostname(1) to toybox.
...
Test: treehugger
Change-Id: I52908a14da86ed8f162150bb48f72e141e6f060c
2019-01-24 15:18:06 -08:00