diff options
author | Karima Ichou <karimai@google.com> | 2022-05-13 15:10:05 +0100 |
---|---|---|
committer | Karima Ichou <karimai@google.com> | 2022-05-16 18:29:16 +0000 |
commit | 8c0fc8ddde8f0cdae8ad6c5b91663f83b2b7bb4e (patch) | |
tree | 87daae18b331a4ad88ac58bd9e03ee8418746068 /android-test-framework | |
parent | 2b7a9696150e99b0bad75692d16dedabee0c62b2 (diff) | |
download | idea-8c0fc8ddde8f0cdae8ad6c5b91663f83b2b7bb4e.tar.gz |
[Unit Tests] Add compiler output info for GradleSourceSets.
Now that we use MPSS, we do have all the Gradle sources as modules, and
they should also specify information about the compiler output paths.
Bug: N/A
Test: verified manually through running tests with coverage.
Change-Id: I1e08d7229542481b1ae06306bb3cc43d873f98a2
Diffstat (limited to 'android-test-framework')
-rw-r--r-- | android-test-framework/testSrc/com/android/tools/idea/testing/AndroidGradleTestUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android-test-framework/testSrc/com/android/tools/idea/testing/AndroidGradleTestUtils.kt b/android-test-framework/testSrc/com/android/tools/idea/testing/AndroidGradleTestUtils.kt index 7314445d460..348cba06f23 100644 --- a/android-test-framework/testSrc/com/android/tools/idea/testing/AndroidGradleTestUtils.kt +++ b/android-test-framework/testSrc/com/android/tools/idea/testing/AndroidGradleTestUtils.kt @@ -1959,7 +1959,7 @@ private fun setupDataNodesForSelectedVariant( } ?: return@forEach // Now we need to recreate these nodes using the information from the new variant. - moduleNode.setupCompilerOutputPaths(newVariant) + moduleNode.setupCompilerOutputPaths(newVariant, false) // Then patch in any Kapt generated sources that we need val libraryFilePaths = LibraryFilePaths.getInstance(project) moduleNode.setupAndroidDependenciesForMpss({ path: GradleSourceSetProjectPath -> moduleIdToDataMap[path] }, { id -> |