diff options
| author | 2019-03-20 12:44:10 -0700 | |
|---|---|---|
| committer | 2019-03-20 12:44:10 -0700 | |
| commit | 9bcee1f400034e4a782b2dd393a3af5f0e3edd4a (patch) | |
| tree | 70eef459528207a41256b1b7960f9574580b43e6 /xml/xml.go | |
| parent | 734ad216fed881ffc20203404c570eb9e29dcf02 (diff) | |
| parent | 8a49795df1ed87a4889f267dbd8d28c5832bb897 (diff) | |
Replace ctx.ExpandSources with android.PathsForModuleSrc
am: 8a49795df1
Change-Id: I42fc5461cff28f58039787b434527500d4e88eb6
Diffstat (limited to 'xml/xml.go')
| -rw-r--r-- | xml/xml.go | 2 |
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": |