Merge "Add emptyFixtureFactory in java package"

This commit is contained in:
Paul Duffin
2021-03-18 08:40:03 +00:00
committed by Gerrit Code Review

View File

@@ -48,9 +48,10 @@ func tearDown() {
os.RemoveAll(buildDir) os.RemoveAll(buildDir)
} }
var emptyFixtureFactory = android.NewFixtureFactory(&buildDir)
// Factory to use to create fixtures for tests in this package. // Factory to use to create fixtures for tests in this package.
var javaFixtureFactory = android.NewFixtureFactory( var javaFixtureFactory = emptyFixtureFactory.Extend(
&buildDir,
genrule.PrepareForTestWithGenRuleBuildComponents, genrule.PrepareForTestWithGenRuleBuildComponents,
// Get the CC build components but not default modules. // Get the CC build components but not default modules.
cc.PrepareForTestWithCcBuildComponents, cc.PrepareForTestWithCcBuildComponents,