From 4b79e98a6e4f882d6bbb882e9fed626e0c490bd7 Mon Sep 17 00:00:00 2001 From: Jaewoong Jung Date: Mon, 1 Jun 2020 10:45:49 -0700 Subject: Soong package structure refactoring Give prebuilt_etc and sh_binary their own packages and split the gigantic main Android.bp up to small, per-package ones. Test: m nothing, TreeHugger Bug: 156980228 Change-Id: I7b00cd344b9f16861f1ff39edf0029f016b853d0 --- xml/xml_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xml/xml_test.go') 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"}) -- cgit v1.2.3-59-g8ed1b