Rename module -> module-lib
When sdk_version: "module_current" in an unbundled build, previously prebuilt/sdk/current/module/android.jar was used. But that path is wrong; we have prebuilt/sdk/current/module-lib/android.jar for the module APIs. Fix the mismatch by changing the string name of the module API from "module" to "module-lib". Also, "system_server" for system server API is changed to "system-server" to match with the path /prebuilts/sdk/current/system-server/. Bug: N/A Test: https://android-build.googleplex.com/builds/forrest/run/L86100000601675127 Change-Id: I23e9befbd9592d3b22989c2c8fbf34d434273288
This commit is contained in:
parent
000aef69b5
commit
49062c89f9
|
@ -94,9 +94,9 @@ func (k sdkKind) String() string {
|
|||
case sdkCorePlatform:
|
||||
return "core_platform"
|
||||
case sdkModule:
|
||||
return "module"
|
||||
return "module-lib"
|
||||
case sdkSystemServer:
|
||||
return "system_server"
|
||||
return "system-server"
|
||||
default:
|
||||
return "invalid"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue