Merge "Add emptyFixtureFactory in java package" am: 93b61b49dd
am: f2dec10262
am: 22ec063dff
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642105 Change-Id: I0a53f4b11d41d440745aff9966efae725d3f2471
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user