OSDN Git Service

Fix dependencies of packages that target earlier releases
authorPaul Duffin <paulduffin@google.com>
Tue, 13 Jun 2017 11:28:59 +0000 (12:28 +0100)
committerMichael Bestas <mkbestas@lineageos.org>
Wed, 27 Dec 2017 15:41:26 +0000 (17:41 +0200)
commitda200d369e4e43f2587273e9dd7af9c91048cf68
tree5d74e7dbf37be2f0965658f2afb70146ec0caf93
parent725ec8489dec21ae24bce43961db2cdfd83d90a2
Fix dependencies of packages that target earlier releases

A previous change added legacy-android-test as a static dependency to
all packages that build against the current, test_current or
system_current and failed to compile when the junit and android.test
classes were removed from the API. Unfortunately, those changes did not
take into account that some of those packages target earlier API
versions and so will always have the classes available at runtime.

Bug: 30188076
Test: make checkbuild and ran a sample of tests
Change-Id: I78863420bcfd401b63b35ef5a9252024d1550b27
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Android.mk