diff options
| author | 2021-03-18 08:40:03 +0000 | |
|---|---|---|
| committer | 2021-03-18 08:40:03 +0000 | |
| commit | 93b61b49ddc576d93c1b64d23c851b3475007c26 (patch) | |
| tree | 5d4f098c2ab0a37d29ed1a9da10aac3d3a6e2510 /java/java_test.go | |
| parent | 177cba31cfa7a0e1176d10b3b21acf727c2e2d14 (diff) | |
| parent | afeee22c17ee20ea118d7cfdb8edebfcc7e388a1 (diff) | |
Merge "Add emptyFixtureFactory in java package"
Diffstat (limited to 'java/java_test.go')
| -rw-r--r-- | java/java_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/java_test.go b/java/java_test.go index 2eb724185..990e0102e 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -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, |