1// 2// Copyright (C) 2019 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 17// WARNING: Everything listed here will be built on ALL platforms, 18// including x86, the emulator, and the SDK. Modules must be uniquely 19// named (liblights.tuna), and must build everywhere, or limit themselves 20// to only building on ARM if they include assembly. Individual makefiles 21// are responsible for having their own logic, for fine-grained control. 22 23// HAL module implementation, not prelinked and stored in 24// hw/<COPYPIX_HARDWARE_MODULE_ID>.<ro.board.platform>.so 25cc_library_shared { 26 name: "hdmi_cec.yukawa", 27 proprietary: true, 28 srcs: ["hdmi_cec.c"], 29 cflags: ["-Werror"], 30 31 relative_install_path: "hw", 32 33 shared_libs: [ 34 "liblog", 35 "libcutils", 36 "libhardware", 37 ], 38 39} 40 41//####################################################### 42cc_binary { 43 name: "hdmicec_test", 44 defaults: ["hidl_defaults"], 45 vendor: true, 46 srcs: ["hdmi_cec_test_hal.c"] + ["hdmi_cec.c"], 47 cflags: [ 48 "-Wno-error", 49 "-Wno-unused-parameter", 50 ], 51 header_libs: ["libhardware_headers"], 52 shared_libs: [ 53 "liblog", 54 "libcutils", 55 ], 56 57} 58