Treehugger Robot
c59a128390
Merge "Restrict R8 -libraryjars refs for stable targets" into main am: 0fd3de6151
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3233562
Change-Id: I719d8ec110b692833aed69550f24eaa7159de6f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 22:37:26 +00:00
Treehugger Robot
0fd3de6151
Merge "Restrict R8 -libraryjars refs for stable targets" into main
2024-08-20 22:31:28 +00:00
Yu Liu
0dea28eafa
Merge "Use namespace path instead of id in phonies." into main am: 1c794c66c7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3233249
Change-Id: If463afcb4481c662d61e6f2d8ab153e154b1c875
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 22:07:38 +00:00
Yu Liu
1c794c66c7
Merge "Use namespace path instead of id in phonies." into main
2024-08-20 22:02:07 +00:00
Jared Duke
2246844554
Restrict R8 -libraryjars refs for stable targets
...
The current R8 dex pipeline gathers transitive header jars to avoid
issues with missing class definitions. While this is benign for
platform targets not using a stable SDK, it can introduce issues
for stable targets (e.g., duplicate class defs for mainline framework
modules).
Bypass this transitive jar referencing for such targets that should
reference explicit, stable, stub API libraries. A follow-up change
will resolve specific issues with mainline system server targets.
Bug: 360905238
Test: m
Change-Id: I11a136d33ca9dd0dfff436c7045bf1807d17b1e7
2024-08-20 20:45:35 +00:00
Cole Faust
0821a8cf57
Merge "Only add deps on java_binary's jni_libs on host" into main am: b4cc88efef
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3230584
Change-Id: I5a6588ee4724f6b128e0e2ed5092b3f52c57996c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 20:13:16 +00:00
Cole Faust
b4cc88efef
Merge "Only add deps on java_binary's jni_libs on host" into main
2024-08-20 20:03:54 +00:00
Treehugger Robot
3c5ac75112
Merge "Encode directly into file" into main am: 800bde1021
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3211628
Change-Id: I4fecc12fec9384227c38a1b246acff06c54f4224
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 19:38:40 +00:00
Treehugger Robot
800bde1021
Merge "Encode directly into file" into main
2024-08-20 19:36:46 +00:00
Yu Liu
460c0fa8b4
Use namespace path instead of id in phonies.
...
Otherwise the phones' names depend on the sorting order of all the
namespaces, which add unnecessary dependencies.
Bug: 358425833
Test: CI
Change-Id: Ic88a329ff320e508ece8e3b20c7497a28a619276
2024-08-20 19:34:49 +00:00
Elliott Hughes
5f9ff58115
Merge "Use -fno-omit-frame-pointer for host windows." into main am: 8f977d2982
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3232540
Change-Id: I0ed83e7f23251f153e1a231335daead219c155b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 19:28:39 +00:00
Elliott Hughes
d9d6f173b5
Merge "Use -fno-omit-frame-pointer for host darwin." into main am: ed524b6313
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3232620
Change-Id: I8996aacd23876ba92dd820026628705a29c8dca9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 19:27:56 +00:00
Elliott Hughes
8f977d2982
Merge "Use -fno-omit-frame-pointer for host windows." into main
2024-08-20 19:20:21 +00:00
Elliott Hughes
ed524b6313
Merge "Use -fno-omit-frame-pointer for host darwin." into main
2024-08-20 19:20:02 +00:00
Cole Faust
3dac486013
Only add deps on java_binary's jni_libs on host
...
The jni_libs property of java_binary is documented to only install
the jni libraries on host. However, it was adding installable
deptag deps on those libraries, even if they were for device. This
caused soong to emit installation rules for the jni libraries, causing
them to be installed to the staging directory, but not emitting
proper information to make, so they wouldn't be included on the built
partitions.
Only install them if the module is built for host, so that they don't
erroneously appear in the staging directory.
Bug: 344695913
Test: Presubmits
Change-Id: Ic40b4fc6d7dbd51c03b08e28037be5428db49c33
2024-08-20 11:44:04 -07:00
Yu Liu
b5ae3f66a2
Merge "Add phonies as provider instead of updaing a global map." into main am: ee5b92fd6c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3229623
Change-Id: I3a075db80ad7c45067b080a2df8c50fc56b40b64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 16:02:36 +00:00
Yu Liu
ee5b92fd6c
Merge "Add phonies as provider instead of updaing a global map." into main
2024-08-20 15:56:33 +00:00
Elliott Hughes
7ae6c16f51
Use -fno-omit-frame-pointer for host windows.
...
Helps with debugging/profiling.
Bug: http://b/245707217
Change-Id: I6c163c67a04ab53a0b8a00edb233e6d60404f0a4
2024-08-20 15:09:39 +00:00
Elliott Hughes
67612c37f1
Use -fno-omit-frame-pointer for host darwin.
...
Helps with debugging/profiling.
Bug: http://b/245707217
Change-Id: Ifbe2f6d05059d4ffee5c33ddec743188164100ef
2024-08-20 15:07:30 +00:00
Cole Faust
83fcbf8350
Merge "Add $(build_number_file) support to genrules" into main am: cda9ce15ff
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3225783
Change-Id: I3e1a5224278a962a9eb6b9fb7f186e63d9d4f668
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 05:05:33 +00:00
Cole Faust
cda9ce15ff
Merge "Add $(build_number_file) support to genrules" into main
2024-08-20 04:57:41 +00:00
Treehugger Robot
7af3d43dfb
Merge "apex: apex_available with prefix" into main am: d4daa43150
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3223005
Change-Id: I080db49d61b8cc66a2ba2c71ae4be0eebb856f5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 02:51:20 +00:00
Treehugger Robot
d4daa43150
Merge "apex: apex_available with prefix" into main
2024-08-20 02:45:22 +00:00
Jooyung Han
9a419e28f5
apex: apex_available with prefix
...
We now support prefix form (com.foo.*) in apex_available list.
Bug: 360265761
Test: m --no-skip-soong-tests
Change-Id: I50ab884651dd6321950cfd4563b59ef3ed0f07fd
2024-08-20 10:50:04 +09:00
Treehugger Robot
bb6f99a0c0
Merge "Convert $(call soong_config_set_bool) to rbc" into main am: 2d2df8cbfd
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3230983
Change-Id: I317c85bd29a65735d3f5c058654c94fc614def6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 01:37:26 +00:00
Treehugger Robot
2d2df8cbfd
Merge "Convert $(call soong_config_set_bool) to rbc" into main
2024-08-20 01:32:07 +00:00
Qing Shen
bf74127850
Merge "Add a coverage suffix to avoid Ninja file regeneration." into main am: ff545caecd
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3207217
Change-Id: Id62c886c0213fde81ab6a5834828c2a31c2d207e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-20 01:19:53 +00:00
Qing Shen
ff545caecd
Merge "Add a coverage suffix to avoid Ninja file regeneration." into main
2024-08-20 01:16:53 +00:00
Cole Faust
5914aae79d
Convert $(call soong_config_set_bool) to rbc
...
Bug: 342006386
Test: go test
Change-Id: I4729f25209d1d548b7b75c4d5bf2744ae4dcc31d
2024-08-19 17:34:46 -07:00
Cole Faust
78f3c3a3ad
Add $(build_number_file) support to genrules
...
Genrules that set uses_order_only_build_number_file: true will now
have the ability to reference a $(build_number_file) label that
will point to the build number file. It will also caused the build
number file to be added as an order-only dependency, which will make
it show up in the genrule sandbox.
This is needed for converting make code that references the build
number to soong, and for sandboxing the remaining unsandboxed genrules
that reference the build number.
Bug: 341873065
Test: m nothing --no-skip-soong-tests
Change-Id: I9092cbb0eb39c5449a79f0ee40a4202262cef206
2024-08-19 16:06:34 -07:00
Cole Faust
ba4d002aaf
Merge "Make the WholeStatic/Static/Shared libs properties configurable" into main am: 5b1a39a92a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3229386
Change-Id: Ifc8f019a075c397e513fa702e5302613fa2687d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-19 22:51:15 +00:00
Cole Faust
5b1a39a92a
Merge "Make the WholeStatic/Static/Shared libs properties configurable" into main
2024-08-19 22:48:16 +00:00
Xin Li
3b449ccfb1
Merge "Merge aosp-24Q3-ts-dev" into aosp-main-future
2024-08-19 22:38:58 +00:00
Yu Liu
54513622f7
Add phonies as provider instead of updaing a global map.
...
Bug: 358425833
Test: Manually compare the generated mk and ninja files.
Change-Id: Ie74b620fc680ca2fc0d7836e88361ab3bdb87c49
2024-08-19 21:45:07 +00:00
Cole Faust
f0006e7137
Make the WholeStatic/Static/Shared libs properties configurable
...
So that you can use selects with them.
Bug: 342006386
Bug: 358377461
Test: m nothing --no-skip-soong-tests
Change-Id: I5a8350f670d51b7da411ad5c3cdbf5f2d6cdd63b
2024-08-19 14:39:19 -07:00
Ronald Braunstein
5d10410133
Merge "Search for default_team in Android.bp when other .bp files are included." into main am: ea66cdd278
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3221923
Change-Id: I3b16fd0920c99a2fc7833aacd19341a288579a4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-19 20:13:51 +00:00
Ronald Braunstein
ea66cdd278
Merge "Search for default_team in Android.bp when other .bp files are included." into main
2024-08-19 19:54:10 +00:00
Colin Cross
a362352f2a
Merge "Add test for interactions between product variables and arch variant properties" into main am: 67478b347e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3221984
Change-Id: I98e61c07bc0eebb264085af55cdf2d294c9d1be2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-19 16:36:11 +00:00
Colin Cross
67478b347e
Merge "Add test for interactions between product variables and arch variant properties" into main
2024-08-19 16:19:34 +00:00
Treehugger Robot
903a500065
Merge changes Ia0e1b307,I63c7c33e into main am: a5289ac9ef
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3216639
Change-Id: I5de31ae329756b4fd028e58e1bf9299eb3ad8347
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-17 04:43:09 +00:00
Treehugger Robot
a5289ac9ef
Merge changes Ia0e1b307,I63c7c33e into main
...
* changes:
Define unstable container
Define additional exception functions for container enforcement
2024-08-17 04:07:00 +00:00
Jihoon Kang
0f3b1a7288
Define unstable container
...
Unstable container marks modules that are static reverse dependencies of
"framework-minus-apex". These modules contain unstable implementation
details of the platform, and should not be accessed by the CTS tests.
Test: m nothing
Bug: 338660802
Change-Id: Ia0e1b3070f0f7b2c1b9c27306323e2428d9722ca
2024-08-16 22:57:57 +00:00
Jihoon Kang
224ea08ee6
Define additional exception functions for container enforcement
...
These exception functions allow restriction to be loosened for some
inter-container dependencies.
Note that these functions are still no-op. Restriction enforcement will
be done in the child change.
Test: m nothing
Bug: 338660802
Change-Id: I63c7c33e33f271d4c2a84cc6070eb4896e030ab4
2024-08-16 22:57:39 +00:00
Colin Cross
11b14d2eda
Merge "Track resources separately in java_import" into main am: 7c2af51a3d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3221407
Change-Id: Ib4bd8f81be30ef3c82244f24bf267bdbb7363c60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-16 22:31:35 +00:00
Treehugger Robot
48f28c9232
Merge "Clean up: remove com.android.gki.*" into main am: 75b14ee1a6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3223004
Change-Id: Ia630547bc9458b60ec31c7cc50a3cba762f11334
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-16 22:31:19 +00:00
Colin Cross
5e989b554c
Merge "Convert more stored WritablePaths to Paths" into main am: 6ca3f758d0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3221406
Change-Id: I162b94190cb28fa7f74901557d9b45c313b1b66a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-16 22:30:59 +00:00
Colin Cross
7c2af51a3d
Merge "Track resources separately in java_import" into main
2024-08-16 22:30:33 +00:00
Treehugger Robot
099f466484
Merge "Run "ravenizer" on ravenwood jars" into main am: 08e76d9591
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3225782
Change-Id: I1c9c6faadae080fd32d769b1acafc090ed1d85e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-16 22:30:08 +00:00
Yu Liu
a5c0d1f355
Merge "Remove more internal fields from ModuleBase." into main am: fb995a1e3c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3221927
Change-Id: Icafa7150b5320cbff6dffaef15453a078f39c9a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-16 22:27:52 +00:00
Treehugger Robot
75b14ee1a6
Merge "Clean up: remove com.android.gki.*" into main
2024-08-16 22:22:19 +00:00