blob: f746f386cfd50c33c996155f196d6132a4aa3449 [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 Scull17398422017-03-01 14:43:39 +000017cc_defaults {
Andrew Sculle416c0e2017-04-16 10:38:33 +010018 name: "esed_defaults",
Andrew Scull17398422017-03-01 14:43:39 +000019 proprietary: true,
20 cflags: [
21 "-pedantic",
22 "-Wall",
23 "-Wextra",
24 "-Werror",
25 ],
26 host_supported: false,
27 target: {
28 darwin: {
29 enabled: false,
30 },
31 },
32}
33
Andrew Scull17398422017-03-01 14:43:39 +000034cc_binary {
35 name: "esed",
36 srcs: [
37 "esed.cpp",
Will Drewrye47ba832017-04-18 17:08:09 -050038 "Weaver.cpp",
Andrew Scull17398422017-03-01 14:43:39 +000039 ],
40 init_rc = ["esed.rc"],
41 defaults: ["esed_defaults"],
42 shared_libs: [
Andrew Scull6024d162017-04-17 18:58:12 +010043 "android.hardware.weaver@1.0",
Yi Kong3eca2f22017-05-09 10:25:40 -070044 "libese",
Andrew Sculle416c0e2017-04-16 10:38:33 +010045 "libbase",
Will Drewrye47ba832017-04-18 17:08:09 -050046 "libese-app-boot",
Andrew Sculle416c0e2017-04-16 10:38:33 +010047 "libese_cpp_nxp_pn80t_nq_nci",
Will Drewrye47ba832017-04-18 17:08:09 -050048 "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}