Home | History | Annotate | Download | only in webrtc
      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 include $(CLEAR_VARS)
     12 include $(LOCAL_PATH)/android-webrtc.mk
     13 
     14 LOCAL_ARM_MODE := arm
     15 LOCAL_MODULE := libwebrtc_audio_preprocessing
     16 LOCAL_MODULE_TAGS := optional
     17 
     18 LOCAL_WHOLE_STATIC_LIBRARIES := \
     19     libwebrtc_aec \
     20     libwebrtc_aecm \
     21     libwebrtc_agc \
     22     libwebrtc_apm \
     23     libwebrtc_apm_utility \
     24     libwebrtc_apvad \
     25     libwebrtc_base \
     26     libwebrtc_beamformer \
     27     libwebrtc_common \
     28     libwebrtc_intell \
     29     libwebrtc_isac \
     30     libwebrtc_resampler \
     31     libwebrtc_ns \
     32     libwebrtc_spl \
     33     libwebrtc_system_wrappers \
     34     libwebrtc_transient \
     35     libwebrtc_vad \
     36 
     37 # Add Neon libraries.
     38 ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
     39 LOCAL_WHOLE_STATIC_LIBRARIES_arm += \
     40     libwebrtc_aecm_neon \
     41     libwebrtc_ns_neon
     42 endif
     43 
     44 LOCAL_SHARED_LIBRARIES := \
     45     libcutils \
     46     libdl \
     47     libprotobuf-cpp-lite \
     48 
     49 include $(BUILD_SHARED_LIBRARY)
     50 
     51 
     52 include $(CLEAR_VARS)
     53 include $(LOCAL_PATH)/android-webrtc.mk
     54 
     55 LOCAL_ARM_MODE := arm
     56 LOCAL_MODULE := libwebrtc_audio_coding
     57 LOCAL_MODULE_TAGS := optional
     58 
     59 LOCAL_WHOLE_STATIC_LIBRARIES := \
     60     libwebrtc_base \
     61     libwebrtc_common \
     62     libwebrtc_intell \
     63     libwebrtc_isac \
     64     libwebrtc_isacfix \
     65     libwebrtc_resampler \
     66     libwebrtc_spl \
     67     libwebrtc_system_wrappers \
     68 
     69 ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
     70 LOCAL_WHOLE_STATIC_LIBRARIES_arm += \
     71     libwebrtc_isacfix_neon
     72 endif
     73 
     74 LOCAL_SHARED_LIBRARIES := \
     75     libprotobuf-cpp-lite \
     76     libcutils \
     77     libdl \
     78 
     79 include $(BUILD_SHARED_LIBRARY)
     80 
     81 
     82 include $(CLEAR_VARS)
     83 include $(LOCAL_PATH)/android-webrtc.mk
     84 
     85 LOCAL_ARM_MODE := arm
     86 LOCAL_MODULE := libwebrtc_audio_coding_gnustl_static
     87 LOCAL_MODULE_TAGS := optional
     88 
     89 LOCAL_WHOLE_STATIC_LIBRARIES := \
     90     libwebrtc_isac_gnustl_static \
     91     libwebrtc_isacfix_gnustl_static \
     92     libwebrtc_spl_gnustl_static \
     93     libwebrtc_system_wrappers_gnustl_static
     94 ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
     95 LOCAL_WHOLE_STATIC_LIBRARIES_arm += \
     96     libwebrtc_isacfix_neon_gnustl_static
     97 endif
     98 
     99 LOCAL_STATIC_LIBRARIES := \
    100     libprotobuf-cpp-lite
    101 
    102 LOCAL_NDK_STL_VARIANT := gnustl_static
    103 LOCAL_SDK_VERSION := 14
    104 
    105 include $(BUILD_STATIC_LIBRARY)
    106 
    107 webrtc_path := $(LOCAL_PATH)
    108 # voice
    109 include $(webrtc_path)/webrtc/base/Android.mk
    110 include $(webrtc_path)/webrtc/common_audio/Android.mk
    111 include $(webrtc_path)/webrtc/common_audio/resampler/Android.mk
    112 include $(webrtc_path)/webrtc/common_audio/signal_processing/Android.mk
    113 include $(webrtc_path)/webrtc/common_audio/vad/Android.mk
    114 include $(webrtc_path)/webrtc/modules/audio_coding/codecs/isac/fix/source/Android.mk
    115 include $(webrtc_path)/webrtc/modules/audio_coding/codecs/isac/main/source/Android.mk
    116 include $(webrtc_path)/webrtc/modules/audio_processing/Android.mk
    117 include $(webrtc_path)/webrtc/modules/audio_processing/aec/Android.mk
    118 include $(webrtc_path)/webrtc/modules/audio_processing/aecm/Android.mk
    119 include $(webrtc_path)/webrtc/modules/audio_processing/agc/Android.mk
    120 include $(webrtc_path)/webrtc/modules/audio_processing/beamformer/Android.mk
    121 include $(webrtc_path)/webrtc/modules/audio_processing/intelligibility/Android.mk
    122 include $(webrtc_path)/webrtc/modules/audio_processing/ns/Android.mk
    123 include $(webrtc_path)/webrtc/modules/audio_processing/transient/Android.mk
    124 include $(webrtc_path)/webrtc/modules/audio_processing/utility/Android.mk
    125 include $(webrtc_path)/webrtc/modules/audio_processing/vad/Android.mk
    126 include $(webrtc_path)/webrtc/system_wrappers/source/Android.mk
    127 
    128 # libwebrtc_audio_coding_gnustl_static dependencies
    129 WEBRTC_STL := gnustl_static
    130 include $(webrtc_path)/webrtc/system_wrappers/source/Android.mk
    131 include $(webrtc_path)/webrtc/modules/audio_coding/codecs/isac/fix/source/Android.mk
    132 include $(webrtc_path)/webrtc/modules/audio_coding/codecs/isac/main/source/Android.mk
    133 include $(webrtc_path)/webrtc/common_audio/signal_processing/Android.mk
    134