Add preparers for xml
Bug: 181070625 Test: m nothing Change-Id: I150889a025e1c23eebe1e2764b07fdbd2babef49
This commit is contained in:
@@ -53,10 +53,14 @@ var (
|
||||
)
|
||||
|
||||
func init() {
|
||||
android.RegisterModuleType("prebuilt_etc_xml", PrebuiltEtcXmlFactory)
|
||||
registerXmlBuildComponents(android.InitRegistrationContext)
|
||||
pctx.HostBinToolVariable("XmlLintCmd", "xmllint")
|
||||
}
|
||||
|
||||
func registerXmlBuildComponents(ctx android.RegistrationContext) {
|
||||
ctx.RegisterModuleType("prebuilt_etc_xml", PrebuiltEtcXmlFactory)
|
||||
}
|
||||
|
||||
type prebuiltEtcXmlProperties struct {
|
||||
// Optional DTD that will be used to validate the xml file.
|
||||
Schema *string `android:"path"`
|
||||
|
Reference in New Issue
Block a user