Treehugger Robot
bd87bc6121
Merge "Add feature to print output paths for module" am: cbe72299ce
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2620991
Change-Id: If03387e63d26fe62cfbe3f3ff9bdb8b1380249fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 19:42:48 +00:00
Treehugger Robot
e5c4b382d2
Merge "Make genrule sandbox script a python script" am: 7cb703fb99
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2620990
Change-Id: Iaf7243f905f2ef922fa69aef5fcf492c28160f47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 19:42:38 +00:00
Cole Faust
0887a3c28a
Merge "Remove --noexperimental_platform_in_output_dir" am: 466975575b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2620726
Change-Id: Ia446a1abca478a8ba90f83e31e0650ea6777a7d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 19:42:28 +00:00
Joe Onorato
c2ac7e89b1
Make aconfig flags generate a library instead of a srcjar. am: 175073c472
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2611898
Change-Id: I4cf5b02e527233ad55d4a194cc22581d974cc64b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 19:41:32 +00:00
Treehugger Robot
cbe72299ce
Merge "Add feature to print output paths for module"
2023-06-09 19:34:00 +00:00
Treehugger Robot
7cb703fb99
Merge "Make genrule sandbox script a python script"
2023-06-09 19:32:11 +00:00
Cole Faust
466975575b
Merge "Remove --noexperimental_platform_in_output_dir"
2023-06-09 19:25:15 +00:00
Liz Kammer
2fb361cfb8
Add feature to print output paths for module
...
Test: ./genrule_sandbox_test.py -o gen_fstab.gs201 \
libbt_topshim_bridge_header \
android-support-multidex-instrumentation-version
Change-Id: Ied74d727054a1bc3b447c1f10a4ee41b3fdfdf1d
2023-06-09 11:31:28 -04:00
Liz Kammer
767fad4b05
Make genrule sandbox script a python script
...
Unfortunately, genrules are not always available with `m`, instead we
need to know their output paths in order to build them and diff them.
Rewriting in Python lets us store module:output path maps more easily.
Test: ./genrule_sandbox_test.py gen_fstab.gs201 \
libbt_topshim_bridge_header \
android-support-multidex-instrumentation-version
Change-Id: If74130e5a4381cc0e1fab396ebb90dfd5a595a1c
2023-06-09 11:31:08 -04:00
Joe Onorato
175073c472
Make aconfig flags generate a library instead of a srcjar.
...
Also add unit tests for the rest of device_config
Bug: 283475679
Test: m nothing (soong unit tests)
Change-Id: Iee18a1f2f2cbb23e8c8d84c54e903b32be29a693
2023-06-09 06:16:06 -07:00
Yi Kong
22c0870729
Merge "Refactor LTO" am: f1d37b3511
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2619271
Change-Id: I1472861f48b91d802df54227bca5914c31761bd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 03:29:56 +00:00
Treehugger Robot
88d9189d1b
Merge "Revert "mk2rbc: temporarily bump matching paths limit to 155. "" am: 5950b039b3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2620713
Change-Id: Ic3ac53f07d29683eae9ed34ae5279f5d4a35bb03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 03:29:46 +00:00
Yi Kong
f1d37b3511
Merge "Refactor LTO"
2023-06-09 03:16:22 +00:00
Yi Kong
895d241013
Refactor LTO
...
We removed Full LTO support, now LTO is a binary choice. This allows us
to greatly simplify the LTO propagation logic.
Test: m
Test: GLBOAL_THINLTO=true m
Bug: 169004486
Change-Id: Ie4e453d7518c7069a7c755734dab1e776c16e656
2023-06-09 03:15:49 +00:00
Treehugger Robot
5950b039b3
Merge "Revert "mk2rbc: temporarily bump matching paths limit to 155. ""
2023-06-09 02:44:09 +00:00
Cole Faust
4b469ec3aa
Merge "Allowlist build_image and its dependencies" am: f1815ea326
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2620500
Change-Id: I29a8b14d27a61fcb36f346794b3db0b78db36706
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 01:08:28 +00:00
Cole Faust
319abae1c7
Remove --noexperimental_platform_in_output_dir
...
This is a followup to aosp/2606989.
This flag is not necessary now that we're using one platform name
for all of mixed builds.
Also rename current_product to mixed_builds_product so that it's clear
that that this platform should only be used for mixed builds.
In addition, make the bazelrc files point to the named products again
instead of the mixed build product so that b builds will still have
qualified outputs, but mixed builds won't.
Test: Presubmit and kernel build tools abtd run
Change-Id: I7f764cf42cd1323f4b495d1320931f59a076ac63
2023-06-08 17:58:35 -07:00
Cole Faust
f1815ea326
Merge "Allowlist build_image and its dependencies"
2023-06-09 00:29:27 +00:00
Treehugger Robot
2f69d2adfb
Merge changes from topic "cc_stem" am: f253d23e95
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2609265
Change-Id: I2eb1f21da7a4b146df85c37a1223be29c0ed4c18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 23:32:42 +00:00
Cole Faust
8ff3c63376
Revert "mk2rbc: temporarily bump matching paths limit to 155. "
...
This reverts commit 30d48351be
.
Reason for revert: The underlying issue was fixed in ag/23603641
Change-Id: Ibe2749c3bb7412132de6d96d178f54cd8d1d0666
2023-06-08 22:53:16 +00:00
Treehugger Robot
f253d23e95
Merge changes from topic "cc_stem"
...
* changes:
Remove modules from denylist
Update runpath for jni libs
bp2build support for stem
2023-06-08 22:38:34 +00:00
Cole Faust
17cd19c040
Allowlist build_image and its dependencies
...
Bug: 265127181
Test: Presubmits
Change-Id: Idd8508cd2ca549c75d918635b7eef36c8edd2ba0
2023-06-08 12:26:42 -07:00
Aditya Kumar
74ee1e97ad
Merge "[RISC-V] rv64gc_zbb for Android" am: 9d1a17d18a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2617535
Change-Id: I45f56d67d8a3bbcd09cf91cfe6df614d7eaa5f68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 17:42:54 +00:00
Himanshu Rawat
a2beb1cc43
Merge "Revert "Add exports needed for Doclava"" am: 4ead3a807d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2617527
Change-Id: I3b76daf7ad432bcfe37089b905048f24c2a72e9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 17:41:44 +00:00
Treehugger Robot
e1e90c7702
Merge "Reclassify OFL as notice per cl/537072410" am: 087642b8d2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2611894
Change-Id: If513bb050e2cdf6bf2983f965c2130a6009a4581
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 17:39:02 +00:00
Aditya Kumar
9d1a17d18a
Merge "[RISC-V] rv64gc_zbb for Android"
2023-06-08 17:12:26 +00:00
Himanshu Rawat
4ead3a807d
Merge "Revert "Add exports needed for Doclava""
2023-06-08 16:45:02 +00:00
Treehugger Robot
087642b8d2
Merge "Reclassify OFL as notice per cl/537072410"
2023-06-08 16:33:00 +00:00
Treehugger Robot
ee54f2c766
Merge "Add exports needed for Doclava" am: 02761e58a0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2617009
Change-Id: I8ed627f161e34e84c1ebebb0b86e8cb27cb1244e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 16:13:47 +00:00
Mårten Kongstad
3d8b6c4fc4
Merge "Change aconfig parameter from --namespace to --package" am: ab76e26ac8
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2607229
Change-Id: I866dacfda7d75a186c55f55c97e6019fccd9d6ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 16:13:25 +00:00
Himanshu Rawat
a39209b565
Revert "Add exports needed for Doclava"
...
Revert submission 2615972-b-270335653-doclava-search-imports
Reason for revert: DroidMonitor: Potential culprit for Bug 286398320 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted
Reverted changes: /q/submissionid:2615972-b-270335653-doclava-search-imports
Change-Id: Ibc3bdb301110b564e1427432a1b530e07bb840cd
2023-06-08 16:12:31 +00:00
Treehugger Robot
02761e58a0
Merge "Add exports needed for Doclava"
2023-06-08 15:35:48 +00:00
Mårten Kongstad
ab76e26ac8
Merge "Change aconfig parameter from --namespace to --package"
2023-06-08 15:12:10 +00:00
Treehugger Robot
f8e5110991
Merge "Revert "Remove --noexperimental_platform_in_output_dir"" am: ca69a6fc21
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2617276
Change-Id: I2e1695ee5e15f995c233b5bc773021cac104034d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 12:43:00 +00:00
Treehugger Robot
ca69a6fc21
Merge "Revert "Remove --noexperimental_platform_in_output_dir""
2023-06-08 12:10:14 +00:00
Matthias Männich
08ccec7c11
Revert "Remove --noexperimental_platform_in_output_dir"
...
This reverts commit 24af24e0f2
.
Reason for revert: Breaks kernel build tools build https://ci.android.com/builds/branches/aosp_kernel-build-tools/grid?head=10282004&tail=10282004
Change-Id: I486d7f305d44cfecc51a0e039cc41c0afa6495f3
2023-06-08 08:19:14 +00:00
Treehugger Robot
bc4a763c82
Merge "Remove --noexperimental_platform_in_output_dir" am: 731c4525ca
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2617536
Change-Id: I15d85c6f96ce03343bb490f7c7c8ec2402ffb6c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 06:18:16 +00:00
Treehugger Robot
731c4525ca
Merge "Remove --noexperimental_platform_in_output_dir"
2023-06-08 06:08:14 +00:00
Kiyoung Kim
db6f3b4f6c
Merge "Rename soong.environment.used with product name" am: fb8715c36e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2615109
Change-Id: Ibb681f4223a34575e67714b3201577568fe5f397
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 05:56:25 +00:00
Kiyoung Kim
fb8715c36e
Merge "Rename soong.environment.used with product name"
2023-06-08 05:03:09 +00:00
Treehugger Robot
27f54514fc
Merge changes Ia67986af,I79da6b75 am: 923f1fd3e2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2616470
Change-Id: I1f11845fb5920884a74bcce170b4fa4f4ad7f609
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 03:01:47 +00:00
Treehugger Robot
923f1fd3e2
Merge changes Ia67986af,I79da6b75
...
* changes:
Mixed builds support for prebuilt_* targets
Create GetPrebuiltFileInfo to Mixed builds cquery api
2023-06-08 02:05:57 +00:00
Kiyoung Kim
eaa55a8ce1
Rename soong.environment.used with product name
...
From the previous work on renaming build.ninja, it was found that there
are extra dependencies from build.ninja which can be varied by
TARGET_PRODUCT : which is soong.environment.used.<tag>. This change
renames soong.environment.used to have target product between 'used' and
'<tag>' if available.
Bug: 277029044
Test: Test confirmed that build.ninja is not being re-generated
Change-Id: I987b6bd1a8b4f06dac52537e4178d8556251d254
2023-06-08 01:07:47 +00:00
Yu Liu
37cab3bd1d
Merge "Only allowlist cfi enabled modules for apex variant." am: 0cba661b05
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2618219
Change-Id: Id218f3bad86b753b644a71e4e508e5bb16db4e6d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 00:51:03 +00:00
Yu Liu
0cba661b05
Merge "Only allowlist cfi enabled modules for apex variant."
2023-06-08 00:37:39 +00:00
Jooyung Han
97dd4a57b8
Merge "vendor apex: label apex_manifest as vendor_apex_metadata_file" am: 4137756d2d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2609750
Change-Id: I485551c156339086c5b9e2dba9ca34c5aa58d3fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 00:30:01 +00:00
Jooyung Han
4137756d2d
Merge "vendor apex: label apex_manifest as vendor_apex_metadata_file"
2023-06-07 23:59:59 +00:00
Spandan Das
756d3400d6
Mixed builds support for prebuilt_* targets
...
These targets do not have any build actions per se, but return a
PrebuiltFileInfo provider. Parse this info from cquery and generate the
appropriate installation rules and androidmk entries
Details
- Support the bp2build available properties. Not all properties have
been converted by bp2build yet, and those are being tracked in b/207489266
- Create a addInstallRules helper function to reduce duplication between
GenerateAndroidBuildActions and ProcessBazelQueryResponse
Test: unit test
Bug: 280094612
Change-Id: Ia67986af1dd2ff4712586dbec86ee9fda380f726
2023-06-07 22:08:35 +00:00
Spandan Das
bd1568178b
Create GetPrebuiltFileInfo to Mixed builds cquery api
...
prebuilt_file Bazel targets do not have any build actions per se, but
return a PrebuiltFileInfo provider that determines installation rules.
To integrate this info into mixed builds, add a `GetPrebuiltFileInfo` method to
the API.
Bug: 280094612
Test: unit tests for prebuilt_etc in the next CL of this stack
Change-Id: I79da6b75b6a6cbd30869860d3620aeda731ea36a
2023-06-07 22:08:30 +00:00
Treehugger Robot
478f918573
Merge "add apex_available_name variant_version to bp2build unit tests" am: 226354ab1d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2617532
Change-Id: Ia246538b2800665f02ef8ca78c90d432e11cb146
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-07 20:31:23 +00:00