diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-04-21 01:04:36 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-04-21 01:04:36 +0000 |
commit | 6eba430e6a1287d8ccc96d0bd665be2e9d99520b (patch) | |
tree | 43d831b37d8931e7caffcd33369c18a53407dfc6 | |
parent | 69e31266a99e42456c10f7a82ef86edee0251d1e (diff) | |
parent | 4d77777b9a8434e9369bc2e4d9974160112b2262 (diff) | |
download | okhttp-6eba430e6a1287d8ccc96d0bd665be2e9d99520b.tar.gz |
Snap for 7298338 from 4d77777b9a8434e9369bc2e4d9974160112b2262 to sc-release
Change-Id: Ib40c435e395f78d16a93b92f03cb6786f0606402
-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 |