Commit Graph

41946 Commits

Author SHA1 Message Date
Colin Cross
f66d8c85fc Merge changes If6996bd8,I91df5c3f am: b55ceca568 am: f40a872210 am: 57230dd2a0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691595

Change-Id: I4b96418a2f4079b9d493fe8039f785a9cb1e0e1b
2021-05-04 00:05:16 +00:00
Colin Cross
57230dd2a0 Merge changes If6996bd8,I91df5c3f am: b55ceca568 am: f40a872210
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691595

Change-Id: I1590eed9ebbfe556383a15f142f2782076492869
2021-05-03 23:49:34 +00:00
Colin Cross
f40a872210 Merge changes If6996bd8,I91df5c3f am: b55ceca568
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691595

Change-Id: Ib337642ce088bd056bb3f20b5cde16b0222d133c
2021-05-03 23:25:45 +00:00
Colin Cross
b55ceca568 Merge changes If6996bd8,I91df5c3f
* changes:
  Time out and dump stacks from R8 processes after 30 minutes
  Add a wrapper command to detect timeouts
2021-05-03 23:06:22 +00:00
Treehugger Robot
3f935125c0 Merge "Add fmtlib_ndk back to the deny list because it fails in mixed builds postsubmit." am: 1ea9624f9a am: 4949451e65 am: fc29dcc7a5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1693785

Change-Id: I38dbb967274b77e8061b26315742d9b0dceae916
2021-05-03 17:41:45 +00:00
Hamzeh Zawawy
89ad7a60be Merge "Add support for packaging rust fuzzers" am: 0a91eab365 am: ca272e7203 am: cb040b1f70
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691209

Change-Id: I591ec0d538ec0e97ca1bfc89a09eb68d9d828b70
2021-05-03 17:41:33 +00:00
Treehugger Robot
fc29dcc7a5 Merge "Add fmtlib_ndk back to the deny list because it fails in mixed builds postsubmit." am: 1ea9624f9a am: 4949451e65
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1693785

Change-Id: Ib720f5a5c38616a669a5b6303cb7a831a3f842bf
2021-05-03 17:24:56 +00:00
Hamzeh Zawawy
cb040b1f70 Merge "Add support for packaging rust fuzzers" am: 0a91eab365 am: ca272e7203
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691209

Change-Id: Ic5627ae4a37cfd7e14b2be20ed689b3ede5fa18e
2021-05-03 17:24:44 +00:00
Treehugger Robot
4949451e65 Merge "Add fmtlib_ndk back to the deny list because it fails in mixed builds postsubmit." am: 1ea9624f9a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1693785

Change-Id: Ic6bbe9497a6093409a17b2f4b6571d33f4a51c28
2021-05-03 17:05:10 +00:00
Hamzeh Zawawy
ca272e7203 Merge "Add support for packaging rust fuzzers" am: 0a91eab365
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691209

Change-Id: Icaa9e41e51812baf67c1a498eab9eb27cdb4f034
2021-05-03 17:04:01 +00:00
Treehugger Robot
1ea9624f9a Merge "Add fmtlib_ndk back to the deny list because it fails in mixed builds postsubmit." 2021-05-03 16:55:23 +00:00
Hamzeh Zawawy
0a91eab365 Merge "Add support for packaging rust fuzzers" 2021-05-03 16:43:08 +00:00
David Srbecky
f1a849b1d7 Merge "Use create_minidebuginfo tool instead of bash script." am: 67f8051a86 am: 140b0d8ac6 am: eb6141f003
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690871

Change-Id: Ic6d9000fece99f04ca3583737497caaf8035b36b
2021-05-03 16:41:34 +00:00
David Srbecky
eb6141f003 Merge "Use create_minidebuginfo tool instead of bash script." am: 67f8051a86 am: 140b0d8ac6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690871

Change-Id: Ie546016fa565682f40490b0313e3e78ed5c73777
2021-05-03 16:17:21 +00:00
David Srbecky
140b0d8ac6 Merge "Use create_minidebuginfo tool instead of bash script." am: 67f8051a86
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690871

Change-Id: I8d95e2b4c16ce872a3cad1f2ae08c88de8a03ba7
2021-05-03 16:04:00 +00:00
David Srbecky
67f8051a86 Merge "Use create_minidebuginfo tool instead of bash script." 2021-05-03 15:42:01 +00:00
Rupert Shuttleworth
52e6672613 Add fmtlib_ndk back to the deny list because it fails in mixed builds postsubmit.
But add it to the mixed builds deny list instead of the bp2build deny list.

Test: Waiting for another postsubmit to run.
Change-Id: Ief51356758304b3f13c95df401e310d4f5e236f7
2021-05-03 10:05:55 -04:00
Rupert Shuttleworth
6b1d39363e Update info on some deny-list entries. am: fb955387db am: 67d91646f1 am: e681f6a4a4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1693465

Change-Id: Id2a056e96859b2ef3ce6c6fa157afaf2c12a7fb5
2021-05-03 11:30:26 +00:00
Rupert Shuttleworth
e681f6a4a4 Update info on some deny-list entries. am: fb955387db am: 67d91646f1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1693465

Change-Id: I231e73686d2e46af37cf4d7534273bdab5493848
2021-05-03 11:12:34 +00:00
Rupert Shuttleworth
67d91646f1 Update info on some deny-list entries. am: fb955387db
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1693465

Change-Id: I304e53115f9fbc36f1c3b7fc59b42b4624c9a5e7
2021-05-03 10:48:52 +00:00
Jingwen Chen
f8a317c187 bp2build: remove manifest file for bp2build-sync. am: 2b54eb8375 am: f343400f06 am: 2a5d835950
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1693286

Change-Id: Id698d82c127b088e5c6b70cf7323c27c580197f6
2021-05-03 09:33:49 +00:00
Jingwen Chen
2a5d835950 bp2build: remove manifest file for bp2build-sync. am: 2b54eb8375 am: f343400f06
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1693286

Change-Id: I83f032bd389ef3a544f8de67826c44ff3fdf2aa6
2021-05-03 09:11:34 +00:00
Jingwen Chen
f343400f06 bp2build: remove manifest file for bp2build-sync. am: 2b54eb8375
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1693286

Change-Id: I575a6df510d322878dcac9b331dedd5f4e7de82b
2021-05-03 08:48:46 +00:00
Rupert Shuttleworth
fb955387db Update info on some deny-list entries.
(Some info has been relocated to blockers in Buganizer)

Also remove libjemalloc5 and fmtlib_ndk from the deny list as they don't seem to need to be there at the moment.

Test: bazel build //bionic/...
Test: build/bazel/scripts/run_presubmits.sh

Change-Id: I87e9dd3d4a83291efbcc15d6b99187b57d45ad18
2021-05-03 04:47:03 -04:00
Jingwen Chen
2b54eb8375 bp2build: remove manifest file for bp2build-sync.
The latter doesn't exist anymore, so there's no more need for the
bp2build file manifest.

Bug: 185817076
Test: TH
Change-Id: I6638b84eb371ced98474e3ca5026e3b33b824767
2021-05-03 06:49:54 +00:00
Treehugger Robot
9549a3b092 Merge "Add debug ramdisk variant." am: cbaef6ff0f am: 33edfca5da am: 919995fc96
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690925

Change-Id: I9f8f5d7d65fb842879a63fcd084c1c392c806e36
2021-05-03 00:55:50 +00:00
Treehugger Robot
919995fc96 Merge "Add debug ramdisk variant." am: cbaef6ff0f am: 33edfca5da
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690925

Change-Id: I45a03b530810292ababf78cf1f3e636def943416
2021-05-03 00:34:48 +00:00
Treehugger Robot
33edfca5da Merge "Add debug ramdisk variant." am: cbaef6ff0f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690925

Change-Id: Ifc90b7a054768748d13bba54e63170a4c2cf8bba
2021-05-03 00:13:50 +00:00
Treehugger Robot
cbaef6ff0f Merge "Add debug ramdisk variant." 2021-05-02 23:54:40 +00:00
hamzeh
c651b5295b Add support for packaging rust fuzzers
Test: make haiku-rust
Change-Id: Idd4d836d11e0ae615b59c6648d49348449589787
2021-05-01 00:55:42 -07:00
Colin Cross
7b6e2d50a5 [automerger skipped] Merge changes from topic "installclean-symbols-mainline-prod" into mainline-prod am: 4090f7adbb -s ours
am skip reason: Merged-In I316703cd0985ee555959a6dcdb39d5a702ab0332 with SHA-1 f7bcd42a4a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/14387670

Change-Id: Ibec9e92c8aaa05e8407d410ff280228e2a69934b
2021-04-30 23:26:38 +00:00
Colin Cross
4090f7adbb Merge changes from topic "installclean-symbols-mainline-prod" into mainline-prod
* changes:
  Clean symbols directory during installclean
  Ignore cc.Module.HideFromMake when producing flattened apex Android.mk entries
2021-04-30 23:06:29 +00:00
David Srbecky
69315e4ea7 Use create_minidebuginfo tool instead of bash script.
The behaviour is semantically identical, however,
the tool additionally sorts the symbols by address,
compresses frame unwind information more efficiently,
and improves random-accessibility for lazy decompression.

Overall, the changes balance and the output size is same,
however, libunwindstack can access the data much faster
while using less memory (due to the lazy decompression).
It will also enable further improvements in the future.

Bug: 110133331
Test: ART unwinding tests, run prefetto on the device.
Change-Id: Id48f9fe67fb67fcf2b90cc3b217b71bb8f5147ca
2021-05-01 00:06:07 +01:00
Colin Cross
29c294b2cf Time out and dump stacks from R8 processes after 30 minutes
R8 processes are sometimes hanging on the build servers.  Wrap R8 with
run_with_timeout to dump the stacks with jstack and kill the process
after 30 minutes.  Switch from running with the r8-compat-proguard
shell script to running the jar directly so that jstack gets the pid
of the java process.

Bug: 181095653
Test: m checkbuild
Test: m NetworkStackNextIntegrationTests
Test: m USE_RBE=true RBE_R8=true RBE_R8_EXEC_STRATEGY=remote NetworkStackNextIntegrationTests
Change-Id: If6996bd8eb39c7a8453d79e825004339c009ade2
2021-04-30 14:14:46 -07:00
Colin Cross
9b6bcc6bff Add a wrapper command to detect timeouts
Add a command that can be used to wrap actions with a timeout, and
optionally run an extra debugging command on timeout.

Bug: 181095653
Test: run_with_timeout_test.go
Change-Id: I91df5c3fb5277968717815a4ad4612113766dab1
2021-04-30 14:14:45 -07:00
Chris Parsons
d41ece601b Support multilib properties in bp2build am: c424b76f76 am: 5b710bf057 am: eadbd4334d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691268

Change-Id: I4c577e82886ef5cc60d074c7ccb638611625ad0f
2021-04-30 18:20:07 +00:00
Chris Parsons
eadbd4334d Support multilib properties in bp2build am: c424b76f76 am: 5b710bf057
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691268

Change-Id: I888d97e5fc542325e37e15af87fb8c4efc6c1c2a
2021-04-30 18:00:06 +00:00
Chris Parsons
5b710bf057 Support multilib properties in bp2build am: c424b76f76
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691268

Change-Id: I193eb41fe687131a562ea9f928b767cfa8a86c26
2021-04-30 17:44:51 +00:00
Colin Cross
e80254e046 Merge "Add prebuilt_rfsa module type" am: 8d0ed7ebd5 am: adf79a5e3e am: e77e82d12a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1671668

Change-Id: I47a6d24518d53c9789f152ad9f04fc5f0167f115
2021-04-30 17:31:43 +00:00
Chris Parsons
c424b76f76 Support multilib properties in bp2build
This combines properties among "multilib" and "arch" stanzas in selects
generated by bp2build.

With this fix, libc_gdtoa may be removed from the denylist.

This change also refactors a portion of arch.go, specifically bp2build's
arch mutator, adding a number of comments along the way, to hopefully
make this code clearer for future readers.

Test: mixed_libc.sh
Change-Id: If2beea672957cfb1af6760406ba507181ec38f77
2021-04-30 13:21:36 -04:00
Colin Cross
e77e82d12a Merge "Add prebuilt_rfsa module type" am: 8d0ed7ebd5 am: adf79a5e3e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1671668

Change-Id: I3bb2190f1a1f438969fd5df2b5be2cd96c7c7466
2021-04-30 17:07:47 +00:00
Paul Duffin
f4a4e865cf Merge "Split findAndCopyBootJars into separate find and copy functions" am: 21695e2ce9 am: ca945032c8 am: 60bdd6c0ff
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1688393

Change-Id: I2c42f4e70245a1d37d8690abe0b61b71fd04adf9
2021-04-30 17:02:45 +00:00
Colin Cross
54f6a89c2f Clean symbols directory during installclean
Installclean is used in some build server builds when switching between
different TARGET_BUILD_APPS, remove the symbols directory so it doesn't
accumulate old symbols files.

Bug: 186507256
Test: m && m installclean && m
Change-Id: I316703cd0985ee555959a6dcdb39d5a702ab0332
Merged-In: I316703cd0985ee555959a6dcdb39d5a702ab0332
(cherry picked from commit f7bcd42a4a)
2021-04-30 09:56:25 -07:00
Colin Cross
adf79a5e3e Merge "Add prebuilt_rfsa module type" am: 8d0ed7ebd5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1671668

Change-Id: I603dee969c5dea822b89e5501c95aa338d83abc0
2021-04-30 16:52:23 +00:00
Paul Duffin
60bdd6c0ff Merge "Split findAndCopyBootJars into separate find and copy functions" am: 21695e2ce9 am: ca945032c8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1688393

Change-Id: I06de6a17abd3d80c4a45834cfa73d43801c5ee9c
2021-04-30 16:44:18 +00:00
Colin Cross
8d0ed7ebd5 Merge "Add prebuilt_rfsa module type" 2021-04-30 16:35:20 +00:00
Paul Duffin
ca945032c8 Merge "Split findAndCopyBootJars into separate find and copy functions" am: 21695e2ce9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1688393

Change-Id: I91ec7304577005fed8ce50690fcedfd08e6f6b21
2021-04-30 16:29:27 +00:00
Paul Duffin
21695e2ce9 Merge "Split findAndCopyBootJars into separate find and copy functions" 2021-04-30 16:09:56 +00:00
Lukács T. Berki
9dd3c62bd1 Merge "Handle the version_script property." am: dac1db044b am: 8e9c7d9212 am: 30b77b329e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690878

Change-Id: Ie1f640f7e1be2f99bdd9b1a7ae9aa6c472e16559
2021-04-30 15:14:32 +00:00
Colin Cross
8bc6482ab6 Merge "Ignore cc.Module.HideFromMake when producing flattened apex Android.mk entries" am: a5b1ea248f am: 46c461b968 am: b56c6b9379
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1691266

Change-Id: I3f6adf9f706f94fa6b4959819e8c17c0ee4e60eb
2021-04-30 15:14:26 +00:00