Skip to content

Commit

Permalink
Merge "Change the naming policy of system_$(VER)"
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Feb 7, 2018
2 parents 966bdde + 8222d3b commit 7a26b70
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions java/java.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7a26b70

Please sign in to comment.