1// Copyright (C) 2011 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
15package {
16    // http://go/android-license-faq
17    // A large-scale-change added 'default_applicable_licenses' to import
18    // the below license kinds from "hardware_st_nfc_license":
19    //   SPDX-license-identifier-Apache-2.0
20    default_applicable_licenses: ["hardware_st_nfc_license"],
21}
22
23cc_library_shared {
24    name: "nfc_nci.st21nfc",
25    proprietary: true,
26    relative_install_path: "hw",
27    srcs: [
28        "hal/**/*.c",
29        "include /**/*.c",
30        "gki/**/*.c",
31        "adaptation/**/*.c",
32        "adaptation/**/*.cpp",
33        "nfc_nci_st21nfc.c",
34        "hal_wrapper.c",
35    ],
36    shared_libs: [
37        "liblog",
38        "libcutils",
39        "libdl",
40        "libhardware",
41    ],
42    cflags: [
43        "-DANDROID",
44        "-DST21NFC",
45        "-DDEBUG",
46    ],
47    local_include_dirs: [
48        "include",
49        "gki/ulinux",
50        "gki/common",
51        "adaptation",
52        "hal",
53    ],
54    // nfc_nci.$(TARGET_DEVICE)
55}
56