Jeff Brown | d5fdf7d | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 1 | # 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 Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 15 | LOCAL_PATH:= $(call my-dir) |
| 16 | include $(CLEAR_VARS) |
| 17 | |
| 18 | LOCAL_SRC_FILES:= \ |
Jamie Gennis | d8e812c | 2012-06-13 16:32:25 -0700 | [diff] [blame^] | 19 | Fence.cpp \ |
Mathias Agopian | 0926f50 | 2009-05-04 14:17:04 -0700 | [diff] [blame] | 20 | FramebufferNativeWindow.cpp \ |
Mathias Agopian | 3330b20 | 2009-10-05 17:07:12 -0700 | [diff] [blame] | 21 | GraphicBuffer.cpp \ |
| 22 | GraphicBufferAllocator.cpp \ |
| 23 | GraphicBufferMapper.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 24 | PixelFormat.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 25 | Rect.cpp \ |
Mathias Agopian | 9cce325 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 26 | Region.cpp |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 27 | |
| 28 | LOCAL_SHARED_LIBRARIES := \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 29 | libcutils \ |
Jamie Gennis | d8e812c | 2012-06-13 16:32:25 -0700 | [diff] [blame^] | 30 | libhardware \ |
| 31 | libsync \ |
| 32 | libutils |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 33 | |
Dima Zavin | c6cd27c | 2012-02-22 14:37:57 -0800 | [diff] [blame] | 34 | ifneq ($(BOARD_FRAMEBUFFER_FORCE_FORMAT),) |
| 35 | LOCAL_CFLAGS += -DFRAMEBUFFER_FORCE_FORMAT=$(BOARD_FRAMEBUFFER_FORCE_FORMAT) |
| 36 | endif |
| 37 | |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 38 | LOCAL_MODULE:= libui |
| 39 | |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 40 | include $(BUILD_SHARED_LIBRARY) |
Jeff Brown | 8575a87 | 2010-06-30 16:10:35 -0700 | [diff] [blame] | 41 | |
| 42 | |
| 43 | # Include subdirectory makefiles |
| 44 | # ============================================================ |
| 45 | |
| 46 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework |
| 47 | # team really wants is to build the stuff defined by this makefile. |
| 48 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 49 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 50 | endif |