niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | # 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 |
|
| 9 | LOCAL_PATH := $(call my-dir)
|
| 10 |
|
| 11 | INTERFACES_PATH := $(LOCAL_PATH)/../../../../../../../build/interface
|
| 12 | LIBS_PATH := $(LOCAL_PATH)/../../../../../../../build/libraries
|
| 13 |
|
| 14 | include $(CLEAR_VARS)
|
| 15 |
|
| 16 | LOCAL_MODULE_TAGS := tests
|
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame^] | 17 | LOCAL_MODULE := libwebrtc-video-demo-jni
|
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 18 | LOCAL_CPP_EXTENSION := .cc
|
| 19 | LOCAL_SRC_FILES := vie_android_java_api.cc
|
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame^] | 20 | LOCAL_CFLAGS := \
|
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 21 | '-DWEBRTC_TARGET_PC' \
|
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame^] | 22 | '-DWEBRTC_ANDROID'
|
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 23 |
|
| 24 | LOCAL_C_INCLUDES := \
|
| 25 | external/gtest/include \
|
| 26 | $(LOCAL_PATH)/../../../../.. \
|
| 27 | $(LOCAL_PATH)/../../../interface \
|
| 28 | $(LOCAL_PATH)/../../../../../voice_engine/main/interface
|
| 29 |
|
| 30 | LOCAL_PRELINK_MODULE := false
|
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 31 |
|
| 32 | LOCAL_SHARED_LIBRARIES := \
|
| 33 | libutils \
|
| 34 | libstlport \
|
| 35 | libandroid \
|
| 36 | libwebrtc \
|
| 37 | libGLESv2
|
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame^] | 38 | LOCAL_LDLIBS := $(LIBS_PATH)/VideoEngine_android_gcc.a -llog -lgcc
|
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 39 |
|
| 40 | include $(BUILD_SHARED_LIBRARY)
|
| 41 |
|