blob: 779bb7c4f8806f5fe997e0cf94df783fcc00b16f [file] [log] [blame]
leozwang@google.com79835d12011-08-05 21:01:02 +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.
niklase@google.com470e71d2011-07-07 08:21:25 +00008
9LOCAL_PATH := $(call my-dir)
10
11include $(CLEAR_VARS)
12
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000013include $(LOCAL_PATH)/../../../../../android-webrtc.mk
leozwang@google.com79835d12011-08-05 21:01:02 +000014
niklase@google.com470e71d2011-07-07 08:21:25 +000015LOCAL_ARM_MODE := arm
16LOCAL_MODULE_CLASS := STATIC_LIBRARIES
17LOCAL_MODULE := libwebrtc_g711
18LOCAL_MODULE_TAGS := optional
19LOCAL_GENERATED_SOURCES :=
leozwang@google.com79835d12011-08-05 21:01:02 +000020LOCAL_SRC_FILES := \
21 g711_interface.c \
niklase@google.com470e71d2011-07-07 08:21:25 +000022 g711.c
23
24# Flags passed to both C and C++ files.
leozwang@google.com79835d12011-08-05 21:01:02 +000025LOCAL_CFLAGS := \
26 $(MY_WEBRTC_COMMON_DEFS)
niklase@google.com470e71d2011-07-07 08:21:25 +000027
leozwang@google.com79835d12011-08-05 21:01:02 +000028LOCAL_C_INCLUDES := \
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000029 $(LOCAL_PATH)/include \
30 $(LOCAL_PATH)/../../../..
niklase@google.com470e71d2011-07-07 08:21:25 +000031
leozwang@google.com79835d12011-08-05 21:01:02 +000032LOCAL_SHARED_LIBRARIES := \
33 libcutils \
niklase@google.com470e71d2011-07-07 08:21:25 +000034 libdl \
35 libstlport
niklase@google.com470e71d2011-07-07 08:21:25 +000036
leozwang@google.com79835d12011-08-05 21:01:02 +000037ifndef NDK_ROOT
niklase@google.com470e71d2011-07-07 08:21:25 +000038include external/stlport/libstlport.mk
leozwang@google.com79835d12011-08-05 21:01:02 +000039endif
niklase@google.com470e71d2011-07-07 08:21:25 +000040include $(BUILD_STATIC_LIBRARY)