blob: 092e851d1fbaec88ca7d1b609f653385bbb614b9 [file] [log] [blame]
Mathias Agopiana8a75162009-04-10 14:24:31 -07001# Copyright (C) 2008 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
16LOCAL_PATH := $(call my-dir)
17
Iliyan Malchev14e36412011-03-14 14:02:15 -070018# HAL module implemenation stored in
Mathias Agopiana8a75162009-04-10 14:24:31 -070019# hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so
20include $(CLEAR_VARS)
Iliyan Malchev14e36412011-03-14 14:02:15 -070021
Colin Cross3557aba2014-01-24 21:00:32 -080022LOCAL_MODULE_RELATIVE_PATH := hw
Mathias Agopiana8a75162009-04-10 14:24:31 -070023LOCAL_SHARED_LIBRARIES := liblog libcutils
Mathias Agopian8c4ab1f2009-06-11 16:32:05 -070024
25LOCAL_SRC_FILES := \
Mathias Agopian8c4ab1f2009-06-11 16:32:05 -070026 gralloc.cpp \
27 framebuffer.cpp \
28 mapper.cpp
Colin Crossfebaaa92014-02-05 18:21:09 -080029
Mathias Agopiana8a75162009-04-10 14:24:31 -070030LOCAL_MODULE := gralloc.default
Colin Crossfebaaa92014-02-05 18:21:09 -080031LOCAL_CFLAGS:= -DLOG_TAG=\"gralloc\" -Wno-missing-field-initializers
Bernhard Rosenkraenzer56416422014-02-25 13:50:34 +053032ifeq ($(TARGET_USE_PAN_DISPLAY),true)
33LOCAL_CFLAGS += -DUSE_PAN_DISPLAY=1
34endif
Jean-Baptiste Queru118b5d72010-10-14 18:04:30 -070035
Mathias Agopiana8a75162009-04-10 14:24:31 -070036include $(BUILD_SHARED_LIBRARY)