leozwang@webrtc.org | 785db5a | 2012-02-28 23:10:03 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
leozwang@google.com | b352700 | 2011-07-26 17:29:38 +0000 | [diff] [blame] | 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. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 8 | |
| 9 | LOCAL_PATH := $(call my-dir) |
| 10 | |
| 11 | include $(CLEAR_VARS) |
| 12 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 13 | include $(LOCAL_PATH)/../../../android-webrtc.mk |
| 14 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 15 | LOCAL_ARM_MODE := arm |
| 16 | LOCAL_MODULE := libwebrtc_system_wrappers |
| 17 | LOCAL_MODULE_TAGS := optional |
| 18 | LOCAL_CPP_EXTENSION := .cc |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 19 | LOCAL_SRC_FILES := \ |
leozwang@webrtc.org | f5fe100 | 2012-05-08 15:20:02 +0000 | [diff] [blame] | 20 | cpu_features_android.c \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 21 | sort.cc \ |
| 22 | aligned_malloc.cc \ |
tommi@webrtc.org | f4c80fc | 2012-04-19 15:41:33 +0000 | [diff] [blame] | 23 | atomic32_posix.cc \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 24 | condition_variable.cc \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 25 | cpu_features.cc \ |
kma@webrtc.org | b61c410 | 2011-11-10 18:10:25 +0000 | [diff] [blame] | 26 | cpu_info.cc \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 27 | critical_section.cc \ |
| 28 | event.cc \ |
hclam@chromium.org | ad7efa6 | 2012-12-11 21:19:08 +0000 | [diff] [blame] | 29 | event_tracer.cc \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 30 | file_impl.cc \ |
| 31 | list_no_stl.cc \ |
| 32 | rw_lock.cc \ |
| 33 | thread.cc \ |
| 34 | trace_impl.cc \ |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 35 | condition_variable_posix.cc \ |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 36 | critical_section_posix.cc \ |
| 37 | event_posix.cc \ |
hta@webrtc.org | 41adcdb | 2012-06-18 11:24:57 +0000 | [diff] [blame] | 38 | sleep.cc \ |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 39 | thread_posix.cc \ |
phoglund@webrtc.org | 4cebe6c | 2012-11-07 13:37:19 +0000 | [diff] [blame] | 40 | tick_util.cc \ |
ajm@google.com | b5c49ff | 2011-08-01 17:04:04 +0000 | [diff] [blame] | 41 | trace_posix.cc \ |
| 42 | rw_lock_posix.cc |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 43 | |
leozwang@google.com | b352700 | 2011-07-26 17:29:38 +0000 | [diff] [blame] | 44 | LOCAL_CFLAGS := \ |
| 45 | $(MY_WEBRTC_COMMON_DEFS) |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 46 | |
leozwang@google.com | b352700 | 2011-07-26 17:29:38 +0000 | [diff] [blame] | 47 | LOCAL_C_INCLUDES := \ |
| 48 | $(LOCAL_PATH)/../.. \ |
| 49 | $(LOCAL_PATH)/../interface \ |
leozwang@webrtc.org | f3adba4 | 2012-11-15 18:17:40 +0000 | [diff] [blame] | 50 | $(LOCAL_PATH)/spreadsortlib \ |
| 51 | external/webrtc |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 52 | |
leozwang@google.com | b352700 | 2011-07-26 17:29:38 +0000 | [diff] [blame] | 53 | LOCAL_SHARED_LIBRARIES := \ |
| 54 | libcutils \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 55 | libdl \ |
| 56 | libstlport |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 57 | |
michaelbai@google.com | f928f5c | 2014-02-05 18:43:46 +0000 | [diff] [blame] | 58 | LOCAL_STATIC_LIBRARIES := cpufeatures |
| 59 | |
leozwang@google.com | b352700 | 2011-07-26 17:29:38 +0000 | [diff] [blame] | 60 | ifndef NDK_ROOT |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 61 | include external/stlport/libstlport.mk |
leozwang@google.com | b352700 | 2011-07-26 17:29:38 +0000 | [diff] [blame] | 62 | endif |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 63 | include $(BUILD_STATIC_LIBRARY) |