commit | 59bed87517cc82a1d04d27f249a93cab025593b5 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Jan 06 05:14:37 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jan 06 05:14:38 2017 +0000 |
tree | 24580d2ed3ca53b2199a456c559e9e991e4f80df | |
parent | 84650942526cca47eaf54c21644d949274d753fd [diff] | |
parent | 022e7a383923cafea1a697383c90118112bb926a [diff] |
Merge "Allow `unversioned_until: "current"`."
diff --git a/cc/ndk_library.go b/cc/ndk_library.go index aea0d52..da3d5c7 100644 --- a/cc/ndk_library.go +++ b/cc/ndk_library.go
@@ -162,6 +162,14 @@ return true, nil } + if stub.properties.Unversioned_until == "current" { + if stub.properties.ApiLevel == "current" { + return true, nil + } else { + return false, nil + } + } + if stub.properties.ApiLevel == "current" { return true, nil }