Merge "Clean up cc.RegisterRequiredBuildComponentsForTest()"

This commit is contained in:
Paul Duffin
2021-03-06 08:43:56 +00:00
committed by Gerrit Code Review
4 changed files with 10 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ import (
"strings"
"testing"
"android/soong/genrule"
"github.com/google/blueprint/proptools"
"android/soong/android"
@@ -79,6 +80,8 @@ func testContext(config android.Config) *android.TestContext {
android.RegisterPrebuiltMutators(ctx)
genrule.RegisterGenruleBuildComponents(ctx)
// Register module types and mutators from cc needed for JNI testing
cc.RegisterRequiredBuildComponentsForTest(ctx)