Remove an extraneous space character.
The space prevents "repo upload" from running on my machine: $ repo upload . [COMMIT 50e35bea87f0] Use Soong modules for the NDK's extra STL libraries [FAILED] gofmt FILES: ('cc/cc.go',) <standard input> [FAILED] repohooks for platform/build/soong failed FATAL: Preupload failed due to above error(s). For more info, please see: https://android.googlesource.com/platform/tools/repohooks/ Bug: none Test: repo upload Change-Id: I6b5de8f5d4edb38ca26a999e561df10262844b3d
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -503,7 +503,7 @@ func (ctx *moduleContextImpl) sdkVersion() string {
|
|||||||
if ctx.ctx.Device() {
|
if ctx.ctx.Device() {
|
||||||
if ctx.useVndk() {
|
if ctx.useVndk() {
|
||||||
vndk_ver := ctx.ctx.DeviceConfig().VndkVersion()
|
vndk_ver := ctx.ctx.DeviceConfig().VndkVersion()
|
||||||
if vndk_ver == "current" {
|
if vndk_ver == "current" {
|
||||||
platform_vndk_ver := ctx.ctx.DeviceConfig().PlatformVndkVersion()
|
platform_vndk_ver := ctx.ctx.DeviceConfig().PlatformVndkVersion()
|
||||||
if inList(platform_vndk_ver, ctx.ctx.Config().PlatformVersionCombinedCodenames()) {
|
if inList(platform_vndk_ver, ctx.ctx.Config().PlatformVersionCombinedCodenames()) {
|
||||||
return "current"
|
return "current"
|
||||||
|
Reference in New Issue
Block a user