blob: 9360dbdf9ee2df7a2cbda260e059f8cac5518847 [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
Mathias Agopiana8a75162009-04-10 14:24:31 -070022LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
23LOCAL_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
29
Mathias Agopiana8a75162009-04-10 14:24:31 -070030LOCAL_MODULE := gralloc.default
31LOCAL_CFLAGS:= -DLOG_TAG=\"gralloc\"
Jean-Baptiste Queru118b5d72010-10-14 18:04:30 -070032ifeq ($(BOARD_NO_PAGE_FLIPPING),true)
33LOCAL_CFLAGS += -DNO_PAGE_FLIPPING
34endif
35
Mathias Agopiana8a75162009-04-10 14:24:31 -070036include $(BUILD_SHARED_LIBRARY)