blob: d15b985a9ae12d79e931aec4dc2a3840ace22287 [file] [log] [blame]
Andrew Scull17398422017-03-01 14:43:39 +00001//
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
Andrew Scull6024d162017-04-17 18:58:12 +010017subdirs = ["tests"]
18
Andrew Scull17398422017-03-01 14:43:39 +000019cc_defaults {
Andrew Sculle416c0e2017-04-16 10:38:33 +010020 name: "esed_defaults",
Andrew Scull17398422017-03-01 14:43:39 +000021 proprietary: true,
22 cflags: [
23 "-pedantic",
24 "-Wall",
25 "-Wextra",
26 "-Werror",
27 ],
28 host_supported: false,
29 target: {
30 darwin: {
31 enabled: false,
32 },
33 },
34}
35
Andrew Scull17398422017-03-01 14:43:39 +000036cc_binary {
37 name: "esed",
38 srcs: [
39 "esed.cpp",
Andrew Scull6024d162017-04-17 18:58:12 +010040 "Weaver.cpp"
Andrew Scull17398422017-03-01 14:43:39 +000041 ],
42 init_rc = ["esed.rc"],
43 defaults: ["esed_defaults"],
44 shared_libs: [
Andrew Scull6024d162017-04-17 18:58:12 +010045 "android.hardware.weaver@1.0",
Andrew Sculle416c0e2017-04-16 10:38:33 +010046 "libbase",
47 "libese_cpp_nxp_pn80t_nq_nci",
Andrew Scull6024d162017-04-17 18:58:12 +010048 "libese-app-weaver",
Andrew Sculle416c0e2017-04-16 10:38:33 +010049 "libhidlbase",
Andrew Scull17398422017-03-01 14:43:39 +000050 "libhidltransport",
Andrew Sculle416c0e2017-04-16 10:38:33 +010051 "libhwbinder",
52 "liblog",
53 "libutils",
Andrew Scull17398422017-03-01 14:43:39 +000054 ],
55}