android_build_soong/sdk
Jihoon Kang 85bc193805 Revert^4 "Implement detecting container violations."
This change introduces a method to detect violating inter-container
dependencies between modules. The method is run in
`ModuleBase.GenerateBuildActions`, after the container info provider is
set. Given that the provider of the direct dependencies would have been
set at this time, the method utilizes this information to determine
the violations, which are introduced in https://r.android.com/3141104.

Note that this enforcement does not turn all inter-container
dependencies as errors. Instead, it will only turn dependencies that
matches the pre-defined violations into errors. Even if the dependency
matches the violation, an error will not be thrown if the dependency
satisfies any of the exception functions (e.g. the dependent module is
stubs, or the two modules belong to the same apexes).

Test: m nothing --no-skip-soong-tests
Bug: 338660802
Change-Id: Ib9ddc0761fa46f1309b1a1a4f759d9a4e04fd70e
2024-08-29 17:55:00 +00:00
..
Android.bp Add sdk_genrule 2023-12-13 14:11:24 -08:00
bootclasspath_fragment_sdk_test.go Revert^4 "Implement detecting container violations." 2024-08-29 17:55:00 +00:00
bp.go don't export systemserverclasspath_fragment if contents are empty 2023-06-30 15:25:16 -04:00
bp_test.go Replace AssertPanic with AssertPanicMessageContains 2021-03-20 12:08:51 +00:00
build_release.go Add UpsideDownCake to the releases for which snapshots can be built 2022-09-30 09:41:08 +01:00
build_release_test.go Add UpsideDownCake to the releases for which snapshots can be built 2022-09-30 09:41:08 +01:00
cc_sdk_test.go Add C symbol file to module sdk snapshot 2024-07-23 22:18:00 +00:00
compat_config_sdk_test.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
exports.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
exports_test.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
genrule.go Add sdk_genrule 2023-12-13 14:11:24 -08:00
genrule_test.go Add sdk_genrule 2023-12-13 14:11:24 -08:00
java_sdk_test.go Add PrepareForTestWithBuildFlag 2024-08-09 16:47:45 -07:00
license_sdk_test.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
member_trait.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
member_trait_test.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
member_type.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
sdk.go Use OutputFilesProvider on sdk 2024-06-18 15:15:38 -07:00
sdk_test.go Add PrepareForTestWithBuildFlag 2024-08-09 16:47:45 -07:00
systemserverclasspath_fragment_sdk_test.go Revert^4 "Implement detecting container violations." 2024-08-29 17:55:00 +00:00
testing.go Add current build release 2022-08-19 17:39:49 +00:00
update.go Make the WholeStatic/Static/Shared libs properties configurable 2024-08-19 14:39:19 -07:00