summaryrefslogtreecommitdiff
path: root/xml/xml.go
diff options
context:
space:
mode:
Diffstat (limited to 'xml/xml.go')
-rw-r--r--xml/xml.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml/xml.go b/xml/xml.go
index d89327f51..7c670fb8f 100644
--- a/xml/xml.go
+++ b/xml/xml.go
@@ -79,7 +79,7 @@ func (p *prebuiltEtcXml) GenerateAndroidBuildActions(ctx android.ModuleContext)
p.PrebuiltEtc.GenerateAndroidBuildActions(ctx)
if p.properties.Schema != nil {
- schema := ctx.ExpandSource(proptools.String(p.properties.Schema), "schema")
+ schema := android.PathForModuleSrc(ctx, proptools.String(p.properties.Schema))
switch schema.Ext() {
case ".dtd":