blob: 3573430b1d277add2cfa0c2b8cd97e91266195ee [file] [log] [blame]
Christopher N. Hesse6b7dda72016-03-15 02:31:38 +01001# 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
15# HAL module implementation stored in
16# hw/<POWERS_HARDWARE_MODULE_ID>.<ro.hardware>.so
17
18LOCAL_PATH := $(call my-dir)
19
Paul Keith69808582016-12-14 14:04:33 -060020include $(CLEAR_VARS)
21
Paul Keith464c0c92016-12-10 09:30:32 -060022LOCAL_SRC_FILES := consumerir.c
23
24LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
25
26LOCAL_SHARED_LIBRARIES := liblog libcutils
Christopher N. Hesse6b7dda72016-03-15 02:31:38 +010027
28ifeq ($(IR_HAL_SUFFIX),)
29IR_HAL_SUFFIX := $(TARGET_BOARD_PLATFORM)
30endif
31
32LOCAL_MODULE := consumerir.$(IR_HAL_SUFFIX)
33LOCAL_MODULE_RELATIVE_PATH := hw
Christopher N. Hesse6b7dda72016-03-15 02:31:38 +010034LOCAL_MODULE_TAGS := optional
35
Christopher N. Hesse6b7dda72016-03-15 02:31:38 +010036include $(BUILD_SHARED_LIBRARY)