OSDN Git Service

Added android.test.mock and android.test.mock.sdk targets
authorPaul Duffin <paulduffin@google.com>
Fri, 19 May 2017 08:05:54 +0000 (09:05 +0100)
committerPaul Duffin <paulduffin@google.com>
Mon, 5 Jun 2017 12:49:50 +0000 (13:49 +0100)
commit4823935a84c0b1b27fee0af91ecbbf85fdde508b
tree791eb288b95a1fc8f9a7829d028245e5c17cb096
parent12fe022fbda6d11fea9c3ee78fa66a8225250b72
Added android.test.mock and android.test.mock.sdk targets

The android.test.mock will be used for any targets that require
android.test.mock classes but which do not already depend on the
sdk. It is also the library that will be added to the classpath
at runtime when an app has the following in their manifest.
    <uses-library android:name="android.test.mock"/>

The android.test.mock.sdk will be used by targets that require
android.test.mock classes and which build against the SDK. It
contains stub classes (like android.jar). It is also the library
that will be copied into the optional directory of the SDK.

(cherry picked from f74752293d1d25633aebc42c600717d0296a0820)

Bug: 30188076
Test: make checkbuild
Change-Id: If199180e1136da1927a9e7c7bcafbcfb29cf1274
Merged-In: Ia3fcd47c644b8e5a573f891571a7b3772eac63f9
test-runner/Android.mk