| package { |
| default_applicable_licenses: [ |
| "Android-Apache-2.0", |
| ], |
| } |
| |
| java_library { |
| name: "keyattestation", |
| srcs: [ |
| "src/main/kotlin/*.kt", |
| "src/main/kotlin/provider/*.kt", |
| "src/main/kotlin/challengecheckers/*.kt", |
| ], |
| exclude_srcs: [ |
| "src/main/kotlin/KeyDescriptionPrinter.kt", |
| // AutoBuilder doesn't play nice with kotlin in the Android |
| // source tree, so skip all of the Builders. Java callers must |
| // invoke the constructors for Kotlin objects directly. |
| "src/main/kotlin/*Builder.kt", |
| ], |
| static_libs: [ |
| "auto_value_annotations", |
| "bouncycastle-unbundled", |
| "cbor-java", |
| "error_prone_annotations", |
| "guava", |
| "kotlin-stdlib", |
| "libprotobuf-java-lite", |
| ], |
| sdk_version: "36", |
| min_sdk_version: "26", |
| visibility: [ |
| "//frameworks/base/core/java", |
| "//vendor:__subpackages__", |
| ], |
| } |
| |
| filegroup { |
| name: "keyattestation_roots", |
| srcs: ["roots.json"], |
| } |