platform_system_core/trusty/keymaster/Android.bp
Matthew Maurer 1010727a48 trusty: keymaster: Remove legacy support
Library based HALs have been deprecated for several years now, and
Keymaster 2 based testing is woefully out of date compared to running
VTS against the modern 3.0 and 4.0 implementations.

Purging these modules and their resulting dependencies will make it
easier for the central system/keymaster repository to move forwards.

Test: mm
Bug: 150239636
Change-Id: Ic2ddbe685a50e65f9db25f682ad33105195efa8a
2020-02-26 00:43:23 +00:00

77 lines
2.1 KiB
Text

//
// Copyright (C) 2015 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.
//
cc_binary {
name: "android.hardware.keymaster@3.0-service.trusty",
defaults: ["hidl_defaults"],
relative_install_path: "hw",
vendor: true,
init_rc: ["3.0/android.hardware.keymaster@3.0-service.trusty.rc"],
srcs: [
"3.0/service.cpp",
"3.0/TrustyKeymaster3Device.cpp",
"ipc/trusty_keymaster_ipc.cpp",
"TrustyKeymaster.cpp",
],
local_include_dirs: ["include"],
shared_libs: [
"liblog",
"libcutils",
"libdl",
"libbase",
"libutils",
"libhardware",
"libhidlbase",
"libtrusty",
"libkeymaster_messages",
"libkeymaster3device",
"android.hardware.keymaster@3.0"
],
}
cc_binary {
name: "android.hardware.keymaster@4.0-service.trusty",
defaults: ["hidl_defaults"],
relative_install_path: "hw",
vendor: true,
init_rc: ["4.0/android.hardware.keymaster@4.0-service.trusty.rc"],
srcs: [
"4.0/service.cpp",
"4.0/TrustyKeymaster4Device.cpp",
"ipc/trusty_keymaster_ipc.cpp",
"TrustyKeymaster.cpp",
],
local_include_dirs: ["include"],
shared_libs: [
"liblog",
"libcutils",
"libdl",
"libbase",
"libutils",
"libhardware",
"libhidlbase",
"libtrusty",
"libkeymaster_messages",
"libkeymaster4",
"android.hardware.keymaster@4.0"
],
vintf_fragments: ["4.0/android.hardware.keymaster@4.0-service.trusty.xml"],
}