1// 2// Copyright (C) 2018 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: "hardware.google.light_defaults", 19 relative_install_path: "hw", 20 vendor: true, 21 srcs: [ 22 "Light.cpp", 23 "LightExt.cpp", 24 ], 25 shared_libs: [ 26 "liblog", 27 "libbase", 28 "libutils", 29 "libhardware", 30 "libhidlbase", 31 "[email protected]", 32 "[email protected]", 33 ], 34} 35 36cc_library_shared { 37 name: "[email protected]", 38 defaults: [ 39 "hardware.google.light_defaults", 40 "hidl_defaults" 41 ], 42 srcs: [ 43 "impl.cpp", 44 ], 45} 46 47cc_binary { 48 name: "[email protected]", 49 defaults: [ 50 "hardware.google.light_defaults", 51 "hidl_defaults" 52 ], 53 init_rc: ["[email protected]"], 54 srcs: [ 55 "service.cpp", 56 ], 57} 58