summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-06-06 15:30:47 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-06-06 15:30:47 +0000
commit2562545990455b6dfacfba6cbe54b3a3a644a7a1 (patch)
tree4ea69e5c9dcdec3b7b1b1b778314d2f6acb69e16
parent18e84765f3fee82346ebef308b3c85575fe93821 (diff)
parent8209ba3ea4eaf3537d9a4f0b9ecab65b33e7eb17 (diff)
downloadlibphonenumber-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.bp15
1 files changed, 9 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index 1e8af9c3..10f8f8b2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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"],