blob: 5aff7a461442a2e8c125c7e87f1f7b6d146ebc1a [file] [log] [blame]
Jeff Brownd5fdf7d2010-11-18 20:52:43 -08001# Copyright (C) 2010 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
The Android Open Source Projectedbf3b62009-03-03 19:31:44 -080015LOCAL_PATH:= $(call my-dir)
16include $(CLEAR_VARS)
17
18LOCAL_SRC_FILES:= \
Mathias Agopian0926f502009-05-04 14:17:04 -070019 FramebufferNativeWindow.cpp \
Mathias Agopian3330b202009-10-05 17:07:12 -070020 GraphicBuffer.cpp \
21 GraphicBufferAllocator.cpp \
22 GraphicBufferMapper.cpp \
The Android Open Source Projectedbf3b62009-03-03 19:31:44 -080023 PixelFormat.cpp \
The Android Open Source Projectedbf3b62009-03-03 19:31:44 -080024 Rect.cpp \
Mathias Agopian9cce3252010-02-09 17:46:37 -080025 Region.cpp
The Android Open Source Projectedbf3b62009-03-03 19:31:44 -080026
27LOCAL_SHARED_LIBRARIES := \
The Android Open Source Projectedbf3b62009-03-03 19:31:44 -080028 libcutils \
29 libutils \
Mathias Agopian4f4c1012012-02-20 16:58:20 -080030 libhardware
The Android Open Source Projectedbf3b62009-03-03 19:31:44 -080031
Dima Zavinc6cd27c2012-02-22 14:37:57 -080032ifneq ($(BOARD_FRAMEBUFFER_FORCE_FORMAT),)
33LOCAL_CFLAGS += -DFRAMEBUFFER_FORCE_FORMAT=$(BOARD_FRAMEBUFFER_FORCE_FORMAT)
34endif
35
The Android Open Source Projectedbf3b62009-03-03 19:31:44 -080036LOCAL_MODULE:= libui
37
The Android Open Source Projectedbf3b62009-03-03 19:31:44 -080038include $(BUILD_SHARED_LIBRARY)
Jeff Brown8575a872010-06-30 16:10:35 -070039
40
41# Include subdirectory makefiles
42# ============================================================
43
44# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
45# team really wants is to build the stuff defined by this makefile.
46ifeq (,$(ONE_SHOT_MAKEFILE))
47include $(call first-makefiles-under,$(LOCAL_PATH))
48endif