blob: e858eaaae7897ba423e1a98e84dcd8af96f061e3 [file] [log] [blame]
Tao Bao0ecbd762017-01-16 21:16:58 -08001# Copyright (C) 2007 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 Projectc24a8e62009-03-03 19:28:42 -080015LOCAL_PATH := $(call my-dir)
Tao Bao99f0d9e2016-10-13 12:46:38 -070016
17# libminui (static library)
18# ===============================
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080019include $(CLEAR_VARS)
20
Elliott Hughes07138192015-04-10 09:40:53 -070021LOCAL_SRC_FILES := \
22 events.cpp \
Elliott Hughes07cfb8f2015-04-10 13:12:05 -070023 graphics.cpp \
24 graphics_adf.cpp \
Stéphane Marchesin1a92c442015-06-29 20:05:48 -070025 graphics_drm.cpp \
Elliott Hughes07cfb8f2015-04-10 13:12:05 -070026 graphics_fbdev.cpp \
27 resources.cpp \
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080028
Tao Bao0ecbd762017-01-16 21:16:58 -080029LOCAL_WHOLE_STATIC_LIBRARIES := \
30 libadf \
Dan Willemsen2ee92662017-10-19 22:29:50 -070031 libdrm \
Tao Bao0ecbd762017-01-16 21:16:58 -080032 libsync_recovery
33
Tianjie Xu2078b222017-03-22 12:27:26 -070034LOCAL_STATIC_LIBRARIES := \
35 libpng \
36 libbase
37
Tianjie Xuc89d1e72017-08-28 14:15:07 -070038LOCAL_CFLAGS := -Wall -Werror
Tao Bao0ecbd762017-01-16 21:16:58 -080039LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
40LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
Greg Hackmann41909dd2014-04-25 10:39:50 -070041
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080042LOCAL_MODULE := libminui
43
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080044include $(BUILD_STATIC_LIBRARY)
Ajay Dudani9905f3a2015-02-04 16:49:44 -080045
Tao Bao99f0d9e2016-10-13 12:46:38 -070046# libminui (shared library)
47# ===============================
Ajay Dudani9905f3a2015-02-04 16:49:44 -080048# Used by OEMs for factory test images.
49include $(CLEAR_VARS)
50LOCAL_MODULE := libminui
51LOCAL_WHOLE_STATIC_LIBRARIES += libminui
Tianjie Xu2078b222017-03-22 12:27:26 -070052LOCAL_SHARED_LIBRARIES := \
53 libpng \
54 libbase
55
Tianjie Xuc89d1e72017-08-28 14:15:07 -070056LOCAL_CFLAGS := -Wall -Werror
Tao Bao0ecbd762017-01-16 21:16:58 -080057LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
58LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
Ajay Dudani9905f3a2015-02-04 16:49:44 -080059include $(BUILD_SHARED_LIBRARY)