blob: 7339e101e43ff16c54e8c461bd13bb6730799d28 [file] [log] [blame]
Andrew Sculle416c0e2017-04-16 10:38:33 +01001//
2// Copyright (C) 2017 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17cc_defaults {
18 name: "libese_cpp_defaults",
19 proprietary: true,
20 cflags: [
21 "-pedantic",
22 "-Wall",
23 "-Wextra",
24 "-Werror",
25 ],
26}
27
28cc_library_headers {
29 name: "libese_cpp",
30 defaults: ["libese_cpp_defaults"],
31 export_include_dirs: ["include"],
32}
33
34cc_library_shared {
35 name: "libese_cpp_nxp_pn80t_nq_nci",
36 defaults: ["libese_cpp_defaults"],
37 srcs: [
38 "NxpPn80tNqNci.cpp",
39 ],
40 export_include_dirs: ["include"],
41 header_libs: ["libese_cpp"],
42 shared_libs: [
43 "libese",
44 "libese-hw-nxp-pn80t-nq-nci",
45 ],
46 export_shared_lib_headers: [
47 "libese",
48 ],
49 host_supported: false,
50}
51
52cc_test_library {
53 name: "libese_cpp_mock",
54 defaults: ["libese_cpp_defaults"],
55 export_include_dirs: ["tests/include"],
56}