summaryrefslogtreecommitdiffstats
path: root/Android.mk
blob: ee1de58ec5d13e066a3bbbd4e5a919894ad06ad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

LOCAL_PATH := $(call my-dir)

#########################

bsdrm_srcs = \
	bsdrm/src/app.c \
	bsdrm/src/debug.c \
	bsdrm/src/draw.c \
	bsdrm/src/drm_connectors.c \
	bsdrm/src/drm_fb.c \
	bsdrm/src/drm_open.c \
	bsdrm/src/drm_pipe.c \
	bsdrm/src/egl.c \
	bsdrm/src/gl.c \
	bsdrm/src/kms.c \
	bsdrm/src/mmap.c \
	bsdrm/src/open.c \
	bsdrm/src/pipe.c

include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(bsdrm_srcs) atomictest.c

LOCAL_MODULE := atomictest
LOCAL_MODULE_TAGS := optional

LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)/bsdrm/include \
	$(VENDOR_SDK_INCLUDES)
LOCAL_CFLAGS := -O2 -g -W -Wall
LOCAL_SHARED_LIBRARIES := libdrm libminigbm libsync

include $(BUILD_EXECUTABLE)

include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(bsdrm_srcs) gamma_test.c

LOCAL_MODULE := gamma_test
LOCAL_MODULE_TAGS := optional

LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)/bsdrm/include \
	$(VENDOR_SDK_INCLUDES)
LOCAL_CFLAGS := -O2 -g -W -Wall
LOCAL_SHARED_LIBRARIES := libdrm libminigbm libsync

include $(BUILD_EXECUTABLE)