Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

packages-apps-Eleven: Commit

packages/apps/Eleven


Commit MetaInfo

Revision840f2db8c1c00208fb660f864d0b58b55e43fcfe (tree)
Time2017-08-31 17:13:08
AuthorPaul Duffin <paulduffin@goog...>
CommiterAdrian DC

Log Message

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>

Change Summary

Incremental Difference

--- a/Android.mk
+++ b/Android.mk
@@ -17,7 +17,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
1717 android-common \
1818 android-support-v4 \
1919 android-support-v7-recyclerview \
20- guava
20+ guava \
21+ junit
2122
2223 LOCAL_AAPT_FLAGS := \
2324 --auto-add-overlay \
Show on old repository browser