summaryrefslogtreecommitdiff
path: root/xml/xml.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2019-03-20 12:44:10 -0700
committer android-build-merger <android-build-merger@google.com> 2019-03-20 12:44:10 -0700
commit9bcee1f400034e4a782b2dd393a3af5f0e3edd4a (patch)
tree70eef459528207a41256b1b7960f9574580b43e6 /xml/xml.go
parent734ad216fed881ffc20203404c570eb9e29dcf02 (diff)
parent8a49795df1ed87a4889f267dbd8d28c5832bb897 (diff)
Replace ctx.ExpandSources with android.PathsForModuleSrc
am: 8a49795df1 Change-Id: I42fc5461cff28f58039787b434527500d4e88eb6
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":