OSDN Git Service

Include the okhttp.jar when compiling against internal classes
authorNeil Fuller <nfuller@google.com>
Tue, 11 Aug 2015 12:48:34 +0000 (13:48 +0100)
committerNeil Fuller <nfuller@google.com>
Wed, 12 Aug 2015 08:30:58 +0000 (09:30 +0100)
commitf39a25bc28555431c315440d4a14c199178451f6
tree11f2a4916f539481725a66f6efec3f59e5588d97
parent420f95ff5d0ccf9c41683760c1b2731f6be0667e
Include the okhttp.jar when compiling against internal classes

If LOCAL_SDK_VERSION is unset we were compiling against
core-libart but not okhttp.

okhttp should be an implementation detail but
android.net.http.HttpResponseCache implements
com.android.okhttp.OkCacheContainer.

The OpenJDK 8 version of of javac now requires all interfaces of
implemented classes be made available at compile time even with
-source 1.7 -target 1.7.

This is not an issue when compiling against the android.jar because
the implementation of HttpResponseCache in the android.jar does not
implement com.android.okhttp.OkCacheContainer.

Bug: 23099154
Change-Id: I3fa1d0f73535b396623fed953cfc71189b797849
core/config.mk