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
Zi Wang
2cbebeaf31
Merge "Use OutputFilesProvider on filesystem module types" into main
2024-06-10 17:53:11 +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
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
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
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
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
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
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
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
Zi Wang
7daabf71ef
Merge "Use OutputFilesProvider on gen_notice" into main
2024-06-07 02:36:54 +00:00
Treehugger Robot
858705ec08
Merge "release_config: Do not force ranking in inheritance graph" into main am: db664386ec
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114840
Change-Id: I783dd11bf097ab8ccc363863ef160a3ccec8d6b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 01:25:53 +00:00
Treehugger Robot
db664386ec
Merge "release_config: Do not force ranking in inheritance graph" into main
2024-06-07 01:07:53 +00:00
Spandan Das
f4c802bcd6
Drop PRODUCT_INCLUDE_TAGS from banner vars
...
PRODUCT_INCLUDE_TAGS was previously used alongside
blueprint_package_include to prune Android.bp files from soong analysis.
With the deprecation of blueprint_package_includes, this product config
variable bcomes a noop and does not provide useful information in
banner.
Test: NA
Bug: 333316620
Change-Id: Id7a1465c06a45f12b4ecb1bf80decddb657adce2
2024-06-07 00:03:20 +00:00
mrziwang
1b25df0a01
Use OutputFilesProvider on gen_notice
...
Test: CI
Bug: 339477385
Change-Id: Iae2ff3a8017e8e073391afe648793424cc0eadbd
2024-06-06 15:20:42 -07:00
Treehugger Robot
98f7f32ba0
Merge "Drop IncludeTags" into main am: 211fdd6618
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3098657
Change-Id: I7bbd91db4f4309f8a8c0e558bf901a351ed20c24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 22:16:18 +00:00
Treehugger Robot
211fdd6618
Merge "Drop IncludeTags" into main
2024-06-06 22:12:38 +00:00
Zi Wang
ceb7029f37
Merge "Initialize TaggedOutputFiles before updating it" into main am: aff9a2c7ac
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118931
Change-Id: I1ca3a5cf62bce15d4399b133548c358a8e82ec27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 22:08:22 +00:00
Zi Wang
aff9a2c7ac
Merge "Initialize TaggedOutputFiles before updating it" into main
2024-06-06 21:54:15 +00:00
Cole Faust
a700d7fa9f
Make buildinfo_prop a regular module
...
Singleton modules have the capability to do a lot more than regular
modules, which is often problematic for incremental builds.
buildinfo_prop wasn't using those capabilities, so make it a regular
module type to prove it.
Bug: 332733525
Test: m out/target/product/emu64x/obj/ETC/buildinfo.prop_intermediates/buildinfo.prop
Change-Id: I288bf2fd4727a17ff299272d4cfcc611e064c55a
2024-06-06 14:49:23 -07:00
Cole Faust
89b4d18ba1
Make buildinfo_prop depend on build number file
...
buildinfo.prop should be rebuilt when the build number file changes,
because it needs to contain the up to date build number as well.
When this was implemented in make, that dependency was added. But when
we converted it to soong, it was removed. (aosp/3015794 and
aosp/3015818)
Fixes: 332733525
Test: m out/target/product/emu64x/obj/ETC/buildinfo.prop_intermediates/buildinfo.prop repeatedly, see that it rebuilds
Change-Id: Ife9bfa7d48f2578984761f0a78eda3513b324298
2024-06-06 14:39:32 -07:00
LaMont Jones
4bb19b2414
release_config: Do not force ranking in inheritance graph
...
Let graphvis decide how to best display the release config graph.
Also add some color to the graph.
Bug: None
Test: manual
Change-Id: If8b9eb41eb78bd553fd5543938a2c1c098b41591
2024-06-06 12:22:26 -07:00
mrziwang
57768d7437
Initialize TaggedOutputFiles before updating it
...
Test: CI
Change-Id: I176ec626ee4165af62344bf918b665d6414f6d83
2024-06-06 11:31:51 -07:00
Treehugger Robot
142cf7a304
Merge "Disallow unknown fields in soong variables file" into main am: 4eef64a70b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114140
Change-Id: I79650c9d87247d91f9a33454a1ff7e3e3a7abeef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 18:07:14 +00:00
Treehugger Robot
4eef64a70b
Merge "Disallow unknown fields in soong variables file" into main
2024-06-06 17:51:57 +00:00
Treehugger Robot
b9bc2f388a
Merge "Identify profile providing apexes using ApexInfo" into main am: 4039516f32
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114508
Change-Id: Iea4312baee09a9114748f008321050729e3e0b33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 01:25:52 +00:00
Treehugger Robot
4039516f32
Merge "Identify profile providing apexes using ApexInfo" into main
2024-06-06 01:10:12 +00:00
Zhuoyao Zhang
0edf1d38e2
Add run_tool_with_logging as a standalone scripts
...
As part of the build team's effort to cleanup envseup.sh.
Remove the run_tool_with_logging rundtion from envsetup.sh and add it
as a standalone script under build/soong/bin
Test: atest run_tool_with_logging
Test: manually do source envsetup.sh and run adb devices -l and check
the event log is sent to clearcut, tested with both bash and zsh
Bug: 342066042
Change-Id: I2fbc69a064832af61d75d14b0e33a62cb56186df
2024-06-06 00:18:29 +00:00
Spandan Das
7fd531f5d1
Identify profile providing apexes using ApexInfo
...
`com.android.art` and its overrides include a `etc/boot-image.prof`
which is used on device for profile guided dexopt.
```
$ deapexer list <path_in_product_out>/com.android.art.apex | grep
boot-image
$ deapexer list <path_in_product_out>/com.google.android.art.apex | grep
boot-image
```
To identify that we should include a boot-image.prof in the override
apexes, we currently look at ApexInfo.InApexVariants in the context of
art's bootclasspath fragment module. InApexVariants are colated based on
the min_sdk_version of the top-level apex. At ToT, we have a single
variant of `art-bootlcasspath-fragment` for aosp art apex, google art
apex and google go art apex.
When google go art apex overrides the min_sdk_version, ApexInfo is
cleaved, and two distinct variants of art-bootclasspath-fragment are
created. The one corresponding to go art apex does not know we should
include boot-image.prof
To fix this, use AllApexInfoProvider instead. If any of the apexInfos
corresponds to com.android.art, include etc/boot-image.prof
Test: Added a unit test
Test: With https://b.corp.google.com/issues/345173231#comment2 reverted,
m com.google.android.go.art && deapexer list <apex> # verified that
boot-image.prof exists
Bug: 345173231
Bug: 295311875
Change-Id: I5a0e8f74725388f05343c64f268260b1eb139ae5
2024-06-05 21:32:23 +00:00
Steven Moreland
baaeddbdca
Merge "Shipping_api_level in build." into main am: c562e50fe5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3112267
Change-Id: Ieae74f8a9f904cbdffd05ccc88bce407a25b703a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 19:36:09 +00:00
Steven Moreland
c562e50fe5
Merge "Shipping_api_level in build." into main
2024-06-05 19:23:20 +00:00
Zi Wang
f1dbeb309e
Merge "Use OutputFilesProvider on bpf" into main am: 6c9fa02204
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3098157
Change-Id: I4a32747fc36aa90e19e5b8539100842e172aae69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 16:16:34 +00:00
Zi Wang
6c9fa02204
Merge "Use OutputFilesProvider on bpf" into main
2024-06-05 15:55:34 +00:00
mrziwang
e6c8581fbe
Use OutputFilesProvider on bpf
...
This changes makes bpf module type uses OutputFilesProvider,
instead of current OutputFileProducer for inter-module-
communication.
Test: CI
Bug: 339477385
Bug: 342406930
Change-Id: I85d1141e9f6583cc5427756107da99f56b0c7ea1
2024-06-04 22:09:13 -07:00
LaMont Jones
67ca47524e
Merge "Allow product-specific release configs." into main am: 7bd25635aa
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114839
Change-Id: I95059f9a70ed7464aa9bde3aa268d0e74b569f56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 00:22:52 +00:00
LaMont Jones
7bd25635aa
Merge "Allow product-specific release configs." into main
2024-06-05 00:07:28 +00:00
Cole Faust
e7c83d9f76
Merge "genrule: Make cmd configurable" into main am: 3f7b73c639
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3109961
Change-Id: I83900a6ea7491445c331c4e4a864b5ad7fe4833c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-04 23:39:53 +00:00