aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaulet Zhanguzin <dauletz@google.com>2021-02-11 16:51:23 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-11 16:51:23 +0000
commit1da0c233acf3d8632d52ddd5fae125ee0c66b693 (patch)
treec184b5392ea92544d6c05fac120fc540ade597d8
parentaf6778eca86b9c7ab0bcd1a3a481218b46284f71 (diff)
parent5efa3e20988971391236852198ec08ba0e1f5c91 (diff)
downloadwycheproof-android12-mainline-art-release.tar.gz
Original change: https://android-review.googlesource.com/c/platform/external/wycheproof/+/1572480 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I97927c0df881844bffbf00619e29811f81d62db7
-rw-r--r--Android.bp4
-rw-r--r--java/com/google/security/wycheproof/BouncyCastleAllTests.java2
-rw-r--r--java/com/google/security/wycheproof/BouncyCastleTest.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index bcb5369..f379214 100644
--- a/Android.bp
+++ b/Android.bp
@@ -43,9 +43,9 @@ java_library_static {
"java/com/google/security/wycheproof/SpongyCastleTest.java",
"java/com/google/security/wycheproof/SpongyCastleAllTests.java",
],
- sdk_version: "none",
- system_modules: "legacy-art-module-platform-api-stubs-system-modules",
+ sdk_version: "current",
libs: [
+ "bouncycastle-repackaged-unbundled",
"conscrypt.module.platform.api",
"junit",
],
diff --git a/java/com/google/security/wycheproof/BouncyCastleAllTests.java b/java/com/google/security/wycheproof/BouncyCastleAllTests.java
index 2ce1290..67de46d 100644
--- a/java/com/google/security/wycheproof/BouncyCastleAllTests.java
+++ b/java/com/google/security/wycheproof/BouncyCastleAllTests.java
@@ -19,7 +19,7 @@ package com.google.security.wycheproof;
import com.google.security.wycheproof.WycheproofRunner.Provider;
import com.google.security.wycheproof.WycheproofRunner.ProviderType;
// Android-changed: Update import to account for jarjar
-import com.android.org.bouncycastle.jce.provider.BouncyCastleProvider;
+import com.android.internal.org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite.SuiteClasses;
diff --git a/java/com/google/security/wycheproof/BouncyCastleTest.java b/java/com/google/security/wycheproof/BouncyCastleTest.java
index c5beb94..2da6bb8 100644
--- a/java/com/google/security/wycheproof/BouncyCastleTest.java
+++ b/java/com/google/security/wycheproof/BouncyCastleTest.java
@@ -20,7 +20,7 @@ import com.google.security.wycheproof.WycheproofRunner.Fast;
import com.google.security.wycheproof.WycheproofRunner.Provider;
import com.google.security.wycheproof.WycheproofRunner.ProviderType;
// Android-changed: Update import to account for jarjar
-import com.android.org.bouncycastle.jce.provider.BouncyCastleProvider;
+import com.android.internal.org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite.SuiteClasses;