blob: 707828b3fdc1d1c665a9d240f2a8d884bbffeede [file] [log] [blame]
niklase@google.com470e71d2011-07-07 08:21:25 +00001# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9LOCAL_PATH := $(call my-dir)
10
11INTERFACES_PATH := $(LOCAL_PATH)/../../../../../../../build/interface
12LIBS_PATH := $(LOCAL_PATH)/../../../../../../../build/libraries
13
14include $(CLEAR_VARS)
15
16LOCAL_MODULE_TAGS := tests
leozwang@google.com79835d12011-08-05 21:01:02 +000017LOCAL_MODULE := libwebrtc-video-demo-jni
niklase@google.com470e71d2011-07-07 08:21:25 +000018LOCAL_CPP_EXTENSION := .cc
19LOCAL_SRC_FILES := vie_android_java_api.cc
leozwang@google.com79835d12011-08-05 21:01:02 +000020LOCAL_CFLAGS := \
niklase@google.com470e71d2011-07-07 08:21:25 +000021 '-DWEBRTC_TARGET_PC' \
leozwang@google.com79835d12011-08-05 21:01:02 +000022 '-DWEBRTC_ANDROID'
niklase@google.com470e71d2011-07-07 08:21:25 +000023
24LOCAL_C_INCLUDES := \
25 external/gtest/include \
26 $(LOCAL_PATH)/../../../../.. \
27 $(LOCAL_PATH)/../../../interface \
28 $(LOCAL_PATH)/../../../../../voice_engine/main/interface
29
30LOCAL_PRELINK_MODULE := false
niklase@google.com470e71d2011-07-07 08:21:25 +000031
32LOCAL_SHARED_LIBRARIES := \
33 libutils \
34 libstlport \
35 libandroid \
36 libwebrtc \
37 libGLESv2
leozwang@google.com79835d12011-08-05 21:01:02 +000038LOCAL_LDLIBS := $(LIBS_PATH)/VideoEngine_android_gcc.a -llog -lgcc
niklase@google.com470e71d2011-07-07 08:21:25 +000039
40include $(BUILD_SHARED_LIBRARY)
41