Merge "Add emptyFixtureFactory in java package" am: 93b61b49dd

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642105

Change-Id: I7b0434c39d81563aa6e293ca83edb5fb04ad93a7
This commit is contained in:
Paul Duffin
2021-03-18 08:55:06 +00:00
committed by Automerger Merge Worker

View File

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