diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-06-06 15:30:47 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-06-06 15:30:47 +0000 |
commit | 2562545990455b6dfacfba6cbe54b3a3a644a7a1 (patch) | |
tree | 4ea69e5c9dcdec3b7b1b1b778314d2f6acb69e16 | |
parent | 18e84765f3fee82346ebef308b3c85575fe93821 (diff) | |
parent | 8209ba3ea4eaf3537d9a4f0b9ecab65b33e7eb17 (diff) | |
download | libphonenumber-2562545990455b6dfacfba6cbe54b3a3a644a7a1.tar.gz |
Merge "Replace dependency on core.platform.api with core_current"android-o-mr1-iot-release-1.0.13
-rw-r--r-- | Android.bp | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -13,9 +13,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -// For platform use, builds directly against core-libart to avoid circular +// For platform use, builds against core_current to avoid circular // dependencies. *NOT* for unbundled use. -java_library_static { +java_library { name: "libphonenumber-platform", // For the platform, compile everything except the carrier to phone number @@ -32,9 +32,12 @@ java_library_static { "repackaged/internal/prefixmapper/src/**/*.java", ], - no_framework_libs: true, -} + libs: [ + "unsupportedappusage-annotation", + ], + sdk_version: "core_current", +} java_defaults { name: "libphonenumber-unbundled-defaults", @@ -52,7 +55,7 @@ java_defaults { } // For unbundled use, supports gingerbread and up. -java_library_static { +java_library { name: "libphonenumber", defaults: ["libphonenumber-unbundled-defaults"], @@ -64,7 +67,7 @@ java_library_static { } // For unbundled use - without geocoder -java_library_static { +java_library { name: "libphonenumber-nogeocoder", defaults: ["libphonenumber-unbundled-defaults"], |