blob: 4767e72cb38ac6edd2b43331dfad680781854d2f [file] [log] [blame]
leozwang@webrtc.org785db5a2012-02-28 23:10:03 +00001# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
leozwang@google.comb3527002011-07-26 17:29:38 +00002#
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.com470e71d2011-07-07 08:21:25 +00008
9LOCAL_PATH := $(call my-dir)
10
11include $(CLEAR_VARS)
12
leozwang@google.com79835d12011-08-05 21:01:02 +000013include $(LOCAL_PATH)/../../../android-webrtc.mk
14
niklase@google.com470e71d2011-07-07 08:21:25 +000015LOCAL_ARM_MODE := arm
16LOCAL_MODULE := libwebrtc_system_wrappers
17LOCAL_MODULE_TAGS := optional
18LOCAL_CPP_EXTENSION := .cc
niklase@google.com470e71d2011-07-07 08:21:25 +000019LOCAL_SRC_FILES := \
leozwang@webrtc.orgf5fe1002012-05-08 15:20:02 +000020 cpu_features_android.c \
niklase@google.com470e71d2011-07-07 08:21:25 +000021 sort.cc \
22 aligned_malloc.cc \
tommi@webrtc.orgf4c80fc2012-04-19 15:41:33 +000023 atomic32_posix.cc \
niklase@google.com470e71d2011-07-07 08:21:25 +000024 condition_variable.cc \
niklase@google.com470e71d2011-07-07 08:21:25 +000025 cpu_features.cc \
kma@webrtc.orgb61c4102011-11-10 18:10:25 +000026 cpu_info.cc \
niklase@google.com470e71d2011-07-07 08:21:25 +000027 critical_section.cc \
28 event.cc \
hclam@chromium.orgad7efa62012-12-11 21:19:08 +000029 event_tracer.cc \
niklase@google.com470e71d2011-07-07 08:21:25 +000030 file_impl.cc \
31 list_no_stl.cc \
32 rw_lock.cc \
33 thread.cc \
34 trace_impl.cc \
ajm@google.comb5c49ff2011-08-01 17:04:04 +000035 condition_variable_posix.cc \
ajm@google.comb5c49ff2011-08-01 17:04:04 +000036 critical_section_posix.cc \
37 event_posix.cc \
wu@webrtc.org66773a02014-05-07 17:09:44 +000038 rtp_to_ntp.cc \
hta@webrtc.org41adcdb2012-06-18 11:24:57 +000039 sleep.cc \
ajm@google.comb5c49ff2011-08-01 17:04:04 +000040 thread_posix.cc \
phoglund@webrtc.org4cebe6c2012-11-07 13:37:19 +000041 tick_util.cc \
wu@webrtc.org66773a02014-05-07 17:09:44 +000042 timestamp_extrapolator.cc \
ajm@google.comb5c49ff2011-08-01 17:04:04 +000043 trace_posix.cc \
wu@webrtc.org66773a02014-05-07 17:09:44 +000044 rw_lock_posix.cc
niklase@google.com470e71d2011-07-07 08:21:25 +000045
leozwang@google.comb3527002011-07-26 17:29:38 +000046LOCAL_CFLAGS := \
47 $(MY_WEBRTC_COMMON_DEFS)
niklase@google.com470e71d2011-07-07 08:21:25 +000048
leozwang@google.comb3527002011-07-26 17:29:38 +000049LOCAL_C_INCLUDES := \
50 $(LOCAL_PATH)/../.. \
51 $(LOCAL_PATH)/../interface \
leozwang@webrtc.orgf3adba42012-11-15 18:17:40 +000052 $(LOCAL_PATH)/spreadsortlib \
53 external/webrtc
niklase@google.com470e71d2011-07-07 08:21:25 +000054
leozwang@google.comb3527002011-07-26 17:29:38 +000055LOCAL_SHARED_LIBRARIES := \
56 libcutils \
niklase@google.com470e71d2011-07-07 08:21:25 +000057 libdl \
58 libstlport
niklase@google.com470e71d2011-07-07 08:21:25 +000059
michaelbai@google.comf928f5c2014-02-05 18:43:46 +000060LOCAL_STATIC_LIBRARIES := cpufeatures
61
leozwang@google.comb3527002011-07-26 17:29:38 +000062ifndef NDK_ROOT
niklase@google.com470e71d2011-07-07 08:21:25 +000063include external/stlport/libstlport.mk
leozwang@google.comb3527002011-07-26 17:29:38 +000064endif
niklase@google.com470e71d2011-07-07 08:21:25 +000065include $(BUILD_STATIC_LIBRARY)