Declare manifest as input to test config fixer.
It needs to be an implicit input for it to work consistently. Test: m GooglePermissionControllerUnitTests Bug: 145011263 Change-Id: Ib71d768e750faa5b577652e79a18d05929bde52f
This commit is contained in:
@@ -646,7 +646,7 @@ func (a *AndroidTest) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
|||||||
fixedConfig := android.PathForModuleOut(ctx, "test_config_fixer", "AndroidTest.xml")
|
fixedConfig := android.PathForModuleOut(ctx, "test_config_fixer", "AndroidTest.xml")
|
||||||
rule := android.NewRuleBuilder()
|
rule := android.NewRuleBuilder()
|
||||||
rule.Command().BuiltTool(ctx, "test_config_fixer").
|
rule.Command().BuiltTool(ctx, "test_config_fixer").
|
||||||
FlagWithArg("--manifest ", a.manifestPath.String()).
|
FlagWithInput("--manifest ", a.manifestPath).
|
||||||
FlagWithArg("--package-name ", *a.overridableAppProperties.Package_name).
|
FlagWithArg("--package-name ", *a.overridableAppProperties.Package_name).
|
||||||
Input(a.testConfig).
|
Input(a.testConfig).
|
||||||
Output(fixedConfig)
|
Output(fixedConfig)
|
||||||
|
Reference in New Issue
Block a user