Ignore some properties for T and above.
As requested by reminv@, their team wants the source code in sc-mainline-prod to be strictly the same as the code in AOSP. Therefore, we need to ignore `standalone_contents` in the `systemserverclasspath_fragment` module and `systemserverclasspath_fragments` in the `sdk` module in order to merge aosp/1925682 into sc-mainline-prod. - `standalone_contents` in the `systemserverclasspath_fragment` module does nothing but adds its contents as dependencies of the APEX. - `systemserverclasspath_fragments` in the `sdk` module does nothing. Bug: 203198541 Test: TARGET_BUILD_APPS=com.android.tethering vendor/google/build/mainline_modules_bundles.sh Change-Id: I56ca22aa91a807cd113dfda2fabaeb49ecabe289 Merged-In: I09a6fd1d3db85c194330da9b751702a9bf069e26
This commit is contained in:
@@ -99,7 +99,7 @@ func TestPlatformSystemServerClasspathModule_AndroidMkEntries(t *testing.T) {
|
||||
func TestSystemServerClasspathFragmentWithoutContents(t *testing.T) {
|
||||
prepareForTestWithSystemServerClasspath.
|
||||
ExtendWithErrorHandler(android.FixtureExpectsAtLeastOneErrorMatchingPattern(
|
||||
`\Qempty contents are not allowed\E`)).
|
||||
`\QEither contents or standalone_contents needs to be non-empty\E`)).
|
||||
RunTestWithBp(t, `
|
||||
systemserverclasspath_fragment {
|
||||
name: "systemserverclasspath-fragment",
|
||||
|
Reference in New Issue
Block a user