Merge "Require that NDK symbol files end with .map.txt." am: 2a60959b65
am: 79a9014c9b
Change-Id: Ic1f74682754f17fc1bf6166729c0eb7f3e4da270
This commit is contained in:
commit
ec0acf308f
1 changed files with 4 additions and 0 deletions
|
@ -281,6 +281,10 @@ func compileStubLibrary(ctx ModuleContext, flags Flags, symbolFile, apiLevel, vn
|
|||
}
|
||||
|
||||
func (c *stubDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) Objects {
|
||||
if !strings.HasSuffix(c.properties.Symbol_file, ".map.txt") {
|
||||
ctx.PropertyErrorf("symbol_file", "must end with .map.txt")
|
||||
}
|
||||
|
||||
objs, versionScript := compileStubLibrary(ctx, flags, c.properties.Symbol_file, c.properties.ApiLevel, "")
|
||||
c.versionScriptPath = versionScript
|
||||
return objs
|
||||
|
|
Loading…
Reference in a new issue