• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2023 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_android-key-attestation_license"],
20}
21
22// Added automatically by a large-scale-change
23// See: http://go/android-license-faq
24license {
25    name: "external_android-key-attestation_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: "android-key-attestation",
37    visibility: [
38        "//cts/tests/tests/keystore",
39        "//cts/common/device-side/device-info",
40    ],
41    min_sdk_version: "31",
42    dxflags: ["--multi-dex"],
43    srcs: ["server/src/main/java/**/*.java"],
44    exclude_srcs: ["server/src/main/java/**/KeyAttestationExample.java"],
45    sdk_version: "current",
46    static_libs: [
47        "bouncycastle-unbundled",
48    ],
49    libs: [
50        "wycheproof-gson",
51    ],
52}
53