From 6663e964b74990efcf12410c8262b07902ad470e Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Wed, 25 Sep 2019 14:09:13 +0100 Subject: Stop depending on core-system-modules The core-system-modules provides access to all the implementation details of the core libraries which is unnecessary for this. This change switches to use art-module-public-api-stubs-system-modules which is the part of the public API provided by libcore and so is much more limited and is also very stable. As art-module-public-api-stubs-system-modules does not contain conscrypt or bouncycastle it was necessary to add those as extra dependencies. Test: m checkbuild Bug: 141613583 Change-Id: Icf2b7d18521b1ab601727c5ddc7d511f4066717d --- Android.bp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 21b6cc2..dcb2fb6 100644 --- a/Android.bp +++ b/Android.bp @@ -30,8 +30,10 @@ java_library_static { "java/com/google/security/wycheproof/SpongyCastleAllTests.java", ], sdk_version: "none", - system_modules: "core-system-modules", + system_modules: "art-module-public-api-stubs-system-modules", libs: [ + "conscrypt", + "bouncycastle", "junit", ], } -- cgit v1.2.3