Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / video_engine / test / auto_test / android / jni / Android.mk
1 #  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.\r
2 #\r
3 #  Use of this source code is governed by a BSD-style license\r
4 #  that can be found in the LICENSE file in the root of the source\r
5 #  tree. An additional intellectual property rights grant can be found\r
6 #  in the file PATENTS.  All contributing project authors may\r
7 #  be found in the AUTHORS file in the root of the source tree.\r
8 \r
9 LOCAL_PATH := $(call my-dir)\r
10 \r
11 # the follow two lines are for NDK build\r
12 INTERFACES_PATH := $(LOCAL_PATH)/../../../../../../build/interface\r
13 LIBS_PATH := $(LOCAL_PATH)/../../../../../../build/libraries\r
14 \r
15 include $(CLEAR_VARS)\r
16 \r
17 LOCAL_MODULE_TAGS := tests\r
18 LOCAL_MODULE := libwebrtc-video-autotest-jni\r
19 LOCAL_CPP_EXTENSION := .cc\r
20 LOCAL_SRC_FILES := \\r
21     vie_autotest_jni.cc \\r
22     ../../source/vie_autotest_android.cc \\r
23     ../../source/vie_autotest.cc \\r
24     ../../source/vie_autotest_base.cc \\r
25     ../../source/vie_autotest_capture.cc \\r
26     ../../source/vie_autotest_codec.cc \\r
27     ../../source/vie_autotest_file.cc \\r
28     ../../source/vie_autotest_image_process.cc \\r
29     ../../source/vie_autotest_loopback.cc \\r
30     ../../source/vie_autotest_network.cc \\r
31     ../../source/vie_autotest_render.cc \\r
32     ../../source/vie_autotest_rtp_rtcp.cc \\r
33     ../../source/tb_I420_codec.cc \\r
34     ../../source/tb_capture_device.cc \\r
35     ../../source/tb_external_transport.cc \\r
36     ../../source/tb_interfaces.cc \\r
37     ../../source/tb_video_channel.cc\r
38 \r
39 LOCAL_CFLAGS := \\r
40     '-DWEBRTC_TARGET_PC' \\r
41     '-DWEBRTC_ANDROID' \\r
42     '-DWEBRTC_ANDROID_OPENSLES'\r
43 \r
44 LOCAL_C_INCLUDES := \\r
45     external/gtest/include \\r
46     $(LOCAL_PATH)/../interface \\r
47     $(LOCAL_PATH)/../../interface \\r
48     $(LOCAL_PATH)/../../../interface \\r
49     $(LOCAL_PATH)/../../.. \\r
50     $(LOCAL_PATH)/../../../../.. \\r
51     $(LOCAL_PATH)/../../../../../common_video/interface \\r
52     $(LOCAL_PATH)/../../../../../common_video/vplib/main/interface \\r
53     $(LOCAL_PATH)/../../../../../modules/interface \\r
54     $(LOCAL_PATH)/../../../../../modules/video_capture/main/interface \\r
55     $(LOCAL_PATH)/../../../../../modules/video_capture/main/source \\r
56     $(LOCAL_PATH)/../../../../../modules/video_coding/codecs/interface \\r
57     $(LOCAL_PATH)/../../../../../modules/video_render/main/interface \\r
58     $(LOCAL_PATH)/../../../../../voice_engine/include \\r
59     $(LOCAL_PATH)/../../../../../system_wrappers/interface\r
60 \r
61 LOCAL_PRELINK_MODULE := false\r
62 \r
63 LOCAL_SHARED_LIBRARIES := \\r
64     libutils \\r
65     libstlport \\r
66     libandroid \\r
67     libwebrtc \\r
68     libGLESv2\r
69 \r
70 # the following line is for NDK build\r
71 LOCAL_LDLIBS     := $(LIBS_PATH)/VideoEngine_android_gcc.a -llog -lgcc\r
72 \r
73 ifndef NDK_ROOT\r
74 include external/stlport/libstlport.mk\r
75 endif\r
76 include $(BUILD_SHARED_LIBRARY)\r