summaryrefslogtreecommitdiff
path: root/Android.mk (plain)
blob: 0a9de378abb630d698ecbb43f8f5a0178540cfda
1# Copyright (C) 2011 The Android Open Source Project.
2#
3# Original code licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this software 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
15LOCAL_PATH := $(call my-dir)
16
17# HAL module implemenation, not prelinked and stored in
18# hw/<LIGHTS_HARDWARE_MODULE_ID>.<ro.hardware>.so
19
20include $(CLEAR_VARS)
21LOCAL_SRC_FILES := hdmi_cec.cpp
22LOCAL_PRELINK_MODULE := false
23LOCAL_C_INCLUDES += \
24 $(TOP)/$(BOARD_AML_VENDOR_PATH)/frameworks/services/hdmicec/binder \
25 system/core/base/include
26
27LOCAL_MODULE_RELATIVE_PATH := hw
28LOCAL_SHARED_LIBRARIES := \
29 vendor.amlogic.hardware.hdmicec@1.0_vendor \
30 liblog \
31 libutils \
32 libcutils \
33 libnativehelper \
34 libhdmicec
35
36LOCAL_MODULE := hdmi_cec.amlogic
37LOCAL_MODULE_TAGS := optional
38
39ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo OK),OK)
40LOCAL_PROPRIETARY_MODULE := true
41endif
42
43include $(BUILD_SHARED_LIBRARY)
44