//
// Copyright (C) 2017 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 "external_libese_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["external_libese_license"],
}

cc_library {
    name: "libese-hw-nxp-pn80t-common",
    proprietary: true,
    defaults: ["libese-defaults"],
    srcs: ["pn80t/common.c"],
    shared_libs: [
        "liblog",
        "libese",
        "libese-teq1",
        "libese-sysdeps",
    ],
    export_include_dirs: ["include"],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-error=unused-variable",
        "-Wno-format",
    ],
    target: {
        darwin: {
          enabled: false,
        },
    },
}

cc_defaults {
    name: "pn80t_platform",
    proprietary: true,
    defaults: ["libese-api-defaults"],
    target: {
      darwin: {
          enabled: false,
      },
    },
    shared_libs: [
        "liblog",
        "libese",
        "libese-teq1",
        "libese-sysdeps",
    ],
    static_libs: ["libese-hw-nxp-pn80t-common"],
}

cc_library {
    name: "libese-hw-nxp-pn80t-spidev",
    defaults: ["pn80t_platform"],
    srcs: ["pn80t/linux_spidev.c"],
    cflags: [
        "-Wno-format",
    ],
    export_include_dirs: ["include"],
}

cc_library {
    name: "libese-hw-nxp-pn80t-nq-nci",
    defaults: ["pn80t_platform"],
    srcs: ["pn80t/nq_nci.c"],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-error=unused-variable",
        "-Wno-format",
    ],
    export_include_dirs: ["include"],
}
