Add emptyFixtureFactory in java package

Bug: 182402754
Test: m nothing
Change-Id: I6a01b846a8aee5a0ace9e6ac056ee439bf6f12f7
This commit is contained in:
Paul Duffin 2021-03-17 00:36:35 +00:00
parent 961543309f
commit afeee22c17
1 changed files with 3 additions and 2 deletions

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,