summaryrefslogtreecommitdiff
path: root/xml/xml.go
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2020-06-04 16:48:42 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-06-04 16:48:42 +0000
commit30167e8003991a2afc4f4b69864dddb0f9007211 (patch)
tree73a558d74a22ead1dffb44e27f22e6a2ced1c69f /xml/xml.go
parent8383972ec0a4c2cc5129c4b92cfb8dbe79766987 (diff)
parentfccad6b09888792a0b156f9ff1b2558810006244 (diff)
Merge "Soong package structure refactoring" into rvc-dev
Diffstat (limited to 'xml/xml.go')
-rw-r--r--xml/xml.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/xml/xml.go b/xml/xml.go
index 3a680eca3..8810ae4d5 100644
--- a/xml/xml.go
+++ b/xml/xml.go
@@ -16,6 +16,7 @@ package xml
import (
"android/soong/android"
+ "android/soong/etc"
"github.com/google/blueprint"
"github.com/google/blueprint/proptools"
@@ -62,7 +63,7 @@ type prebuiltEtcXmlProperties struct {
}
type prebuiltEtcXml struct {
- android.PrebuiltEtc
+ etc.PrebuiltEtc
properties prebuiltEtcXmlProperties
}
@@ -121,7 +122,7 @@ func (p *prebuiltEtcXml) GenerateAndroidBuildActions(ctx android.ModuleContext)
func PrebuiltEtcXmlFactory() android.Module {
module := &prebuiltEtcXml{}
module.AddProperties(&module.properties)
- android.InitPrebuiltEtcModule(&module.PrebuiltEtc, "etc")
+ etc.InitPrebuiltEtcModule(&module.PrebuiltEtc, "etc")
// This module is device-only
android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibFirst)
return module