Android.mk revision 01049c8321aab30cd431e2febeddd79242ae5a4f
1d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# Copyright (C) 2010 The Android Open Source Project 2d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# 3d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# Licensed under the Apache License, Version 2.0 (the "License"); 4d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# you may not use this file except in compliance with the License. 5d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# You may obtain a copy of the License at 6d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# 7d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# http://www.apache.org/licenses/LICENSE-2.0 8d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# 9d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# Unless required by applicable law or agreed to in writing, software 10d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# distributed under the License is distributed on an "AS IS" BASIS, 11d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# See the License for the specific language governing permissions and 13d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown# limitations under the License. 14d5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031fJeff Brown 1501049c8321aab30cd431e2febeddd79242ae5a4fDan StozaLOCAL_PATH := $(call my-dir) 16edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectinclude $(CLEAR_VARS) 17edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project 1801049c8321aab30cd431e2febeddd79242ae5a4fDan StozaLOCAL_CLANG := true 1901049c8321aab30cd431e2febeddd79242ae5a4fDan StozaLOCAL_CPPFLAGS := -std=c++11 2001049c8321aab30cd431e2febeddd79242ae5a4fDan Stoza 2101049c8321aab30cd431e2febeddd79242ae5a4fDan StozaLOCAL_SRC_FILES := \ 22d8e812ce6fe9ae0388e98b08456e1d18b9498239Jamie Gennis Fence.cpp \ 230926f50664c739eaee60341f8e8c694dc9a4f3ebMathias Agopian FramebufferNativeWindow.cpp \ 24d85084b2b65828442eafaff9b811e9b6c9ca9fadSvetoslav FrameStats.cpp \ 253330b203039dea366d4981db1408a460134b2d2cMathias Agopian GraphicBuffer.cpp \ 263330b203039dea366d4981db1408a460134b2d2cMathias Agopian GraphicBufferAllocator.cpp \ 273330b203039dea366d4981db1408a460134b2d2cMathias Agopian GraphicBufferMapper.cpp \ 28edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project PixelFormat.cpp \ 29edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project Rect.cpp \ 304803b74e2a12a508f7bbfde6f6a962fe3299c61cAndy McFadden Region.cpp \ 314803b74e2a12a508f7bbfde6f6a962fe3299c61cAndy McFadden UiConfig.cpp 32edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project 33edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLOCAL_SHARED_LIBRARIES := \ 34edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project libcutils \ 35d8e812ce6fe9ae0388e98b08456e1d18b9498239Jamie Gennis libhardware \ 36d8e812ce6fe9ae0388e98b08456e1d18b9498239Jamie Gennis libsync \ 378a0cb4ee0b6c351de82987efb472fa38dfaf608aYing Wang libutils \ 388a0cb4ee0b6c351de82987efb472fa38dfaf608aYing Wang liblog 39edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project 40c6cd27cbf3ddec77cca97e5bd2b257f80ea99706Dima Zavinifneq ($(BOARD_FRAMEBUFFER_FORCE_FORMAT),) 41c6cd27cbf3ddec77cca97e5bd2b257f80ea99706Dima ZavinLOCAL_CFLAGS += -DFRAMEBUFFER_FORCE_FORMAT=$(BOARD_FRAMEBUFFER_FORCE_FORMAT) 42c6cd27cbf3ddec77cca97e5bd2b257f80ea99706Dima Zavinendif 43c6cd27cbf3ddec77cca97e5bd2b257f80ea99706Dima Zavin 4401049c8321aab30cd431e2febeddd79242ae5a4fDan StozaLOCAL_MODULE := libui 45edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project 46edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectinclude $(BUILD_SHARED_LIBRARY) 478575a87b0d61d21c286321afdf193f4fac53d681Jeff Brown 488575a87b0d61d21c286321afdf193f4fac53d681Jeff Brown 498575a87b0d61d21c286321afdf193f4fac53d681Jeff Brown# Include subdirectory makefiles 508575a87b0d61d21c286321afdf193f4fac53d681Jeff Brown# ============================================================ 518575a87b0d61d21c286321afdf193f4fac53d681Jeff Brown 528575a87b0d61d21c286321afdf193f4fac53d681Jeff Brown# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 538575a87b0d61d21c286321afdf193f4fac53d681Jeff Brown# team really wants is to build the stuff defined by this makefile. 548575a87b0d61d21c286321afdf193f4fac53d681Jeff Brownifeq (,$(ONE_SHOT_MAKEFILE)) 558575a87b0d61d21c286321afdf193f4fac53d681Jeff Browninclude $(call first-makefiles-under,$(LOCAL_PATH)) 568575a87b0d61d21c286321afdf193f4fac53d681Jeff Brownendif 57