1// Copyright (C) 2016 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15cc_library_shared { 16 name: "[email protected]", 17 defaults: ["hidl_defaults"], 18 proprietary: true, 19 relative_install_path: "hw", 20 srcs: ["Power.cpp"], 21 22 cflags: [ 23 "-Wall", 24 "-Werror", 25 ], 26 27 shared_libs: [ 28 "liblog", 29 "libhardware", 30 "libhidlbase", 31 "libutils", 32 "[email protected]", 33 ], 34 35} 36 37cc_binary { 38 proprietary: true, 39 defaults: ["hidl_defaults"], 40 relative_install_path: "hw", 41 name: "[email protected]", 42 init_rc: ["[email protected]"], 43 srcs: ["service.cpp"], 44 45 cflags: [ 46 "-Wall", 47 "-Werror", 48 ], 49 50 shared_libs: [ 51 "liblog", 52 "libdl", 53 "libutils", 54 "libhardware", 55 "libhidlbase", 56 "[email protected]", 57 ], 58 59} 60