• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2020 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15
16// The original Work has been changed by NXP.
17//
18// Licensed under the Apache License, Version 2.0 (the "License");
19// you may not use this file except in compliance with the License.
20// You may obtain a copy of the License at
21//
22// http://www.apache.org/licenses/LICENSE-2.0
23//
24// Unless required by applicable law or agreed to in writing, software
25// distributed under the License is distributed on an "AS IS" BASIS,
26// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27// See the License for the specific language governing permissions and
28// limitations under the License.
29//
30// Copyright 2022-2023 NXP
31//
32
33package {
34    default_applicable_licenses: [
35        "//hardware/nxp/keymint:hardware_nxp_keymint_license",
36    ],
37}
38
39cc_library {
40    name: "libjc_keymint_transport.nxp",
41    vendor_available: true,
42    srcs: [
43        "*.cpp",
44    ],
45    cflags: [
46        "-DOMAPI_TRANSPORT",
47        "-DINTERVAL_TIMER",
48        "-DNXP_EXTNS",
49    ],
50    export_include_dirs: [
51        "include"
52    ],
53    export_shared_lib_headers: [
54        "android.hardware.secure_element@1.0",
55        "android.hardware.secure_element@1.1",
56        "android.hardware.secure_element@1.2",
57    ],
58    shared_libs: [
59        "android.hardware.secure_element@1.0",
60        "android.hardware.secure_element@1.1",
61        "android.hardware.secure_element@1.2",
62        "android.se.omapi-V1-ndk",
63        "libbase",
64        "liblog",
65        "libcutils",
66        "libutils",
67        "libhardware",
68        "libhardware_legacy",
69        "libhidlbase",
70        "libbinder_ndk",
71    ],
72}
73