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 17subdirs = ["pn81a"] 18 19cc_defaults { 20 name: "esed_cflags_defaults", 21 vendor: 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 36cc_defaults { 37 name: "esed_defaults", 38 defaults: ["esed_cflags_defaults"], 39 shared_libs: [ 40 "libbase", 41 "libese", 42 "libhidlbase", 43 "libhidltransport", 44 "libhwbinder", 45 "libutils", 46 ], 47} 48 49cc_binary { 50 name: "esed", 51 srcs: [ 52 "esed.cpp", 53 ], 54 init_rc = ["esed.rc"], 55 defaults: ["esed_defaults"], 56 shared_libs: [ 57 "liblog", 58 "libhidltransport", 59 "esed_pn81a" 60 ], 61} 62