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