Update app tests to set Unbundled_build
Based on the description for UnbundledBuildApps(), UnbundledBuild() should always be true when UnbundledBuildApps() is true. Updating the test to match this condition. More details: https://android-review.git.corp.google.com/c/platform/build/soong/+/2380693/comment/54f172b4_2eee54fa/ Bug: b/227460469 Test: m nothing Change-Id: I3a93edb781522da5af201f6864e157e7bab2195a
This commit is contained in:
@@ -3163,6 +3163,7 @@ func TestDefaultAppTargetSdkVersionForUpdatableModules(t *testing.T) {
|
||||
variables.Platform_sdk_version = &platform_sdk_version
|
||||
variables.Platform_sdk_codename = &platform_sdk_codename
|
||||
variables.Platform_version_active_codenames = []string{platform_sdk_codename}
|
||||
variables.Unbundled_build = proptools.BoolPtr(true)
|
||||
variables.Unbundled_build_apps = []string{"sampleModule"}
|
||||
}),
|
||||
)
|
||||
@@ -3241,6 +3242,7 @@ func TestEnforceDefaultAppTargetSdkVersionFlag(t *testing.T) {
|
||||
variables.Platform_sdk_final = &testCase.platform_sdk_final
|
||||
variables.Platform_sdk_version = &platform_sdk_version
|
||||
variables.Platform_sdk_codename = &platform_sdk_codename
|
||||
variables.Unbundled_build = proptools.BoolPtr(true)
|
||||
variables.Unbundled_build_apps = []string{"sampleModule"}
|
||||
}),
|
||||
)
|
||||
@@ -3311,6 +3313,7 @@ func TestEnforceDefaultAppTargetSdkVersionFlagForTests(t *testing.T) {
|
||||
variables.Platform_sdk_final = &testCase.platform_sdk_final
|
||||
variables.Platform_sdk_version = &platform_sdk_version
|
||||
variables.Platform_sdk_codename = &platform_sdk_codename
|
||||
variables.Unbundled_build = proptools.BoolPtr(true)
|
||||
variables.Unbundled_build_apps = []string{"sampleModule"}
|
||||
}),
|
||||
)
|
||||
|
Reference in New Issue
Block a user