summaryrefslogtreecommitdiff
path: root/xml/xml.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2019-03-20 12:48:29 -0700
committer android-build-merger <android-build-merger@google.com> 2019-03-20 12:48:29 -0700
commit3cafca1d18a9438c6f49378a5af641f23f28d1e1 (patch)
tree69a57f74d62a78a22712d3714c7c13b1dcad231c /xml/xml.go
parent055d480456518a0000af118a0821398287e1c786 (diff)
parent9bcee1f400034e4a782b2dd393a3af5f0e3edd4a (diff)
Replace ctx.ExpandSources with android.PathsForModuleSrc am: 8a49795df1
am: 9bcee1f400 Change-Id: Ie94f2abc0526f8121e1edf3230bd63134e552ff2
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":