summaryrefslogtreecommitdiff
path: root/xml/xml_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'xml/xml_test.go')
-rw-r--r--xml/xml_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/xml/xml_test.go b/xml/xml_test.go
index f8ec82356..abcb1085f 100644
--- a/xml/xml_test.go
+++ b/xml/xml_test.go
@@ -20,6 +20,7 @@ import (
"testing"
"android/soong/android"
+ "android/soong/etc"
)
var buildDir string
@@ -57,7 +58,7 @@ func testXml(t *testing.T, bp string) *android.TestContext {
}
config := android.TestArchConfig(buildDir, nil, bp, fs)
ctx := android.NewTestArchContext()
- ctx.RegisterModuleType("prebuilt_etc", android.PrebuiltEtcFactory)
+ ctx.RegisterModuleType("prebuilt_etc", etc.PrebuiltEtcFactory)
ctx.RegisterModuleType("prebuilt_etc_xml", PrebuiltEtcXmlFactory)
ctx.Register(config)
_, errs := ctx.ParseFileList(".", []string{"Android.bp"})