diff options
author | Paul Duffin <paulduffin@google.com> | 2021-04-20 08:46:44 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-04-20 08:46:44 +0000 |
commit | 4d77777b9a8434e9369bc2e4d9974160112b2262 (patch) | |
tree | 43d831b37d8931e7caffcd33369c18a53407dfc6 | |
parent | 17fa1abc9d6882187502de0396e75bfa8231d0ec (diff) | |
parent | c8c7bb44178446c22e0e76a967d7bacac43d7a3c (diff) | |
download | okhttp-4d77777b9a8434e9369bc2e4d9974160112b2262.tar.gz |
Merge "Add okhttp-for-host" am: 8d7d225cc1 am: 28e13e972a am: c8c7bb4417
Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1679614
Change-Id: Icdbe53bbd54f3fe3cef7de07e3d7e51f50f2e3c9
-rw-r--r-- | Android.bp | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -119,6 +119,20 @@ java_library { min_sdk_version: "31", } +// Java library for use on host, e.g. by robolectric. +java_library { + name: "okhttp-for-host", + visibility: [ + "//art/build/sdk", + "//external/robolectric-shadows", + ], + static_libs: [ + "okhttp", + ], + sdk_version: "none", + system_modules: "none", +} + // Java Library for both Host and Android that does not use the repackaged okhttp libraries // (com.android.okhttp) and instead uses the original (com.squareup.okhttp) packages. // This should not end up on the bootclasspath and instead should only be used to build |