blob: ae08567ddd8d5ce37836dcb0059aae15609a10a8 [file] [log] [blame]
// Copyright 2020, The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "system_security_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["system_security_license"],
}
aidl_interface {
name: "android.security.attestationmanager",
srcs: [ "android/security/attestationmanager/*.aidl", ],
imports: [ "android.hardware.security.keymint-V2" ],
unstable: true,
backend: {
java: {
platform_apis: true,
},
rust: {
enabled: true,
},
ndk: {
enabled: true,
apps_enabled: false,
}
},
}
aidl_interface {
name: "android.security.authorization",
srcs: [ "android/security/authorization/*.aidl" ],
imports: [
"android.hardware.security.keymint-V2",
"android.hardware.security.secureclock-V1",
],
unstable: true,
backend: {
java: {
platform_apis: true,
},
rust: {
enabled: true,
},
ndk: {
enabled: true,
apps_enabled: false,
}
},
}
aidl_interface {
name: "android.security.apc",
srcs: [ "android/security/apc/*.aidl" ],
unstable: true,
backend: {
java: {
enabled: true,
},
rust: {
enabled: true,
},
ndk: {
enabled: true,
}
},
}
aidl_interface {
name: "android.security.compat",
srcs: [ "android/security/compat/*.aidl" ],
imports: [
"android.hardware.security.keymint-V2",
"android.hardware.security.secureclock-V1",
"android.hardware.security.sharedsecret-V1",
],
unstable: true,
backend: {
java: {
platform_apis: true,
},
rust: {
enabled: true,
},
ndk: {
enabled: true,
apps_enabled: false,
},
},
}
aidl_interface {
name: "android.security.remoteprovisioning",
srcs: [ "android/security/remoteprovisioning/*.aidl" ],
imports: [
"android.hardware.security.keymint-V2",
],
unstable: true,
backend: {
java: {
platform_apis: true,
},
ndk: {
enabled: true,
apps_enabled: false,
},
rust: {
enabled: true,
},
},
}
aidl_interface {
name: "android.security.maintenance",
srcs: [ "android/security/maintenance/*.aidl" ],
imports: [
"android.system.keystore2-V2",
],
unstable: true,
backend: {
java: {
platform_apis: true,
},
rust: {
enabled: true,
},
ndk: {
enabled: true,
apps_enabled: false,
}
},
}
aidl_interface {
name: "android.security.legacykeystore",
srcs: [ "android/security/legacykeystore/*.aidl" ],
unstable: true,
backend: {
java: {
platform_apis: true,
},
rust: {
enabled: true,
},
ndk: {
enabled: true,
apps_enabled: false,
}
},
}
aidl_interface {
name: "android.security.metrics",
srcs: [ "android/security/metrics/*.aidl" ],
imports: [
"android.system.keystore2-V2",
],
unstable: true,
backend: {
java: {
platform_apis: true,
},
rust: {
enabled: true,
},
ndk: {
enabled: true,
apps_enabled: false,
}
},
}
// cc_defaults that includes the latest Keystore2 AIDL library.
// Modules that depend on KeyMint directly can include this cc_defaults to avoid
// managing dependency versions explicitly.
cc_defaults {
name: "keystore2_use_latest_aidl_ndk_static",
static_libs: [
"android.system.keystore2-V2-ndk",
],
}
cc_defaults {
name: "keystore2_use_latest_aidl_ndk_shared",
shared_libs: [
"android.system.keystore2-V2-ndk",
],
}