Commit graph

48047 commits

Author SHA1 Message Date
Keyi Gui
dc8ac9c98c Merge "Add new file name to output inputs/outputs of actions of modules into a new file when m json-module-graph is executed." am: 0107901dec am: 2b4514dc6f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959122

Change-Id: I1fe241dc95c56fb3257d2834a6eb369100976ccf
2022-01-28 15:24:44 +00:00
Keyi Gui
2b4514dc6f Merge "Add new file name to output inputs/outputs of actions of modules into a new file when m json-module-graph is executed." am: 0107901dec
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959122

Change-Id: Ib6950fdbb91bf6c31766baa29f93f7660c6fe4eb
2022-01-28 15:07:45 +00:00
Keyi Gui
0107901dec Merge "Add new file name to output inputs/outputs of actions of modules into a new file when m json-module-graph is executed." 2022-01-28 14:39:31 +00:00
Pedro Loureiro
b30ad5c950 Merge "Add special case for test-only module in configuredJars method" am: e4c255cb04 am: f4ddb097e5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960850

Change-Id: Ibf8c21661030ce43aba58b60a79480152725689e
2022-01-28 10:18:37 +00:00
Pedro Loureiro
f4ddb097e5 Merge "Add special case for test-only module in configuredJars method" am: e4c255cb04
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960850

Change-Id: Id7b7d8c4d14470316a1e3cea30708f9ac7984ca9
2022-01-28 10:04:01 +00:00
Pedro Loureiro
e4c255cb04 Merge "Add special case for test-only module in configuredJars method" 2022-01-28 09:50:36 +00:00
kgui
67007248a5 Add new file name to output inputs/outputs of actions of modules into a new file when m json-module-graph is executed.
And also delete the logic in droidstubs to output JSONDataActions.

Test: local.

Change-Id: Ib5d6f1f69c16c41f128e481131775c7699f96464
2022-01-28 13:52:50 +08:00
Treehugger Robot
aae5c94a71 Merge "Add option to generate BTF debug info for bpf programs" am: c7afdefa26 am: e375f4c53e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1909413

Change-Id: I710db9e741688a5bf511e4310718f9b11d012d30
2022-01-28 02:23:24 +00:00
Treehugger Robot
e375f4c53e Merge "Add option to generate BTF debug info for bpf programs" am: c7afdefa26
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1909413

Change-Id: I9455f10bd7428124fc06acf2daf1d0ee28186473
2022-01-28 02:07:09 +00:00
Treehugger Robot
c7afdefa26 Merge "Add option to generate BTF debug info for bpf programs" 2022-01-28 01:51:05 +00:00
Chih-hung Hsieh
5b6b03c78e Merge "Add tidy.md document" am: 7892c6d76d am: be0ae56298
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960242

Change-Id: I6579e511bf9a71d536c8e33194d3edca850afd1b
2022-01-27 23:32:15 +00:00
Treehugger Robot
cb6b5d76b8 Merge "Revert "Reland "Enable hwasan use after scope detection.""" am: cd22b62add am: 86f074a1a4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1962182

Change-Id: I8efc969683a728d859c7b5975fe842c539bd8040
2022-01-27 23:31:18 +00:00
Chih-hung Hsieh
be0ae56298 Merge "Add tidy.md document" am: 7892c6d76d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960242

Change-Id: I9e9ea796d168deb01b050c30edac2dde8f899264
2022-01-27 23:14:38 +00:00
Treehugger Robot
86f074a1a4 Merge "Revert "Reland "Enable hwasan use after scope detection.""" am: cd22b62add
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1962182

Change-Id: Ib97eeda88c2f7e8d06c3a6719db6c290d14aee7d
2022-01-27 23:14:05 +00:00
Chih-hung Hsieh
7892c6d76d Merge "Add tidy.md document" 2022-01-27 23:07:25 +00:00
Treehugger Robot
cd22b62add Merge "Revert "Reland "Enable hwasan use after scope detection.""" 2022-01-27 22:54:24 +00:00
Treehugger Robot
6eb40a5b78 Merge changes I728208ed,Ifdb50809 am: 428d5ad909 am: 6d67ba6d67
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1963682

Change-Id: I5a6295033577cbbb2c422c8f9fb4591d3c416044
2022-01-27 22:30:32 +00:00
Treehugger Robot
2c73bdc0a9 Merge changes from topic "musl_rust" am: 6bf833f428 am: 4e93dd995d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959700

Change-Id: Iaab355ed72ecf9f30d6ce95fcfcf6c705dc286ed
2022-01-27 22:30:20 +00:00
Colin Cross
d89da5d931 Support genrules as CrtBegin and CrtEnd in rust am: 018cbebd71 am: 8d32422e83
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959899

Change-Id: Ic03f2aeb985725cf10b747e01afb01d3659acd7e
2022-01-27 22:30:20 +00:00
Colin Cross
6523b07c3b Support multiple crtbegin and crtend dependencies am: fe605e14ee am: 592ba33d9c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959699

Change-Id: I26c2bcdb3a6c2170e14e6ef3242cbe3f7944dffb
2022-01-27 22:30:18 +00:00
Treehugger Robot
6d67ba6d67 Merge changes I728208ed,Ifdb50809 am: 428d5ad909
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1963682

Change-Id: I69b8673594f7309d838f455d2c8208f80c453d23
2022-01-27 22:22:35 +00:00
Treehugger Robot
428d5ad909 Merge changes I728208ed,Ifdb50809
* changes:
  [cc] Add per-file OWNERS for cc/coverage.go
  [cc/coverage] Override/disable -Wframe-larger-than
2022-01-27 22:17:29 +00:00
Treehugger Robot
4e93dd995d Merge changes from topic "musl_rust" am: 6bf833f428
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959700

Change-Id: Ie235f8ca7f40149f069ed64db7611a1be10b88bf
2022-01-27 22:13:04 +00:00
Colin Cross
8d32422e83 Support genrules as CrtBegin and CrtEnd in rust am: 018cbebd71
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959899

Change-Id: I5d6cc23f9ddac0016183ba21c21da95c7de12a1a
2022-01-27 22:13:03 +00:00
Colin Cross
592ba33d9c Support multiple crtbegin and crtend dependencies am: fe605e14ee
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959699

Change-Id: I8565370140a3c295063cb168c4829448699d09c3
2022-01-27 22:13:01 +00:00
Treehugger Robot
6bf833f428 Merge changes from topic "musl_rust"
* changes:
  Support building rust modules against musl libc
  Support genrules as CrtBegin and CrtEnd in rust
  Support multiple crtbegin and crtend dependencies
2022-01-27 21:39:18 +00:00
Connor O'Brien
2573965c5e Add option to generate BTF debug info for bpf programs
Add "btf" option that generates BTF debug info to support easier map
inspection. This is accomplished by passing the "-g" flag to clang
when compiling the BPF program.

The "-g" option also generates a number of DWARF debug sections which
are not necessary for loading BTF information, so strip these to avoid
increasing file size unnecessarily. bpfloader currently only supports
BTF info for maps, not programs, so we also strip the .BTF.ext section
containing program BTF info.

Bug: 203823368
Test: libbpf_load_test
Test: verify time_in_state.o includes .BTF section iff "btf: true" is
set
Test: verify time_in_state.o still loads if BTF is enabled
Change-Id: Ica25b253bace59d04130b0210350188399889bbe
Signed-off-by: Connor O'Brien <connoro@google.com>
2022-01-27 12:00:45 -08:00
Pirama Arumuga Nainar
81f4190564 Merge "[rust/coverage] Remove obsolete WAR to pass -z,start-stop-gc" am: 1785fcb171 am: a1d651d6b4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960243

Change-Id: Ie9c7e9a8d196fac8c6e5dcede84352cd794d02ef
2022-01-27 19:05:43 +00:00
Pirama Arumuga Nainar
fc4b300471 Merge "[docs] Add README for native code coverage" am: 7ac26891cf am: babb868339
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960240

Change-Id: I24ccd3f30e36ef281fd2740ef7799ef13c667445
2022-01-27 19:05:35 +00:00
Chih-Hung Hsieh
22c27e8458 Add tidy.md document
Test: make
Change-Id: Ic2198532be4135401faffdda34d0e108c57b241c
2022-01-27 11:02:17 -08:00
Pirama Arumuga Nainar
0d7d3e1647 [cc] Add per-file OWNERS for cc/coverage.go
Test: N/A
Change-Id: I728208ed9ef10e032fd12e495ba67121e4c849e5
2022-01-27 10:49:13 -08:00
Pirama Arumuga Nainar
f776c8c47c [cc/coverage] Override/disable -Wframe-larger-than
We can expect frame size increase with coverage instrumentation.

Test: N/A
Change-Id: Ifdb50809c83939ded5a26804aa0ae9404eb1a107
2022-01-27 10:47:55 -08:00
Pirama Arumuga Nainar
a1d651d6b4 Merge "[rust/coverage] Remove obsolete WAR to pass -z,start-stop-gc" am: 1785fcb171
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960243

Change-Id: I5147e9eb8630f40ef5c0afbc2ed5a50e1dfdbcf4
2022-01-27 18:46:48 +00:00
Pirama Arumuga Nainar
babb868339 Merge "[docs] Add README for native code coverage" am: 7ac26891cf
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960240

Change-Id: I15b11973409422f4ad22d9060f79361027f04319
2022-01-27 18:46:37 +00:00
Pirama Arumuga Nainar
1785fcb171 Merge "[rust/coverage] Remove obsolete WAR to pass -z,start-stop-gc" 2022-01-27 18:37:40 +00:00
Pirama Arumuga Nainar
7ac26891cf Merge "[docs] Add README for native code coverage" 2022-01-27 18:29:12 +00:00
Trevor Radcliffe
bc27a9f3ac Merge "Remove res and assets in androidmk if default" am: 13ae63c7e3 am: d81f41149c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960900

Change-Id: I7f509ebe32b3a52310065bff5230ef1499915c41
2022-01-27 15:07:23 +00:00
Sam Delmerico
2e7b1d633c Merge "product variables are consumed via soong injection" am: 2882dcb74b am: 8e27992e34
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1956480

Change-Id: Ic3dad3e612a29d8b8b5464ec494fd3fb0333dce6
2022-01-27 15:07:14 +00:00
Sam Delmerico
4a428735e9 Merge "build device binary for java_test_host" am: af20c7cad1 am: a4a08a2bcb
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1957100

Change-Id: I1fe0c0b581272e2f2af213f2818acb954d321769
2022-01-27 15:07:03 +00:00
Trevor Radcliffe
d81f41149c Merge "Remove res and assets in androidmk if default" am: 13ae63c7e3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1960900

Change-Id: Idd7671f5a71394855ad161bb6e33a206f3450cdc
2022-01-27 14:55:55 +00:00
Trevor Radcliffe
13ae63c7e3 Merge "Remove res and assets in androidmk if default" 2022-01-27 14:53:14 +00:00
Sam Delmerico
8e27992e34 Merge "product variables are consumed via soong injection" am: 2882dcb74b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1956480

Change-Id: I66e79024c360ccb1099de02270eedfa6212b7e93
2022-01-27 14:49:55 +00:00
Sam Delmerico
a4a08a2bcb Merge "build device binary for java_test_host" am: af20c7cad1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1957100

Change-Id: I07feaba037f6200fa6cb2f97e46bca5f367d6259
2022-01-27 14:49:37 +00:00
Sam Delmerico
2882dcb74b Merge "product variables are consumed via soong injection" 2022-01-27 14:31:08 +00:00
Sam Delmerico
af20c7cad1 Merge "build device binary for java_test_host" 2022-01-27 14:30:39 +00:00
Pirama Arumuga Nainar
2b34678ce2 [docs] Add README for native code coverage
Publish internal doc at go/android-native-coverage-local-workflow to
AOSP so it's available publicly.

Also add OWNERS for this file.

Test: N/A
Change-Id: I8d25e840b83294e90743d1cb8ff8d86a4579e34a
2022-01-27 05:16:45 +00:00
Yi Kong
65ab797a36 Merge "Add tests for afdo.go" am: a86875eefb am: 0a3a678a16
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1961260

Change-Id: Id0443a08322c98d3d71d6a0f8892e471fde1bbbb
2022-01-27 04:54:07 +00:00
Yi Kong
0a3a678a16 Merge "Add tests for afdo.go" am: a86875eefb
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1961260

Change-Id: I655477496451fb778bdc5cb7c81526fafb801b76
2022-01-27 04:41:12 +00:00
Yi Kong
a86875eefb Merge "Add tests for afdo.go" 2022-01-27 04:27:28 +00:00
Florian Mayer
fd337b3963 Revert "Reland "Enable hwasan use after scope detection.""
This reverts commit 0edaddf2ce.

Reason for revert: b/http://b/214007768

Change-Id: I60a2e3a5386601992fcb5632c142dd28bdb611b2
2022-01-27 03:31:28 +00:00