Treehugger Robot
4a957251a4
Merge "Use result.Config.PrebuiltOS() to get prebuiltHost in test_spec_test" into main am: 9be9a126d1
am: b0f8d2a698
am: 22d89e0ab0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2841420
Change-Id: Id61cef9119b9daa1964dc661e3cca74684865a77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-22 02:27:06 +00:00
Treehugger Robot
b0f8d2a698
Merge "Use result.Config.PrebuiltOS() to get prebuiltHost in test_spec_test" into main am: 9be9a126d1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2841420
Change-Id: I2cc6db4f075abd030002b9b75c4a11098c0822c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-22 01:14:11 +00:00
Aditya Choudhary
356296240e
Use result.Config.PrebuiltOS() to get prebuiltHost in test_spec_test
...
Bug: 312536783
Bug: 312536905
Test: m nothing --no-skip-soong-tests -j96
Change-Id: I1e12281927269d42ae796348b223030acfd6ecfa
2023-11-21 23:14:01 +00:00
Aditya Choudhary
2b6cc30c21
Add test for soong/testing/test_spec. am: b7b3de8307
am: 64b6c645e8
am: 3b80477ff3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2836072
Change-Id: Ic88791dcbad6aef5325898c84a6f966133d18d52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 20:48:32 +00:00
Aditya Choudhary
64b6c645e8
Add test for soong/testing/test_spec. am: b7b3de8307
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2836072
Change-Id: Iec9eeceadbd2e86055a4f2e6eecd77443f7eb05a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 19:44:34 +00:00
Aditya Choudhary
07c048b875
Add test for soong/testing/test_spec. am: b7b3de8307
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2836072
Change-Id: I9d1266accf8fa098befce4d5d2924e63fef7d699
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 19:44:34 +00:00
Aditya Choudhary
b7b3de8307
Add test for soong/testing/test_spec.
...
This CL adds test for test_spec.go and all_test_specs.go (singleton).
Bug: 296873595
Test: m nothing --no-skip-soong-tests -j96
Change-Id: I5010c68512e75d1b9a337c02da86faac15e376fe
2023-11-21 17:31:07 +00:00
David Srbecky
1719f512f5
Merge "resourceshrinker: Add dexContainerExperiment flag" into main am: 3f7d0f6797
am: 918285adce
am: d56c89f1ac
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2828314
Change-Id: Ibf153e902f8ae7f209c060bd8b412b54cbc5d3b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 09:29:58 +00:00
David Srbecky
2afaecefef
Merge "resourceshrinker: Add dexContainerExperiment flag" into main am: 3f7d0f6797
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2828314
Change-Id: I7bafad2a6640244f16bd4d5986068b2e4bda882e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 08:43:52 +00:00
David Srbecky
918285adce
Merge "resourceshrinker: Add dexContainerExperiment flag" into main am: 3f7d0f6797
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2828314
Change-Id: I18e530107a0fe3c9185f86f7c69d37b49dd4e64f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 08:43:33 +00:00
David Srbecky
3f7d0f6797
Merge "resourceshrinker: Add dexContainerExperiment flag" into main
2023-11-21 08:30:23 +00:00
Colin Cross
1d470f3066
Change deps of ctx.Install* from Paths to InstallPaths am: 09ad3a6505
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2834991
Change-Id: Id63655decd89ecc2a8a0319b28c1c2ae26a14de7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-20 20:21:07 +00:00
Colin Cross
7dcb26f327
Change deps of ctx.Install* from Paths to InstallPaths am: 09ad3a6505
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2834991
Change-Id: I63828eebd77e8e88592107a6e5cee9c291cacb42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-20 20:20:36 +00:00
Colin Cross
09ad3a6505
Change deps of ctx.Install* from Paths to InstallPaths
...
Installed files should only depend on other installed files, change
the deps arguments of the ctx.Install* methods from Paths to
InstallPaths.
Bug: 311428265
Test: builds
Change-Id: I1ebef60a943bdbe907744cc43aa985371ac56d32
Merged-In: I1ebef60a943bdbe907744cc43aa985371ac56d32
2023-11-17 19:06:43 -08:00
Colin Cross
db25366860
Merge "Change deps of ctx.Install* from Paths to InstallPaths" into main
2023-11-17 23:29:34 +00:00
Colin Cross
5fcd83edaa
Change deps of ctx.Install* from Paths to InstallPaths
...
Installed files should only depend on other installed files, change
the deps arguments of the ctx.Install* methods from Paths to
InstallPaths.
Bug: 311428265
Test: builds
Ignore-AOSP-First: resolving conflict
Change-Id: I1ebef60a943bdbe907744cc43aa985371ac56d32
2023-11-17 11:05:39 -08:00
Anton Hansson
eaaaee2ca4
Merge "Re-enable the AnnotationExtraction error" into main
2023-11-17 16:25:29 +00:00
Anton Hansson
7ecf7e9331
Merge "Re-enable the InvalidNullabilityOverride check" into main
2023-11-17 11:19:21 +00:00
Inseob Kim
550a615b4d
Merge "Add support for auto-generated characteristics RRO" into main am: b5d713f2cb
am: 99913d4e59
am: 6b52e7aabe
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2817177
Change-Id: I7bca74e210529ae6c2fbcb7746e06b7d4a493e8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 06:47:43 +00:00
Inseob Kim
99913d4e59
Merge "Add support for auto-generated characteristics RRO" into main am: b5d713f2cb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2817177
Change-Id: Ie4a539f9001bdbd2fc91fedbfc9869a1c35b15d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 05:43:44 +00:00
Inseob Kim
7110872f1e
Merge "Add support for auto-generated characteristics RRO" into main am: b5d713f2cb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2817177
Change-Id: I7bcb17b8ef12327f604c2043b7b262b10c8d14d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 05:43:37 +00:00
Inseob Kim
b5d713f2cb
Merge "Add support for auto-generated characteristics RRO" into main
2023-11-17 05:02:28 +00:00
Inseob Kim
34dc4cd738
Add support for auto-generated characteristics RRO
...
Setting Generate_product_characteristics_rro will automatically generate
an RRO package which contains resources with
'product="{PRODUCT_CHARACTERISTICS}"'. The RRO package will be installed
to /product partition. The app will be compiled with '--product
default', making the app identical to all targets.
Motivation for this change is to minimize divergence of system.img.
Bug: 294799593
Test: boot and idmap2 dump
Change-Id: I1371f7410a1ecf337e1f73214b024af39aa6d57a
2023-11-17 11:15:32 +09:00
Treehugger Robot
d5f9767046
Merge "Add contribute_to_android_api property in java_sdk_library" into main am: 7fcb470251
am: 5c8f4f446d
am: eb07d02267
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2832851
Change-Id: I8c34010c6f3acbefa093d722116d83418ecc5f20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 23:50:56 +00:00
Treehugger Robot
5c8f4f446d
Merge "Add contribute_to_android_api property in java_sdk_library" into main am: 7fcb470251
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2832851
Change-Id: I9be66305f8b2da9ea8026bf197f578961e088ec7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 22:45:50 +00:00
Treehugger Robot
875f657986
Merge "Add contribute_to_android_api property in java_sdk_library" into main am: 7fcb470251
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2832851
Change-Id: I959ea33725b6222a3587e91a677e2efa94612caf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 22:45:42 +00:00
Treehugger Robot
7fcb470251
Merge "Add contribute_to_android_api property in java_sdk_library" into main
2023-11-15 22:25:22 +00:00
Colin Cross
3bccd2a114
Merge "Stop collecting path entry for module_bp_java_deps.json from each module type" into main am: d7812415c3
am: d50b463e66
am: 2b8a10bfa9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2831928
Change-Id: I902074c1744b77317f593aed8d5ab2b504ab6904
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 21:54:22 +00:00
Colin Cross
a46cd009b6
Merge "Stop collecting path entry for module_bp_java_deps.json from each module type" into main am: d7812415c3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2831928
Change-Id: Id1f7261d8b8d40b058b91d7fff9eaedbf395fff8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 21:21:42 +00:00
Colin Cross
d50b463e66
Merge "Stop collecting path entry for module_bp_java_deps.json from each module type" into main am: d7812415c3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2831928
Change-Id: I13c077e58d39a86ce14d3b89551b369d6a9cc5fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 21:19:28 +00:00
Colin Cross
d7812415c3
Merge "Stop collecting path entry for module_bp_java_deps.json from each module type" into main
2023-11-15 21:01:38 +00:00
Jihoon Kang
80456fdec4
Add contribute_to_android_api property in java_sdk_library
...
The default-false bool property `contribute_to_android_api` will be used to signify whether the java_sdk_library module contributes to an api
surface (i.e. listed in frameworks-base-api.bootclasspath or not).
If the property is set to true, the module's stub jar can be
generated from .txt files.
Currently, the property is a no-op. The property will be utilized in the
child changes.
Test: m nothing
Bug: 276958307
Change-Id: I617802ec352c7055579ce92ea3de43f10cac1da4
2023-11-15 20:40:37 +00:00
Colin Cross
a644c263dd
Stop collecting path entry for module_bp_java_deps.json from each module type
...
The jdepsGeneratorSingleton can get the module path directly, it doesn't
need to be collected by each module type that implements IDEInfo. Fixes
module types (like android_library) that didn't reach the code that
collected the path.
Bug: 309835196
Test: out/soong/module_bp_java_deps.json contains path for ExtServices.core
Change-Id: If8cb81b4f708e0367f156ade164bee253bf53492
2023-11-15 11:40:48 -08:00
Aditya Choudhary
a8348d3805
Merge "Add proto for Test ownership metadata." into main am: d97bf36469
am: beff7f2a0a
am: 3c5da107ee
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2774872
Change-Id: Iabb50bbc44dbb51183b6ee97c14d157e460782de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 12:39:16 +00:00
Aditya Choudhary
188979638c
Merge "Add proto for Test ownership metadata." into main am: d97bf36469
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2774872
Change-Id: Ibaee3387122face18ea83b77850ef65959771d79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 11:20:30 +00:00
Aditya Choudhary
beff7f2a0a
Merge "Add proto for Test ownership metadata." into main am: d97bf36469
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2774872
Change-Id: Idae0ffe939cb25b9c8626a39d036535691ee38f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 11:19:37 +00:00
Aditya Choudhary
d97bf36469
Merge "Add proto for Test ownership metadata." into main
2023-11-15 10:30:50 +00:00
Aditya Choudhary
9b59352a82
Add proto for Test ownership metadata.
...
This Cl adds a new rule to Soong to generate test spec metadata. Also, this CL adds a provider in various test module to provide test spec related data to the Soong rule.
Will add providers and test code to other Module in the future changes.
Provider added for the following test modules in this change: android_robolectric_test, android_test, bootclasspath_fragment_test, java_test, java_test_host, python_test, python_test_host, sh_test,and sh_test_host.
Bug: 296873595
Change-Id: I5f89f72d5874bb7838ae357efdb8c6ca208e18a7
2023-11-15 09:08:02 +00:00
Alyssa Ketpreechasawat
4192f520b8
Merge "Skip unknown check in bootclasspath_fragment (source version) if prebuilt version is in use." into main am: 378c7a3953
am: 4e56c8b8ac
am: db03242540
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2822393
Change-Id: Ibf4177f2cbad2c4022291d7e44ef7aa4bfd15ab2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-14 20:42:55 +00:00
Alyssa Ketpreechasawat
fb6abbc305
Merge "Skip unknown check in bootclasspath_fragment (source version) if prebuilt version is in use." into main am: 378c7a3953
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2822393
Change-Id: Ifb8a17a7dbf6f73bb727b2fce78b622cb09181a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-14 19:46:02 +00:00
Alyssa Ketpreechasawat
4e56c8b8ac
Merge "Skip unknown check in bootclasspath_fragment (source version) if prebuilt version is in use." into main am: 378c7a3953
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2822393
Change-Id: Ie94799e955a6dc3d4a31c2ea0376945a2982e8fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-14 19:44:58 +00:00
Alyssa Ketpreechasawat
378c7a3953
Merge "Skip unknown check in bootclasspath_fragment (source version) if prebuilt version is in use." into main
2023-11-14 19:13:32 +00:00
David Srbecky
8f354780e6
resourceshrinker: Add dexContainerExperiment flag
...
Bug: 249922554
Test: build with CL/2238838
Change-Id: I369ebe616caa9ae880b71abb0bafa3f909ebcdae
2023-11-14 12:06:50 +00:00
Treehugger Robot
975d4d70cd
Merge "Change OnlyPreoptBootImageAndSystemServer to OnlyPreoptArtBootImage." into main am: 34778a9301
am: 4aa0474c14
am: ceaeebb4d9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2822402
Change-Id: Id3305a2b8cc4b8a4cae748a1016a8a59353470db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-10 21:13:01 +00:00
Treehugger Robot
1c9977aece
Merge "Change OnlyPreoptBootImageAndSystemServer to OnlyPreoptArtBootImage." into main am: 34778a9301
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2822402
Change-Id: Ib046322e1c6c6416b9e156630db46f7f8fe5c59f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-10 19:20:07 +00:00
Treehugger Robot
4aa0474c14
Merge "Change OnlyPreoptBootImageAndSystemServer to OnlyPreoptArtBootImage." into main am: 34778a9301
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2822402
Change-Id: I7a3d9febdd7fbef957e3f295784776985aabf9c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-10 19:18:23 +00:00
Treehugger Robot
34778a9301
Merge "Change OnlyPreoptBootImageAndSystemServer to OnlyPreoptArtBootImage." into main
2023-11-10 18:47:19 +00:00
Anton Hansson
a6ae274e3b
Re-enable the AnnotationExtraction error
...
This prevents errors in typedef definitions. Re-enable it.
Ignore-AOSP-First: This error is not being re-enabled in AOSP yet
Bug: 309971481
Test: m checkapi
Change-Id: If9f0e580cda62d0021e82b1831746b3d15d1bfbd
2023-11-10 16:19:27 +00:00
Anton Hansson
d972a088d9
Re-enable the InvalidNullabilityOverride check
...
It's been disabled previously due to pre-existing failures. Baseline
those and remove the disabling.
Ignore-AOSP-First: This error is not being re-enabled in AOSP yet
Bug: 222738070
Test: m checkapi
Change-Id: I3382152186d7d8f63da7c1cc95d3ef962f422642
2023-11-10 09:57:55 +00:00
Anton Hansson
8de1f48965
Merge "Re-enable the bannedThrow check" into main
2023-11-09 20:50:00 +00:00