-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathatom.mk
60 lines (51 loc) · 1.25 KB
/
atom.mk
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
53
54
55
56
57
58
59
60
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libvideo-streaming
LOCAL_CATEGORY_PATH := libs
LOCAL_DESCRIPTION := Video streaming library
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_CFLAGS := -DVSTRM_API_EXPORTS -fvisibility=hidden -std=gnu99 -D_GNU_SOURCE
LOCAL_SRC_FILES := \
src/vstrm_clock_delta.c \
src/vstrm_dbg.c \
src/vstrm_event.c \
src/vstrm_frame.c \
src/vstrm_h264_sei_streaming.c \
src/vstrm_receiver.c \
src/vstrm_rtp_h264_rx.c \
src/vstrm_rtp_h264_tx.c \
src/vstrm_sender.c \
src/vstrm_session_metadata.c \
src/vstrm_video_stats.c
LOCAL_LIBRARIES := \
libfutils \
libh264 \
libpomp \
librtp \
libtransport-packet \
libulog \
libvideo-metadata
ifeq ("$(TARGET_OS)","windows")
LOCAL_LDLIBS += -lws2_32
endif
include $(BUILD_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := vstrm-test
LOCAL_DESCRIPTION := Video streaming library test program
LOCAL_CATEGORY_PATH := libs/streaming
LOCAL_SRC_FILES := \
tests/vstrm_test.c \
tests/vstrm_test_receiver.c \
tests/vstrm_test_sender.c
LOCAL_LIBRARIES := \
libfutils \
libh264 \
libpomp \
libtransport-packet \
libtransport-socket \
libulog \
libvideo-streaming
ifeq ("$(TARGET_OS)","windows")
LOCAL_LDLIBS += -lws2_32
endif
include $(BUILD_EXECUTABLE)