Commit graph

83948 commits

Author SHA1 Message Date
Paul Duffin
61058b16f6 Merge "Hide some noisy Metalava issues" into main am: ccad8ff606 am: 79cb62133f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3121892

Change-Id: I4252c15b5c5a4ffe3e5a7318ae11616fee422bc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-10 20:49:00 +00:00
Jihoon Kang
0030148fcb Merge "Remove exportable modules when generating snapshots targeting older platform" into main 2024-06-10 20:46:09 +00:00
Frederick Mayle
ce1fafd6e8 Merge "allow arch_variants for C++'s rtti option" into main am: 61d180ac27
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3120062

Change-Id: Ic1e9448bc71aec8fc92741b0720f3dd7346642df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-10 20:31:01 +00:00
Paul Duffin
79cb62133f Merge "Hide some noisy Metalava issues" into main am: ccad8ff606
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3121892

Change-Id: I6c714fe3a408c37ea3fe5a3231caa511217979ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-10 20:30:47 +00:00
Frederick Mayle
61d180ac27 Merge "allow arch_variants for C++'s rtti option" into main 2024-06-10 20:09:58 +00:00
mrziwang
4f58b5f703 Use OutputFilesProvider on sh_binary
In the context of incremental soong, the output files
inter-module-communication will be through OutputFilesProvider.
The OutputFileProducer interface will be deprecated.

Test: CI
Bug: 339477385
Change-Id: I77929210f4ee2d83d110bca1391edc54be69f0db
2024-06-10 12:58:40 -07:00
Paul Duffin
ccad8ff606 Merge "Hide some noisy Metalava issues" into main 2024-06-10 19:47:31 +00:00
Paul Duffin
b679bdd997 Hide some noisy Metalava issues
Changes https://r.android.com/3106478 and https://r.android.com/3110137
unintentionally started reporting some previously hidden issues as
error when new. This change hides those issues again.

Bug: 343157584
Test: m checkapi before and after
Change-Id: I2e04c919ce5c4f2b39fab65afd13bc31725031f0
2024-06-10 20:46:05 +01:00
Zi Wang
d7db3a3e5b Merge "Use OutputFilesProvider on filesystem module types" into main am: 2cbebeaf31 am: 98344fcd11
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3120056

Change-Id: I9fc249d27bf4b183acdef360accdc693b5147ee6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-10 18:30:27 +00:00
Jihoon Kang
98aa8fa840 Remove exportable modules when generating snapshots targeting older platform
This change modifies the contents of the generated Android.bp files so
that when generating a snapshot on a older platform, the "exportable"
modules are removed from the bp files, as the "exportable" modules are
first introduced in V and do not exist in older platforms.

Bug: 345162614
Test: ABTD
Change-Id: I2dba51b98deec7805bd796647a66981f237c55a9
2024-06-10 18:12:35 +00:00
Zi Wang
98344fcd11 Merge "Use OutputFilesProvider on filesystem module types" into main am: 2cbebeaf31
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3120056

Change-Id: Id4d073e45f06a42ac37c769080a1da211696bac5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-10 18:12:04 +00:00
Chris Wailes
ffebc5b71f Revert^8 "Upgrade to clang-r522817"
This reverts commit 8c27af2136.

Reason for revert: Re-land the Rust 1.78.0 and Clang r522817 updates

Change-Id: Id1fe3790c9688f2c204ca26b5638e1a245cc65f4
2024-06-10 18:06:52 +00:00
Chris Wailes
c8a44e32cf Revert^2 "rustc-1.78.0 Build 11910258"
This reverts commit 8517b8cd87.

Reason for revert: Re-land the Rust 1.78.0 and Clang r522817 updates

Change-Id: Icd3f4554b0e27ed8543a7c1b0301d4dd8ed4a82b
2024-06-10 18:06:27 +00:00
Zi Wang
2cbebeaf31 Merge "Use OutputFilesProvider on filesystem module types" into main 2024-06-10 17:53:11 +00:00
Aleks Todorov
c9becde031 cc: Make export_include_dirs configurable
Bug: 325444956
Test: m
Test: m [custom cc_library_headers with select]
Change-Id: Iebd66bb3f322276ff0f16dc7765257ea309b081f
2024-06-10 18:37:22 +01:00
Android Build Coastguard Worker
9536b972d7 Snap for 11945538 from 7966002d63 to 24Q3-release
Change-Id: I6ec0e8c7f7a711f7be162da93dcd69488cdac457
2024-06-08 21:00:33 +00:00
Android Build Coastguard Worker
d990e3d12b Snap for 11944020 from 0ab1981a60 to 24Q3-release
Change-Id: I9c0cbfa0e6797a51233f81a94f1eb84a9fc97f5d
2024-06-08 01:01:03 +00:00
Frederick Mayle
7833af17f9 allow arch_variants for C++'s rtti option
Currently, the RTTI setting is ignored for host builds, but we want to
change that. As a prereq, we need a way to explicitly enable/disable it
for host builds.

Bug: 341341056
Test: m
Change-Id: Ie503218181cec4f4ef70063caaa4832f748a8eb5
2024-06-07 16:06:46 -07:00
Zhuoyao Zhang
7966002d63 Merge "Add run_tool_with_logging as a standalone scripts" into main am: 739b09eddf am: 4dd389c060
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3094710

Change-Id: Ic8ca7d4c3799160bf8bf47f3daf657ee0209ac59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 23:02:06 +00:00
Zhuoyao Zhang
4dd389c060 Merge "Add run_tool_with_logging as a standalone scripts" into main am: 739b09eddf
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3094710

Change-Id: Ie58738125182787822d55493e73fe60737f34928
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 22:46:15 +00:00
Zhuoyao Zhang
739b09eddf Merge "Add run_tool_with_logging as a standalone scripts" into main 2024-06-07 22:33:20 +00:00
Treehugger Robot
0ab1981a60 Merge "Make buildinfo_prop a regular module" into main am: 63de06c142 am: 75f22c3f9c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118355

Change-Id: Ie5a98b2ceebcb6579e86cd4ddc34b96b8da45ee2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 19:20:57 +00:00
Treehugger Robot
75f22c3f9c Merge "Make buildinfo_prop a regular module" into main am: 63de06c142
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118355

Change-Id: I75bf5b9b60de08fad3fb298be985b71d5c6578e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 18:56:31 +00:00
Treehugger Robot
63de06c142 Merge "Make buildinfo_prop a regular module" into main 2024-06-07 18:36:54 +00:00
mrziwang
555d133433 Use OutputFilesProvider on filesystem module types
Test: CI
Bug: 339477385
Change-Id: I0902726cfef13c716d73c1abc5c9836bdcf3e10f
2024-06-07 11:15:33 -07:00
Cole Faust
b5ba56fbe8 Merge "Make buildinfo_prop depend on build number file" into main am: daba74e728 am: a256b1a485
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118317

Change-Id: Ief03d30685967222aec75c512c039077d850322b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 18:05:36 +00:00
Cole Faust
a256b1a485 Merge "Make buildinfo_prop depend on build number file" into main am: daba74e728
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118317

Change-Id: Ie2384c5cca28355b3a10ec42514a5db965e7b0b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:40:56 +00:00
Cole Faust
daba74e728 Merge "Make buildinfo_prop depend on build number file" into main 2024-06-07 17:27:27 +00:00
Spandan Das
007d7cf934 Merge "Drop PRODUCT_INCLUDE_TAGS from banner vars" into main am: 02f1e342cd am: 861d7b55a2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118357

Change-Id: I30fbef05f064965ffc51954a36bef3dc04421dc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 16:46:40 +00:00
Spandan Das
861d7b55a2 Merge "Drop PRODUCT_INCLUDE_TAGS from banner vars" into main am: 02f1e342cd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118357

Change-Id: I15eacf7d5fc6c7d322a0a3f16c5ae85f8d3b2548
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 16:22:26 +00:00
Spandan Das
02f1e342cd Merge "Drop PRODUCT_INCLUDE_TAGS from banner vars" into main 2024-06-07 16:01:21 +00:00
Dmitrii Ishcheikin
5808c59c72 Merge changes from topic "revert-3108411-rust-update-prebuilts-1.78.0-PFGKGKZUFP" into main am: 9f50e8551d am: 0425c369cb
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3119654

Change-Id: If209e00fdf05e7a5e1a4a8207f66f1357d8e1b39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 14:23:15 +00:00
Dmitrii Ishcheikin
f234eaf614 Revert^7 "Upgrade to clang-r522817" am: 8c27af2136 am: 8dc9c8028f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3119653

Change-Id: I37d4eca17d6363d784aac856646b88e76c9015e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 14:23:10 +00:00
Dmitrii Ishcheikin
0425c369cb Merge changes from topic "revert-3108411-rust-update-prebuilts-1.78.0-PFGKGKZUFP" into main am: 9f50e8551d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3119654

Change-Id: I4254ef6a7f168d14c764a481f1d55a5151456113
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 14:06:43 +00:00
Dmitrii Ishcheikin
8dc9c8028f Revert^7 "Upgrade to clang-r522817" am: 8c27af2136
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3119653

Change-Id: I96caa5de0b1981e727c739fa2de9cc5906e5630a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 14:06:39 +00:00
Dmitrii Ishcheikin
9f50e8551d Merge changes from topic "revert-3108411-rust-update-prebuilts-1.78.0-PFGKGKZUFP" into main
* changes:
  Revert "rustc-1.78.0 Build 11910258"
  Revert^7 "Upgrade to clang-r522817"
2024-06-07 13:32:57 +00:00
Dmitrii Ishcheikin
8c27af2136 Revert^7 "Upgrade to clang-r522817"
36c6af6bd2

Change-Id: Id3320a7862f1ebbfe49bfa4caa36e7ccfd515524
2024-06-07 13:06:19 +00:00
Dmitrii Ishcheikin
8517b8cd87 Revert "rustc-1.78.0 Build 11910258"
Revert submission 3108411-rust-update-prebuilts-1.78.0

Reason for revert: b/345708905

Reverted changes: /q/submissionid:3108411-rust-update-prebuilts-1.78.0

Change-Id: I66b95447ddfcb3d35e5f4305a6d9feb2896fbdf7
2024-06-07 13:06:19 +00:00
Yi Kong
df0289bfbd Revert^4 "Enable full LTO optimization by default"
97f68587ff

Change-Id: I722e046ed23874a75f407d3d211124251b652aae
2024-06-07 09:55:37 +00:00
Treehugger Robot
ec410aa823 Merge "Regard out/soong/release-config as a source directory" into main am: 620b0c46d9 am: 1030d18733
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3112920

Change-Id: I3a5d1beefba6d13d6baf9b6b1e46263f86de93d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 05:50:40 +00:00
Treehugger Robot
1030d18733 Merge "Regard out/soong/release-config as a source directory" into main am: 620b0c46d9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3112920

Change-Id: I6b4d84ea5c9a2a55965f96b2a93f57a39524b619
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 05:31:15 +00:00
Treehugger Robot
620b0c46d9 Merge "Regard out/soong/release-config as a source directory" into main 2024-06-07 05:12:31 +00:00
Chris Wailes
2276ead1f4 Merge "Revert^6 "Upgrade to clang-r522817"" into main am: 86cbd9e46d am: ba241b58c1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3112925

Change-Id: I61dff4aceb8c692215aa21d8c73202fe3b5f0413
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 04:08:12 +00:00
Chris Wailes
7a199f1957 Merge "rustc-1.78.0 Build 11910258" into main am: a4760cfbc0 am: 22579bec62
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3108411

Change-Id: I91b74a94431a685fe85381a1b3f131a1200f5425
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 04:08:06 +00:00
Chris Wailes
ba241b58c1 Merge "Revert^6 "Upgrade to clang-r522817"" into main am: 86cbd9e46d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3112925

Change-Id: I736546eb7f971c60a7b177af13ea9f618257b340
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 03:47:03 +00:00
Chris Wailes
22579bec62 Merge "rustc-1.78.0 Build 11910258" into main am: a4760cfbc0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3108411

Change-Id: I3423094baf53ad9add34ac877d72bfc380dfdbeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 03:46:57 +00:00
Chris Wailes
86cbd9e46d Merge "Revert^6 "Upgrade to clang-r522817"" into main 2024-06-07 03:31:39 +00:00
Chris Wailes
a4760cfbc0 Merge "rustc-1.78.0 Build 11910258" into main 2024-06-07 03:31:39 +00:00
Zi Wang
0bdf15d826 Merge "Use OutputFilesProvider on gen_notice" into main am: 7daabf71ef am: 4f974b408d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118356

Change-Id: I1c8c2bee83bc7d2443abcc7a3e25325a8e89a4bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 03:16:17 +00:00
Zi Wang
4f974b408d Merge "Use OutputFilesProvider on gen_notice" into main am: 7daabf71ef
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118356

Change-Id: Ia870452db22ca1659504286c5da27ba4767562da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 02:53:22 +00:00