Home | History | Annotate | Download | only in modules
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
      6 LOCAL_MODULE := third_party_webrtc_modules_neteq_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
      9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     11 
     12 # Make sure our deps are built first.
     13 GYP_TARGET_DEPENDENCIES :=
     14 
     15 GYP_GENERATED_OUTPUTS :=
     16 
     17 # Make sure our deps and generated files are built first.
     18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     19 
     20 LOCAL_CPP_EXTENSION := .cc
     21 LOCAL_GENERATED_SOURCES :=
     22 
     23 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     24 
     25 LOCAL_SRC_FILES := \
     26 	third_party/webrtc/modules/audio_coding/neteq/accelerate.cc \
     27 	third_party/webrtc/modules/audio_coding/neteq/audio_classifier.cc \
     28 	third_party/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc \
     29 	third_party/webrtc/modules/audio_coding/neteq/audio_decoder.cc \
     30 	third_party/webrtc/modules/audio_coding/neteq/audio_multi_vector.cc \
     31 	third_party/webrtc/modules/audio_coding/neteq/audio_vector.cc \
     32 	third_party/webrtc/modules/audio_coding/neteq/background_noise.cc \
     33 	third_party/webrtc/modules/audio_coding/neteq/buffer_level_filter.cc \
     34 	third_party/webrtc/modules/audio_coding/neteq/comfort_noise.cc \
     35 	third_party/webrtc/modules/audio_coding/neteq/decision_logic.cc \
     36 	third_party/webrtc/modules/audio_coding/neteq/decision_logic_fax.cc \
     37 	third_party/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc \
     38 	third_party/webrtc/modules/audio_coding/neteq/decoder_database.cc \
     39 	third_party/webrtc/modules/audio_coding/neteq/delay_manager.cc \
     40 	third_party/webrtc/modules/audio_coding/neteq/delay_peak_detector.cc \
     41 	third_party/webrtc/modules/audio_coding/neteq/dsp_helper.cc \
     42 	third_party/webrtc/modules/audio_coding/neteq/dtmf_buffer.cc \
     43 	third_party/webrtc/modules/audio_coding/neteq/dtmf_tone_generator.cc \
     44 	third_party/webrtc/modules/audio_coding/neteq/expand.cc \
     45 	third_party/webrtc/modules/audio_coding/neteq/merge.cc \
     46 	third_party/webrtc/modules/audio_coding/neteq/neteq_impl.cc \
     47 	third_party/webrtc/modules/audio_coding/neteq/neteq.cc \
     48 	third_party/webrtc/modules/audio_coding/neteq/statistics_calculator.cc \
     49 	third_party/webrtc/modules/audio_coding/neteq/normal.cc \
     50 	third_party/webrtc/modules/audio_coding/neteq/packet_buffer.cc \
     51 	third_party/webrtc/modules/audio_coding/neteq/payload_splitter.cc \
     52 	third_party/webrtc/modules/audio_coding/neteq/post_decode_vad.cc \
     53 	third_party/webrtc/modules/audio_coding/neteq/preemptive_expand.cc \
     54 	third_party/webrtc/modules/audio_coding/neteq/random_vector.cc \
     55 	third_party/webrtc/modules/audio_coding/neteq/rtcp.cc \
     56 	third_party/webrtc/modules/audio_coding/neteq/sync_buffer.cc \
     57 	third_party/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc \
     58 	third_party/webrtc/modules/audio_coding/neteq/time_stretch.cc
     59 
     60 
     61 # Flags passed to both C and C++ files.
     62 MY_CFLAGS_Debug := \
     63 	-fstack-protector \
     64 	--param=ssp-buffer-size=4 \
     65 	-Werror \
     66 	-fno-strict-aliasing \
     67 	-Wall \
     68 	-Wno-unused-parameter \
     69 	-Wno-missing-field-initializers \
     70 	-fvisibility=hidden \
     71 	-pipe \
     72 	-fPIC \
     73 	-Wno-unused-local-typedefs \
     74 	-fno-builtin-cos \
     75 	-fno-builtin-sin \
     76 	-fno-builtin-cosf \
     77 	-fno-builtin-sinf \
     78 	-fno-builtin-cos \
     79 	-fno-builtin-sin \
     80 	-fno-builtin-cosf \
     81 	-fno-builtin-sinf \
     82 	-fno-tree-sra \
     83 	-fno-caller-saves \
     84 	-Wno-psabi \
     85 	-fno-partial-inlining \
     86 	-fno-early-inlining \
     87 	-fno-tree-copy-prop \
     88 	-fno-tree-loop-optimize \
     89 	-fno-move-loop-invariants \
     90 	-ffunction-sections \
     91 	-funwind-tables \
     92 	-g \
     93 	-fstack-protector \
     94 	-fno-short-enums \
     95 	-finline-limit=64 \
     96 	-Wa,--noexecstack \
     97 	-U_FORTIFY_SOURCE \
     98 	-Wno-extra \
     99 	-Wno-ignored-qualifiers \
    100 	-Wno-type-limits \
    101 	-Wno-unused-but-set-variable \
    102 	-Os \
    103 	-g \
    104 	-gdwarf-4 \
    105 	-fdata-sections \
    106 	-ffunction-sections \
    107 	-fomit-frame-pointer \
    108 	-funwind-tables
    109 
    110 MY_DEFS_Debug := \
    111 	'-DV8_DEPRECATION_WARNINGS' \
    112 	'-D_FILE_OFFSET_BITS=64' \
    113 	'-DNO_TCMALLOC' \
    114 	'-DDISABLE_NACL' \
    115 	'-DCHROMIUM_BUILD' \
    116 	'-DUSE_LIBJPEG_TURBO=1' \
    117 	'-DENABLE_WEBRTC=1' \
    118 	'-DUSE_PROPRIETARY_CODECS' \
    119 	'-DENABLE_BROWSER_CDMS' \
    120 	'-DENABLE_CONFIGURATION_POLICY' \
    121 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    122 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    123 	'-DENABLE_EGLIMAGE=1' \
    124 	'-DCLD_VERSION=1' \
    125 	'-DENABLE_PRINTING=1' \
    126 	'-DENABLE_MANAGED_USERS=1' \
    127 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    128 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    129 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    130 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    131 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    132 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    133 	'-DVIDEO_HOLE=1' \
    134 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    135 	'-DWEBRTC_RESTRICT_LOGGING' \
    136 	'-DEXPAT_RELATIVE_PATH' \
    137 	'-DWEBRTC_MODULE_UTILITY_VIDEO' \
    138 	'-DWEBRTC_CHROMIUM_BUILD' \
    139 	'-DLOGGING_INSIDE_WEBRTC' \
    140 	'-DWEBRTC_ARCH_ARM' \
    141 	'-DWEBRTC_ARCH_ARM_V7' \
    142 	'-DWEBRTC_DETECT_ARM_NEON' \
    143 	'-DWEBRTC_POSIX' \
    144 	'-DWEBRTC_LINUX' \
    145 	'-DWEBRTC_ANDROID' \
    146 	'-DWEBRTC_ANDROID_OPENSLES' \
    147 	'-DWEBRTC_CODEC_OPUS' \
    148 	'-DUSE_OPENSSL=1' \
    149 	'-DUSE_OPENSSL_CERTS=1' \
    150 	'-D__STDC_CONSTANT_MACROS' \
    151 	'-D__STDC_FORMAT_MACROS' \
    152 	'-DANDROID' \
    153 	'-D__GNU_SOURCE=1' \
    154 	'-DUSE_STLPORT=1' \
    155 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    156 	'-DCHROME_BUILD_ID=""' \
    157 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    158 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    159 	'-D_DEBUG'
    160 
    161 
    162 # Include paths placed before CFLAGS/CPPFLAGS
    163 LOCAL_C_INCLUDES_Debug := \
    164 	$(gyp_shared_intermediate_dir) \
    165 	$(LOCAL_PATH) \
    166 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    167 	$(LOCAL_PATH)/third_party \
    168 	$(LOCAL_PATH)/third_party/opus/src/celt \
    169 	$(LOCAL_PATH)/third_party/opus/src/src \
    170 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g711/include \
    171 	$(LOCAL_PATH)/third_party/webrtc \
    172 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g722/include \
    173 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/pcm16b/include \
    174 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/ilbc/interface \
    175 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/main/interface \
    176 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \
    177 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/cng/include \
    178 	$(LOCAL_PATH)/third_party/opus/src/include \
    179 	$(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \
    180 	$(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \
    181 	$(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \
    182 	$(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
    183 	$(PWD)/frameworks/wilhelm/include \
    184 	$(PWD)/bionic \
    185 	$(PWD)/external/stlport/stlport
    186 
    187 
    188 # Flags passed to only C++ (and not C) files.
    189 LOCAL_CPPFLAGS_Debug := \
    190 	-fno-exceptions \
    191 	-fno-rtti \
    192 	-fno-threadsafe-statics \
    193 	-fvisibility-inlines-hidden \
    194 	-Wsign-compare \
    195 	-Wno-abi \
    196 	-std=gnu++11 \
    197 	-Wno-narrowing \
    198 	-Wno-literal-suffix \
    199 	-Wno-non-virtual-dtor \
    200 	-Wno-sign-promo
    201 
    202 
    203 # Flags passed to both C and C++ files.
    204 MY_CFLAGS_Release := \
    205 	-fstack-protector \
    206 	--param=ssp-buffer-size=4 \
    207 	-Werror \
    208 	-fno-strict-aliasing \
    209 	-Wall \
    210 	-Wno-unused-parameter \
    211 	-Wno-missing-field-initializers \
    212 	-fvisibility=hidden \
    213 	-pipe \
    214 	-fPIC \
    215 	-Wno-unused-local-typedefs \
    216 	-fno-builtin-cos \
    217 	-fno-builtin-sin \
    218 	-fno-builtin-cosf \
    219 	-fno-builtin-sinf \
    220 	-fno-builtin-cos \
    221 	-fno-builtin-sin \
    222 	-fno-builtin-cosf \
    223 	-fno-builtin-sinf \
    224 	-fno-tree-sra \
    225 	-fno-caller-saves \
    226 	-Wno-psabi \
    227 	-fno-partial-inlining \
    228 	-fno-early-inlining \
    229 	-fno-tree-copy-prop \
    230 	-fno-tree-loop-optimize \
    231 	-fno-move-loop-invariants \
    232 	-ffunction-sections \
    233 	-funwind-tables \
    234 	-g \
    235 	-fstack-protector \
    236 	-fno-short-enums \
    237 	-finline-limit=64 \
    238 	-Wa,--noexecstack \
    239 	-U_FORTIFY_SOURCE \
    240 	-Wno-extra \
    241 	-Wno-ignored-qualifiers \
    242 	-Wno-type-limits \
    243 	-Wno-unused-but-set-variable \
    244 	-Os \
    245 	-fno-ident \
    246 	-fdata-sections \
    247 	-ffunction-sections \
    248 	-fomit-frame-pointer \
    249 	-funwind-tables
    250 
    251 MY_DEFS_Release := \
    252 	'-DV8_DEPRECATION_WARNINGS' \
    253 	'-D_FILE_OFFSET_BITS=64' \
    254 	'-DNO_TCMALLOC' \
    255 	'-DDISABLE_NACL' \
    256 	'-DCHROMIUM_BUILD' \
    257 	'-DUSE_LIBJPEG_TURBO=1' \
    258 	'-DENABLE_WEBRTC=1' \
    259 	'-DUSE_PROPRIETARY_CODECS' \
    260 	'-DENABLE_BROWSER_CDMS' \
    261 	'-DENABLE_CONFIGURATION_POLICY' \
    262 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    263 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    264 	'-DENABLE_EGLIMAGE=1' \
    265 	'-DCLD_VERSION=1' \
    266 	'-DENABLE_PRINTING=1' \
    267 	'-DENABLE_MANAGED_USERS=1' \
    268 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    269 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    270 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    271 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    272 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    273 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    274 	'-DVIDEO_HOLE=1' \
    275 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    276 	'-DWEBRTC_RESTRICT_LOGGING' \
    277 	'-DEXPAT_RELATIVE_PATH' \
    278 	'-DWEBRTC_MODULE_UTILITY_VIDEO' \
    279 	'-DWEBRTC_CHROMIUM_BUILD' \
    280 	'-DLOGGING_INSIDE_WEBRTC' \
    281 	'-DWEBRTC_ARCH_ARM' \
    282 	'-DWEBRTC_ARCH_ARM_V7' \
    283 	'-DWEBRTC_DETECT_ARM_NEON' \
    284 	'-DWEBRTC_POSIX' \
    285 	'-DWEBRTC_LINUX' \
    286 	'-DWEBRTC_ANDROID' \
    287 	'-DWEBRTC_ANDROID_OPENSLES' \
    288 	'-DWEBRTC_CODEC_OPUS' \
    289 	'-DUSE_OPENSSL=1' \
    290 	'-DUSE_OPENSSL_CERTS=1' \
    291 	'-D__STDC_CONSTANT_MACROS' \
    292 	'-D__STDC_FORMAT_MACROS' \
    293 	'-DANDROID' \
    294 	'-D__GNU_SOURCE=1' \
    295 	'-DUSE_STLPORT=1' \
    296 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    297 	'-DCHROME_BUILD_ID=""' \
    298 	'-DNDEBUG' \
    299 	'-DNVALGRIND' \
    300 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    301 	'-D_FORTIFY_SOURCE=2'
    302 
    303 
    304 # Include paths placed before CFLAGS/CPPFLAGS
    305 LOCAL_C_INCLUDES_Release := \
    306 	$(gyp_shared_intermediate_dir) \
    307 	$(LOCAL_PATH) \
    308 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    309 	$(LOCAL_PATH)/third_party \
    310 	$(LOCAL_PATH)/third_party/opus/src/celt \
    311 	$(LOCAL_PATH)/third_party/opus/src/src \
    312 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g711/include \
    313 	$(LOCAL_PATH)/third_party/webrtc \
    314 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/g722/include \
    315 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/pcm16b/include \
    316 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/ilbc/interface \
    317 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/main/interface \
    318 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \
    319 	$(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/cng/include \
    320 	$(LOCAL_PATH)/third_party/opus/src/include \
    321 	$(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \
    322 	$(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \
    323 	$(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \
    324 	$(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
    325 	$(PWD)/frameworks/wilhelm/include \
    326 	$(PWD)/bionic \
    327 	$(PWD)/external/stlport/stlport
    328 
    329 
    330 # Flags passed to only C++ (and not C) files.
    331 LOCAL_CPPFLAGS_Release := \
    332 	-fno-exceptions \
    333 	-fno-rtti \
    334 	-fno-threadsafe-statics \
    335 	-fvisibility-inlines-hidden \
    336 	-Wsign-compare \
    337 	-Wno-abi \
    338 	-std=gnu++11 \
    339 	-Wno-narrowing \
    340 	-Wno-literal-suffix \
    341 	-Wno-non-virtual-dtor \
    342 	-Wno-sign-promo
    343 
    344 
    345 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    346 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    347 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    348 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    349 ### Rules for final target.
    350 
    351 LOCAL_SHARED_LIBRARIES := \
    352 	libstlport \
    353 	libdl
    354 
    355 # Add target alias to "gyp_all_modules" target.
    356 .PHONY: gyp_all_modules
    357 gyp_all_modules: third_party_webrtc_modules_neteq_gyp
    358 
    359 # Alias gyp target name.
    360 .PHONY: neteq
    361 neteq: third_party_webrtc_modules_neteq_gyp
    362 
    363 include $(BUILD_STATIC_LIBRARY)
    364