Ben Murdoch | a42684b | 2014-12-08 16:22:26 +0000 | [diff] [blame] | 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_iLBC_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_GENERATED_SOURCES := |
| 21 | |
| 22 | GYP_COPIED_SOURCE_ORIGIN_DIRS := |
| 23 | |
| 24 | LOCAL_SRC_FILES := \ |
| 25 | third_party/webrtc/modules/audio_coding/codecs/ilbc/abs_quant.c \ |
| 26 | third_party/webrtc/modules/audio_coding/codecs/ilbc/abs_quant_loop.c \ |
| 27 | third_party/webrtc/modules/audio_coding/codecs/ilbc/augmented_cb_corr.c \ |
| 28 | third_party/webrtc/modules/audio_coding/codecs/ilbc/bw_expand.c \ |
| 29 | third_party/webrtc/modules/audio_coding/codecs/ilbc/cb_construct.c \ |
| 30 | third_party/webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy.c \ |
| 31 | third_party/webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_augmentation.c \ |
| 32 | third_party/webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c \ |
| 33 | third_party/webrtc/modules/audio_coding/codecs/ilbc/cb_search.c \ |
| 34 | third_party/webrtc/modules/audio_coding/codecs/ilbc/cb_search_core.c \ |
| 35 | third_party/webrtc/modules/audio_coding/codecs/ilbc/cb_update_best_index.c \ |
| 36 | third_party/webrtc/modules/audio_coding/codecs/ilbc/chebyshev.c \ |
| 37 | third_party/webrtc/modules/audio_coding/codecs/ilbc/comp_corr.c \ |
| 38 | third_party/webrtc/modules/audio_coding/codecs/ilbc/constants.c \ |
| 39 | third_party/webrtc/modules/audio_coding/codecs/ilbc/create_augmented_vec.c \ |
| 40 | third_party/webrtc/modules/audio_coding/codecs/ilbc/decode.c \ |
| 41 | third_party/webrtc/modules/audio_coding/codecs/ilbc/decode_residual.c \ |
| 42 | third_party/webrtc/modules/audio_coding/codecs/ilbc/decoder_interpolate_lsf.c \ |
| 43 | third_party/webrtc/modules/audio_coding/codecs/ilbc/do_plc.c \ |
| 44 | third_party/webrtc/modules/audio_coding/codecs/ilbc/encode.c \ |
| 45 | third_party/webrtc/modules/audio_coding/codecs/ilbc/energy_inverse.c \ |
| 46 | third_party/webrtc/modules/audio_coding/codecs/ilbc/enh_upsample.c \ |
| 47 | third_party/webrtc/modules/audio_coding/codecs/ilbc/enhancer.c \ |
| 48 | third_party/webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c \ |
| 49 | third_party/webrtc/modules/audio_coding/codecs/ilbc/filtered_cb_vecs.c \ |
| 50 | third_party/webrtc/modules/audio_coding/codecs/ilbc/frame_classify.c \ |
| 51 | third_party/webrtc/modules/audio_coding/codecs/ilbc/gain_dequant.c \ |
| 52 | third_party/webrtc/modules/audio_coding/codecs/ilbc/gain_quant.c \ |
| 53 | third_party/webrtc/modules/audio_coding/codecs/ilbc/get_cd_vec.c \ |
| 54 | third_party/webrtc/modules/audio_coding/codecs/ilbc/get_lsp_poly.c \ |
| 55 | third_party/webrtc/modules/audio_coding/codecs/ilbc/get_sync_seq.c \ |
| 56 | third_party/webrtc/modules/audio_coding/codecs/ilbc/hp_input.c \ |
| 57 | third_party/webrtc/modules/audio_coding/codecs/ilbc/hp_output.c \ |
| 58 | third_party/webrtc/modules/audio_coding/codecs/ilbc/ilbc.c \ |
| 59 | third_party/webrtc/modules/audio_coding/codecs/ilbc/index_conv_dec.c \ |
| 60 | third_party/webrtc/modules/audio_coding/codecs/ilbc/index_conv_enc.c \ |
| 61 | third_party/webrtc/modules/audio_coding/codecs/ilbc/init_decode.c \ |
| 62 | third_party/webrtc/modules/audio_coding/codecs/ilbc/init_encode.c \ |
| 63 | third_party/webrtc/modules/audio_coding/codecs/ilbc/interpolate.c \ |
| 64 | third_party/webrtc/modules/audio_coding/codecs/ilbc/interpolate_samples.c \ |
| 65 | third_party/webrtc/modules/audio_coding/codecs/ilbc/lpc_encode.c \ |
| 66 | third_party/webrtc/modules/audio_coding/codecs/ilbc/lsf_check.c \ |
| 67 | third_party/webrtc/modules/audio_coding/codecs/ilbc/lsf_interpolate_to_poly_dec.c \ |
| 68 | third_party/webrtc/modules/audio_coding/codecs/ilbc/lsf_interpolate_to_poly_enc.c \ |
| 69 | third_party/webrtc/modules/audio_coding/codecs/ilbc/lsf_to_lsp.c \ |
| 70 | third_party/webrtc/modules/audio_coding/codecs/ilbc/lsf_to_poly.c \ |
| 71 | third_party/webrtc/modules/audio_coding/codecs/ilbc/lsp_to_lsf.c \ |
| 72 | third_party/webrtc/modules/audio_coding/codecs/ilbc/my_corr.c \ |
| 73 | third_party/webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.c \ |
| 74 | third_party/webrtc/modules/audio_coding/codecs/ilbc/pack_bits.c \ |
| 75 | third_party/webrtc/modules/audio_coding/codecs/ilbc/poly_to_lsf.c \ |
| 76 | third_party/webrtc/modules/audio_coding/codecs/ilbc/poly_to_lsp.c \ |
| 77 | third_party/webrtc/modules/audio_coding/codecs/ilbc/refiner.c \ |
| 78 | third_party/webrtc/modules/audio_coding/codecs/ilbc/simple_interpolate_lsf.c \ |
| 79 | third_party/webrtc/modules/audio_coding/codecs/ilbc/simple_lpc_analysis.c \ |
| 80 | third_party/webrtc/modules/audio_coding/codecs/ilbc/simple_lsf_dequant.c \ |
| 81 | third_party/webrtc/modules/audio_coding/codecs/ilbc/simple_lsf_quant.c \ |
| 82 | third_party/webrtc/modules/audio_coding/codecs/ilbc/smooth.c \ |
| 83 | third_party/webrtc/modules/audio_coding/codecs/ilbc/smooth_out_data.c \ |
| 84 | third_party/webrtc/modules/audio_coding/codecs/ilbc/sort_sq.c \ |
| 85 | third_party/webrtc/modules/audio_coding/codecs/ilbc/split_vq.c \ |
| 86 | third_party/webrtc/modules/audio_coding/codecs/ilbc/state_construct.c \ |
| 87 | third_party/webrtc/modules/audio_coding/codecs/ilbc/state_search.c \ |
| 88 | third_party/webrtc/modules/audio_coding/codecs/ilbc/swap_bytes.c \ |
| 89 | third_party/webrtc/modules/audio_coding/codecs/ilbc/unpack_bits.c \ |
| 90 | third_party/webrtc/modules/audio_coding/codecs/ilbc/vq3.c \ |
| 91 | third_party/webrtc/modules/audio_coding/codecs/ilbc/vq4.c \ |
| 92 | third_party/webrtc/modules/audio_coding/codecs/ilbc/window32_w32.c \ |
| 93 | third_party/webrtc/modules/audio_coding/codecs/ilbc/xcorr_coef.c |
| 94 | |
| 95 | |
| 96 | # Flags passed to both C and C++ files. |
| 97 | MY_CFLAGS_Debug := \ |
| 98 | -fstack-protector \ |
| 99 | --param=ssp-buffer-size=4 \ |
| 100 | \ |
| 101 | -fno-strict-aliasing \ |
| 102 | -Wall \ |
| 103 | -Wno-unused-parameter \ |
| 104 | -Wno-missing-field-initializers \ |
| 105 | -fvisibility=hidden \ |
| 106 | -pipe \ |
| 107 | -fPIC \ |
| 108 | -Wno-unused-local-typedefs \ |
| 109 | -fno-builtin-cos \ |
| 110 | -fno-builtin-sin \ |
| 111 | -fno-builtin-cosf \ |
| 112 | -fno-builtin-sinf \ |
| 113 | -fno-builtin-cos \ |
| 114 | -fno-builtin-sin \ |
| 115 | -fno-builtin-cosf \ |
| 116 | -fno-builtin-sinf \ |
| 117 | -ffunction-sections \ |
| 118 | -funwind-tables \ |
| 119 | -g \ |
| 120 | -fstack-protector \ |
| 121 | -fno-short-enums \ |
| 122 | -finline-limit=64 \ |
| 123 | -Wa,--noexecstack \ |
| 124 | -U_FORTIFY_SOURCE \ |
| 125 | -Wno-extra \ |
| 126 | -Wno-ignored-qualifiers \ |
| 127 | -Wno-type-limits \ |
| 128 | -Wno-unused-but-set-variable \ |
| 129 | -Os \ |
| 130 | -g \ |
| 131 | -gdwarf-4 \ |
| 132 | -fdata-sections \ |
| 133 | -ffunction-sections \ |
| 134 | -fomit-frame-pointer \ |
| 135 | -funwind-tables |
| 136 | |
| 137 | MY_DEFS_Debug := \ |
| 138 | '-DV8_DEPRECATION_WARNINGS' \ |
| 139 | '-D_FILE_OFFSET_BITS=64' \ |
| 140 | '-DNO_TCMALLOC' \ |
| 141 | '-DDISABLE_NACL' \ |
| 142 | '-DCHROMIUM_BUILD' \ |
| 143 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 144 | '-DENABLE_WEBRTC=1' \ |
| 145 | '-DUSE_PROPRIETARY_CODECS' \ |
| 146 | '-DENABLE_BROWSER_CDMS' \ |
| 147 | '-DENABLE_CONFIGURATION_POLICY' \ |
| 148 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 149 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| 150 | '-DENABLE_EGLIMAGE=1' \ |
| 151 | '-DCLD_VERSION=1' \ |
| 152 | '-DENABLE_PRINTING=1' \ |
| 153 | '-DENABLE_MANAGED_USERS=1' \ |
| 154 | '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ |
| 155 | '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ |
| 156 | '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ |
| 157 | '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ |
| 158 | '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ |
| 159 | '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ |
| 160 | '-DVIDEO_HOLE=1' \ |
| 161 | '-DENABLE_LOAD_COMPLETION_HACKS=1' \ |
| 162 | '-DWEBRTC_RESTRICT_LOGGING' \ |
| 163 | '-DEXPAT_RELATIVE_PATH' \ |
| 164 | '-DWEBRTC_MODULE_UTILITY_VIDEO' \ |
| 165 | '-DWEBRTC_CHROMIUM_BUILD' \ |
| 166 | '-DLOGGING_INSIDE_WEBRTC' \ |
| 167 | '-DWEBRTC_POSIX' \ |
| 168 | '-DWEBRTC_LINUX' \ |
| 169 | '-DWEBRTC_ANDROID' \ |
| 170 | '-DWEBRTC_ANDROID_OPENSLES' \ |
| 171 | '-DUSE_OPENSSL=1' \ |
| 172 | '-DUSE_OPENSSL_CERTS=1' \ |
| 173 | '-D__STDC_CONSTANT_MACROS' \ |
| 174 | '-D__STDC_FORMAT_MACROS' \ |
| 175 | '-DANDROID' \ |
| 176 | '-D__GNU_SOURCE=1' \ |
| 177 | '-DUSE_STLPORT=1' \ |
| 178 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 179 | '-DCHROME_BUILD_ID=""' \ |
| 180 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 181 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 182 | '-D_DEBUG' |
| 183 | |
| 184 | |
| 185 | # Include paths placed before CFLAGS/CPPFLAGS |
| 186 | LOCAL_C_INCLUDES_Debug := \ |
| 187 | $(gyp_shared_intermediate_dir) \ |
| 188 | $(LOCAL_PATH) \ |
| 189 | $(LOCAL_PATH)/third_party/webrtc/overrides \ |
| 190 | $(LOCAL_PATH)/third_party \ |
| 191 | $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/ilbc/interface \ |
| 192 | $(LOCAL_PATH)/third_party/webrtc \ |
| 193 | $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ |
| 194 | $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ |
| 195 | $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ |
| 196 | $(PWD)/frameworks/wilhelm/include \ |
| 197 | $(PWD)/bionic \ |
| 198 | $(PWD)/external/stlport/stlport |
| 199 | |
| 200 | |
| 201 | # Flags passed to only C++ (and not C) files. |
| 202 | LOCAL_CPPFLAGS_Debug := \ |
| 203 | -fno-exceptions \ |
| 204 | -fno-rtti \ |
| 205 | -fno-threadsafe-statics \ |
| 206 | -fvisibility-inlines-hidden \ |
| 207 | -Wsign-compare \ |
| 208 | -Wno-uninitialized \ |
| 209 | -std=gnu++11 \ |
| 210 | -Wno-narrowing \ |
| 211 | -Wno-literal-suffix \ |
| 212 | -Wno-non-virtual-dtor \ |
| 213 | -Wno-sign-promo |
| 214 | |
| 215 | |
| 216 | # Flags passed to both C and C++ files. |
| 217 | MY_CFLAGS_Release := \ |
| 218 | -fstack-protector \ |
| 219 | --param=ssp-buffer-size=4 \ |
| 220 | \ |
| 221 | -fno-strict-aliasing \ |
| 222 | -Wall \ |
| 223 | -Wno-unused-parameter \ |
| 224 | -Wno-missing-field-initializers \ |
| 225 | -fvisibility=hidden \ |
| 226 | -pipe \ |
| 227 | -fPIC \ |
| 228 | -Wno-unused-local-typedefs \ |
| 229 | -fno-builtin-cos \ |
| 230 | -fno-builtin-sin \ |
| 231 | -fno-builtin-cosf \ |
| 232 | -fno-builtin-sinf \ |
| 233 | -fno-builtin-cos \ |
| 234 | -fno-builtin-sin \ |
| 235 | -fno-builtin-cosf \ |
| 236 | -fno-builtin-sinf \ |
| 237 | -ffunction-sections \ |
| 238 | -funwind-tables \ |
| 239 | -g \ |
| 240 | -fstack-protector \ |
| 241 | -fno-short-enums \ |
| 242 | -finline-limit=64 \ |
| 243 | -Wa,--noexecstack \ |
| 244 | -U_FORTIFY_SOURCE \ |
| 245 | -Wno-extra \ |
| 246 | -Wno-ignored-qualifiers \ |
| 247 | -Wno-type-limits \ |
| 248 | -Wno-unused-but-set-variable \ |
| 249 | -Os \ |
| 250 | -fno-ident \ |
| 251 | -fdata-sections \ |
| 252 | -ffunction-sections \ |
| 253 | -fomit-frame-pointer \ |
| 254 | -funwind-tables |
| 255 | |
| 256 | MY_DEFS_Release := \ |
| 257 | '-DV8_DEPRECATION_WARNINGS' \ |
| 258 | '-D_FILE_OFFSET_BITS=64' \ |
| 259 | '-DNO_TCMALLOC' \ |
| 260 | '-DDISABLE_NACL' \ |
| 261 | '-DCHROMIUM_BUILD' \ |
| 262 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 263 | '-DENABLE_WEBRTC=1' \ |
| 264 | '-DUSE_PROPRIETARY_CODECS' \ |
| 265 | '-DENABLE_BROWSER_CDMS' \ |
| 266 | '-DENABLE_CONFIGURATION_POLICY' \ |
| 267 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 268 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| 269 | '-DENABLE_EGLIMAGE=1' \ |
| 270 | '-DCLD_VERSION=1' \ |
| 271 | '-DENABLE_PRINTING=1' \ |
| 272 | '-DENABLE_MANAGED_USERS=1' \ |
| 273 | '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ |
| 274 | '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ |
| 275 | '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ |
| 276 | '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ |
| 277 | '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ |
| 278 | '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ |
| 279 | '-DVIDEO_HOLE=1' \ |
| 280 | '-DENABLE_LOAD_COMPLETION_HACKS=1' \ |
| 281 | '-DWEBRTC_RESTRICT_LOGGING' \ |
| 282 | '-DEXPAT_RELATIVE_PATH' \ |
| 283 | '-DWEBRTC_MODULE_UTILITY_VIDEO' \ |
| 284 | '-DWEBRTC_CHROMIUM_BUILD' \ |
| 285 | '-DLOGGING_INSIDE_WEBRTC' \ |
| 286 | '-DWEBRTC_POSIX' \ |
| 287 | '-DWEBRTC_LINUX' \ |
| 288 | '-DWEBRTC_ANDROID' \ |
| 289 | '-DWEBRTC_ANDROID_OPENSLES' \ |
| 290 | '-DUSE_OPENSSL=1' \ |
| 291 | '-DUSE_OPENSSL_CERTS=1' \ |
| 292 | '-D__STDC_CONSTANT_MACROS' \ |
| 293 | '-D__STDC_FORMAT_MACROS' \ |
| 294 | '-DANDROID' \ |
| 295 | '-D__GNU_SOURCE=1' \ |
| 296 | '-DUSE_STLPORT=1' \ |
| 297 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 298 | '-DCHROME_BUILD_ID=""' \ |
| 299 | '-DNDEBUG' \ |
| 300 | '-DNVALGRIND' \ |
| 301 | '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ |
| 302 | '-D_FORTIFY_SOURCE=2' |
| 303 | |
| 304 | |
| 305 | # Include paths placed before CFLAGS/CPPFLAGS |
| 306 | LOCAL_C_INCLUDES_Release := \ |
| 307 | $(gyp_shared_intermediate_dir) \ |
| 308 | $(LOCAL_PATH) \ |
| 309 | $(LOCAL_PATH)/third_party/webrtc/overrides \ |
| 310 | $(LOCAL_PATH)/third_party \ |
| 311 | $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/ilbc/interface \ |
| 312 | $(LOCAL_PATH)/third_party/webrtc \ |
| 313 | $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ |
| 314 | $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ |
| 315 | $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ |
| 316 | $(PWD)/frameworks/wilhelm/include \ |
| 317 | $(PWD)/bionic \ |
| 318 | $(PWD)/external/stlport/stlport |
| 319 | |
| 320 | |
| 321 | # Flags passed to only C++ (and not C) files. |
| 322 | LOCAL_CPPFLAGS_Release := \ |
| 323 | -fno-exceptions \ |
| 324 | -fno-rtti \ |
| 325 | -fno-threadsafe-statics \ |
| 326 | -fvisibility-inlines-hidden \ |
| 327 | -Wsign-compare \ |
| 328 | -Wno-uninitialized \ |
| 329 | -std=gnu++11 \ |
| 330 | -Wno-narrowing \ |
| 331 | -Wno-literal-suffix \ |
| 332 | -Wno-non-virtual-dtor \ |
| 333 | -Wno-sign-promo |
| 334 | |
| 335 | |
| 336 | LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) |
| 337 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) |
| 338 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) |
| 339 | LOCAL_ASFLAGS := $(LOCAL_CFLAGS) |
| 340 | ### Rules for final target. |
| 341 | |
| 342 | LOCAL_SHARED_LIBRARIES := \ |
| 343 | libstlport \ |
| 344 | libdl |
| 345 | |
| 346 | # Add target alias to "gyp_all_modules" target. |
| 347 | .PHONY: gyp_all_modules |
| 348 | gyp_all_modules: third_party_webrtc_modules_iLBC_gyp |
| 349 | |
| 350 | # Alias gyp target name. |
| 351 | .PHONY: iLBC |
| 352 | iLBC: third_party_webrtc_modules_iLBC_gyp |
| 353 | |
| 354 | include $(BUILD_STATIC_LIBRARY) |