Commit graph

83954 commits

Author SHA1 Message Date
Aditya Kumar
ca5e3eb407 Enable -Wfortify-source
This reverts commit 885f2eec3c.

Reason for revert: Fixed the error reported in post-submit

Change-Id: I152494403e6d6937413d0e5d2637d426c2f54009
2024-06-15 12:07:06 +00:00
Android Build Coastguard Worker
7ec179513d Snap for 11973804 from efe843b319 to 24Q3-release
Change-Id: Ie1f1f9555e0fff90981624cac9e575bafc09300f
2024-06-15 01:00:40 +00:00
Cole Faust
be0f95b374 Merge "Remove saveToBazelConfigFile" into main am: ba80e4c16b am: 2ce7466a03
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3132087

Change-Id: I91a4d8f8017d3a81536619eb436d42427db48918
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 23:35:40 +00:00
Cole Faust
2ce7466a03 Merge "Remove saveToBazelConfigFile" into main am: ba80e4c16b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3132087

Change-Id: I4606bb743cab751bd9411871806b92be8fcbbd41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 23:27:54 +00:00
Cole Faust
ba80e4c16b Merge "Remove saveToBazelConfigFile" into main 2024-06-14 23:23:58 +00:00
Zi Wang
0904c70b44 Merge "Add another way for TestingModule to get its output files" into main am: f222db3d01 am: 507d139799
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3132916

Change-Id: Ic8aedc6e5e81c2155031a10d322f281503fbf1ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 22:32:15 +00:00
Zi Wang
507d139799 Merge "Add another way for TestingModule to get its output files" into main am: f222db3d01
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3132916

Change-Id: I716cc3193bc96da919bfcee3125f5f2812c3a40c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 22:23:25 +00:00
Zi Wang
f222db3d01 Merge "Add another way for TestingModule to get its output files" into main 2024-06-14 22:14:59 +00:00
Pirama Arumuga Nainar
76eb67cb84 Merge "Revert^4 "Enable full LTO optimization by default"" into main am: 52436e1574 am: d9e2ed44c1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3016322

Change-Id: Id2be7127dcee0d8e17d088295f95af28cf255f45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 22:08:11 +00:00
Pirama Arumuga Nainar
d9e2ed44c1 Merge "Revert^4 "Enable full LTO optimization by default"" into main am: 52436e1574
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3016322

Change-Id: I32aee6e174f19687791aba4b83e058063986513e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 22:01:35 +00:00
Pirama Arumuga Nainar
52436e1574 Merge "Revert^4 "Enable full LTO optimization by default"" into main 2024-06-14 21:54:50 +00:00
Cole Faust
fb3f87f519 Merge "Remove debug/release cflags" into main am: 7dc42aa7af am: 25c7781a5f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131536

Change-Id: If72953cf0240a0c3c21002cfbb9a84642f290cb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 21:28:07 +00:00
Cole Faust
25c7781a5f Merge "Remove debug/release cflags" into main am: 7dc42aa7af
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131536

Change-Id: Ia36b210486ca3067d4875b2a152868d8c3e95d1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 21:20:26 +00:00
Cole Faust
7dc42aa7af Merge "Remove debug/release cflags" into main 2024-06-14 21:15:15 +00:00
Cole Faust
ad18649d29 Remove saveToBazelConfigFile
Bug: 315353489
Test: Presubmits
Change-Id: I781f0fd9d0241b9742b0b84f5df4088e7bba16c7
2024-06-14 14:13:54 -07:00
Cole Faust
efe843b319 Merge "Simplify aconfig_declarations_group" into main am: 791733fad4 am: 4ec136ab8f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3133934

Change-Id: I48d0ddb19e76ab9118b661549c305d8f345111ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 20:35:13 +00:00
Cole Faust
4ec136ab8f Merge "Simplify aconfig_declarations_group" into main am: 791733fad4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3133934

Change-Id: I67347a05a412b2a335bc9878b35da530e93f7cde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 20:27:52 +00:00
Cole Faust
791733fad4 Merge "Simplify aconfig_declarations_group" into main 2024-06-14 20:25:40 +00:00
Treehugger Robot
607f9f88c3 Merge "Add test for AppendSimpleValue" into main am: dcde7e260c am: 8117d86db8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3132953

Change-Id: I4b4a43e62333160df8848606c7a6cb4f47f1a973
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 18:42:09 +00:00
Treehugger Robot
8117d86db8 Merge "Add test for AppendSimpleValue" into main am: dcde7e260c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3132953

Change-Id: I9a6426f1c4d7494d52c30b80f657674d341036e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 18:33:08 +00:00
Treehugger Robot
dcde7e260c Merge "Add test for AppendSimpleValue" into main 2024-06-14 18:28:03 +00:00
Cole Faust
779d41cf7c Simplify aconfig_declarations_group
Some of the getters were unused, which means that all the fields
could be made into local variables.

Test: m nothing --no-skip-soong-tests
Change-Id: Iea38ed7f9da952803f54194c0c5a8fda9b6007f5
2024-06-14 11:17:48 -07:00
mrziwang
e81e77a2b1 Add another way for TestingModule to get its output files
In OutputFiles method, TestingModule is able to get its own output
files by reading its module base property. If the TestingModule
never updates its outputFiles property, it will fall back to use the OutputFileProducer interface.

Only empty string tag case is added in this CL since all the testing modules are getting the output files using empty string tag.

Test: CI
Bug: 339477385
Change-Id: I3009ae45d8d909653e3b6b222bced9ccabbaede7
2024-06-14 11:09:54 -07:00
Treehugger Robot
7361f9bb97 Merge "Only write release config files if they've changed" into main am: 7467410787 am: f067601a35
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3132915

Change-Id: Icf372220dd0f8eb9899619920739e94633c44143
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 17:59:51 +00:00
Treehugger Robot
f067601a35 Merge "Only write release config files if they've changed" into main am: 7467410787
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3132915

Change-Id: I31ac2ea835e3edc8ab0a7de578c95a4c8520ca2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 17:54:27 +00:00
Treehugger Robot
7467410787 Merge "Only write release config files if they've changed" into main 2024-06-14 17:49:23 +00:00
Aleks Todorov
e81e225be1 Merge "cc: Make generated_headers configurable" into main am: 274b3c9521 am: 23c2f28987
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131597

Change-Id: I1048966516b0cdc8115fcc4e43978a6ac516f114
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 17:37:26 +00:00
Aleks Todorov
23c2f28987 Merge "cc: Make generated_headers configurable" into main am: 274b3c9521
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131597

Change-Id: Ia025399a37421c347c263f0534e8c3462548810e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 17:29:59 +00:00
Aleks Todorov
9735034583 Merge "cc: Make cc_genrule defaultable" into main am: 36187c371e am: a6b0c47ed5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131758

Change-Id: I6dfa1b1fa378190c2d974f7efa82e05d70e0f942
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 17:29:33 +00:00
Aleks Todorov
274b3c9521 Merge "cc: Make generated_headers configurable" into main 2024-06-14 17:25:07 +00:00
Aleks Todorov
a6b0c47ed5 Merge "cc: Make cc_genrule defaultable" into main am: 36187c371e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131758

Change-Id: I7483f90d69cec43463b1852e57b59be725b17be1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 17:23:34 +00:00
Aleks Todorov
36187c371e Merge "cc: Make cc_genrule defaultable" into main 2024-06-14 17:17:17 +00:00
Aleks Todorov
93b6dd0036 cc: Make generated_headers configurable
Bug: 325444956
Test: m
Test: m [custom target with select() in generated_headers]
Change-Id: I95c9aa52be39e0f5afb503f0b71bce222961ec92
2024-06-14 16:56:38 +01:00
PODISHETTY KUMAR
065f23644e Merge "Revert "Pass --non-updatable-system flag to aapt2 when versionCode is unspecified"" into main am: fc7677874a am: 58d5327fbb
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3133475

Change-Id: I6c94ea52af25f801b11b0de72a92e5ccb2214530
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 13:43:30 +00:00
PODISHETTY KUMAR
58d5327fbb Merge "Revert "Pass --non-updatable-system flag to aapt2 when versionCode is unspecified"" into main am: fc7677874a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3133475

Change-Id: I03a00bfb541769e6aa877a184ce7efa2a03d0f59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 13:38:03 +00:00
PODISHETTY KUMAR
fc7677874a Merge "Revert "Pass --non-updatable-system flag to aapt2 when versionCode is unspecified"" into main 2024-06-14 13:30:06 +00:00
Treehugger Robot
c834edb6c2 Merge "Add support for recent Mac SDK (13, 14)" into main am: 31934a55a8 am: 523108c2f0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3106701

Change-Id: Icb0c12dc6a6dfef0358b7711d09fcfda9444339b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 10:05:37 +00:00
Treehugger Robot
523108c2f0 Merge "Add support for recent Mac SDK (13, 14)" into main am: 31934a55a8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3106701

Change-Id: I5e003df9742b6d3cdb8d6b0118180bb8495ebcfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 09:59:08 +00:00
Treehugger Robot
31934a55a8 Merge "Add support for recent Mac SDK (13, 14)" into main 2024-06-14 09:57:23 +00:00
PODISHETTY KUMAR
0b6d6fe9b2 Revert "Pass --non-updatable-system flag to aapt2 when versionCode is unspecified"
This reverts commit ce320f86a0.

Reason for revert: <Dorid monitor: Likely culprit for b/347143262  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Change-Id: I70eabe014acc6feb123f28ac487f7d7d39e9fb6b
2024-06-14 07:32:43 +00:00
Treehugger Robot
4a5c2cdbdb Merge "Cleanup ImageInterface.SetImageVariation" into main am: 77858402e4 am: d3ba5a3f6e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131759

Change-Id: I8d682d5bed835d8a56a9595bf910bafb194d29ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 04:35:31 +00:00
Treehugger Robot
d3ba5a3f6e Merge "Cleanup ImageInterface.SetImageVariation" into main am: 77858402e4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131759

Change-Id: I4504623d0978356eb7f3b526d01ffb99abd0da12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 04:29:12 +00:00
Treehugger Robot
77858402e4 Merge "Cleanup ImageInterface.SetImageVariation" into main 2024-06-14 04:26:52 +00:00
Treehugger Robot
34be43abf9 Merge "Pass --non-updatable-system flag to aapt2 when versionCode is unspecified" into main am: 0ef709565e am: 27c00a8bd2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3076227

Change-Id: Id3ff81abfb8448f0e42dc44c7d06c1e75c9dab2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:43:32 +00:00
Treehugger Robot
27c00a8bd2 Merge "Pass --non-updatable-system flag to aapt2 when versionCode is unspecified" into main am: 0ef709565e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3076227

Change-Id: I3b90331dc154b29292a9fcf72caf70458eaff233
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:38:01 +00:00
Treehugger Robot
0ef709565e Merge "Pass --non-updatable-system flag to aapt2 when versionCode is unspecified" into main 2024-06-14 03:36:09 +00:00
Cole Faust
dde5544d78 Merge "Make the cflags property configurable" into main am: 1b0d92919d am: 0f81d85278
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131289

Change-Id: Ie0ae0cb924c2371308e59d730ffea8cad34db962
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:13:09 +00:00
Cole Faust
0f81d85278 Merge "Make the cflags property configurable" into main am: 1b0d92919d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131289

Change-Id: I56760a2763d6d41d82696d0286085c95d09dfa8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:08:08 +00:00
Cole Faust
1b0d92919d Merge "Make the cflags property configurable" into main 2024-06-14 02:59:29 +00:00
Treehugger Robot
8806166b1d Merge "release_config: various cleanup" into main am: 000fe5ac5d am: 4c8f885b84
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3129154

Change-Id: I6fa7afca689c54c2f95e8c65c026da78633a5591
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 01:59:09 +00:00