Merge "Change the naming policy of system_$(VER)"
am: 7a26b708a5
Change-Id: I5af4e7b2e20a18fa2e397bd91d17eb82d0231894
This commit is contained in:
@@ -375,12 +375,6 @@ func decodeSdkDep(ctx android.BaseContext, v string) sdkDep {
|
||||
aidlPath := android.ExistentPathForSource(ctx, "sdkdir", aidl)
|
||||
|
||||
if (!jarPath.Valid() || !aidlPath.Valid()) && ctx.Config().AllowMissingDependencies() {
|
||||
if strings.Contains(v, "system_") {
|
||||
return sdkDep{
|
||||
invalidVersion: true,
|
||||
module: "system_sdk_v" + strings.Replace(v, "system_", "", 1),
|
||||
}
|
||||
}
|
||||
return sdkDep{
|
||||
invalidVersion: true,
|
||||
module: "sdk_v" + v,
|
||||
|
Reference in New Issue
Block a user