Home | History | Annotate | Download | only in gralloc
      1 # Copyright (C) 2010 ARM Limited. All rights reserved.
      2 # Copyright (C) 2008 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 LOCAL_PATH := $(call my-dir)
     18 
     19 # HAL module implemenation, not prelinked and stored in
     20 # hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so
     21 include $(CLEAR_VARS)
     22 
     23 SHARED_MEM_LIBS := libion libhardware
     24 LOCAL_SHARED_LIBRARIES := liblog libcutils libGLESv1_CM $(SHARED_MEM_LIBS)
     25 LOCAL_C_INCLUDES := system/core/include/
     26 LOCAL_CFLAGS := -DLOG_TAG=\"gralloc\" -DGRALLOC_32_BITS -DSTANDARD_LINUX_SCREEN -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
     27 
     28 LOCAL_SRC_FILES := \
     29 	gralloc_module.cpp \
     30 	alloc_device.cpp \
     31 	framebuffer_device.cpp
     32 
     33 LOCAL_MODULE := gralloc.$(TARGET_BOARD_PLATFORM)
     34 LOCAL_MODULE_RELATIVE_PATH := hw
     35 
     36 include $(BUILD_SHARED_LIBRARY)
     37