1// 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: "esed_defaults", 19 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 34cc_binary { 35 name: "esed", 36 srcs: [ 37 "esed.cpp", 38 "Weaver.cpp", 39 ], 40 init_rc: ["esed.rc"], 41 defaults: ["esed_defaults"], 42 shared_libs: [ 43 "android.hardware.weaver@1.0", 44 "libese", 45 "libbase", 46 "libese-app-boot", 47 "libese_cpp_nxp_pn80t_nq_nci", 48 "libese-app-weaver", 49 "libhidlbase", 50 "libhidltransport", 51 "libhwbinder", 52 "liblog", 53 "libutils", 54 ], 55} 56