blob: d3fb2fc3a85c00e33dcf1875a62136c2571326ca [file] [log] [blame]
//
// Copyright (C) 2010 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_library_static {
name: "libteeservice_server",
system_ext_specific: true,
aidl: {
local_include_dirs: ["aidl"],
},
srcs: [
":teeservice_aidl",
"teeserviceserver.cpp",
"TeeService.cpp",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libbinder",
"libdl",
"libselinux",
"libhidlbase",
"libhidlmemory",
"android.hidl.allocator@1.0",
"android.hidl.memory@1.0",
"vendor.trustonic.tee@1.1",
],
cflags: [
"-Wall",
"-Wextra",
"-Werror",
"-DTBASE_API_LEVEL=11"
],
header_libs: [
"trustonic-api-headers",
"jni_headers",
],
export_include_dirs: [
".",
],
}
cc_library_shared {
name: "libteeservice_client.trustonic",
system_ext_specific: true,
aidl: {
export_aidl_headers: true,
local_include_dirs: ["aidl"],
},
srcs: [
":teeservice_aidl",
"teeservice_client.cpp",
],
shared_libs: [
"libcutils",
"libutils",
"liblog",
"libbinder",
],
cflags: [
"-Wall",
"-Wextra",
"-Werror",
"-DTBASE_API_LEVEL=11"
],
header_libs: [
"trustonic-api-headers",
],
export_include_dirs: [
".",
],
}
filegroup {
name: "teeservice_aidl",
srcs: [
"aidl/vendor/trustonic/teeservice/ITeeService.aidl",
"aidl/vendor/trustonic/teeservice/ITeeServiceListener.aidl",
],
path: "aidl",
}