1// 2// Copyright (C) 2017 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_visibility: ["//visibility:private"], 19 default_applicable_licenses: ["external_wycheproof_license"], 20} 21 22// Added automatically by a large-scale-change 23// http://go/android-license-faq 24license { 25 name: "external_wycheproof_license", 26 visibility: [":__subpackages__"], 27 license_kinds: [ 28 "SPDX-license-identifier-Apache-2.0", 29 ], 30 license_text: [ 31 "LICENSE", 32 ], 33} 34 35java_library_static { 36 name: "wycheproof", 37 visibility: [ 38 "//cts/tests/libcore/wycheproof", 39 "//cts/tests/libcore/wycheproof-bc", 40 ], 41 srcs: ["java/**/*.java"], 42 exclude_srcs: [ 43 "java/com/google/security/wycheproof/SpongyCastleAllTests.java", 44 "java/com/google/security/wycheproof/SpongyCastleTest.java", 45 ], 46 sdk_version: "current", 47 libs: [ 48 "bouncycastle-repackaged-unbundled", 49 "conscrypt.module.platform.api.stubs", 50 "junit", 51 ], 52} 53 54java_library_static { 55 name: "wycheproof-keystore", 56 visibility: [ 57 "//cts/tests/tests/keystore", 58 ], 59 srcs: [ 60 "keystore-cts/java/**/*.java", 61 "keystore-cts/android/**/*.java", 62 ], 63 java_resource_dirs: ["keystore-cts/testvectors"], 64 libs: [ 65 "bouncycastle-bcpkix-unbundled", 66 "bouncycastle-unbundled", 67 "junit", 68 "gson", 69 "cts-core-test-runner-axt", 70 "cts-keystore-test-util", 71 ], 72} 73