Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +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_iSACFix_gyp |
| 7 | LOCAL_MODULE_SUFFIX := .a |
| 8 | LOCAL_MODULE_TAGS := optional |
Android Chromium Automerger | c71dd0d | 2014-04-09 18:59:40 +0000 | [diff] [blame] | 9 | LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) |
| 10 | gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) |
| 11 | gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 12 | |
| 13 | # Make sure our deps are built first. |
| 14 | GYP_TARGET_DEPENDENCIES := |
| 15 | |
| 16 | GYP_GENERATED_OUTPUTS := |
| 17 | |
| 18 | # Make sure our deps and generated files are built first. |
| 19 | LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) |
| 20 | |
| 21 | LOCAL_GENERATED_SOURCES := |
| 22 | |
| 23 | GYP_COPIED_SOURCE_ORIGIN_DIRS := |
| 24 | |
| 25 | LOCAL_SRC_FILES := \ |
| 26 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines.c \ |
| 27 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c \ |
| 28 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_logist.c \ |
| 29 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/bandwidth_estimator.c \ |
| 30 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c \ |
| 31 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_bwe.c \ |
| 32 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_plc.c \ |
| 33 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/encode.c \ |
| 34 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c \ |
| 35 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/fft.c \ |
| 36 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_tables.c \ |
| 37 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks.c \ |
| 38 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/filters.c \ |
| 39 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/initialize.c \ |
| 40 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.c \ |
| 41 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c \ |
| 42 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.c \ |
| 43 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_tables.c \ |
| 44 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator.c \ |
Android Chromium Automerger | 8661714 | 2014-08-04 09:24:42 +0000 | [diff] [blame] | 45 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator_c.c \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 46 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c \ |
| 47 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_gain_tables.c \ |
| 48 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_lag_tables.c \ |
| 49 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/spectrum_ar_model_tables.c \ |
| 50 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/transform.c \ |
Android Chromium Automerger | 8661714 | 2014-08-04 09:24:42 +0000 | [diff] [blame] | 51 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_tables.c \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 52 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S \ |
| 53 | third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_armv6.S |
| 54 | |
| 55 | |
| 56 | # Flags passed to both C and C++ files. |
| 57 | MY_CFLAGS_Debug := \ |
| 58 | -fstack-protector \ |
| 59 | --param=ssp-buffer-size=4 \ |
| 60 | -Werror \ |
| 61 | -fno-exceptions \ |
| 62 | -fno-strict-aliasing \ |
| 63 | -Wall \ |
| 64 | -Wno-unused-parameter \ |
| 65 | -Wno-missing-field-initializers \ |
| 66 | -fvisibility=hidden \ |
| 67 | -pipe \ |
| 68 | -fPIC \ |
Android Chromium Automerger | 52dfe97 | 2014-05-28 16:21:48 +0000 | [diff] [blame] | 69 | -Wno-unused-local-typedefs \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 70 | -fno-builtin-cos \ |
| 71 | -fno-builtin-sin \ |
| 72 | -fno-builtin-cosf \ |
| 73 | -fno-builtin-sinf \ |
| 74 | -fno-builtin-cos \ |
| 75 | -fno-builtin-sin \ |
| 76 | -fno-builtin-cosf \ |
| 77 | -fno-builtin-sinf \ |
| 78 | -fno-tree-sra \ |
Android Chromium Automerger | 52dfe97 | 2014-05-28 16:21:48 +0000 | [diff] [blame] | 79 | -fno-caller-saves \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 80 | -Wno-psabi \ |
Android Chromium Automerger | 4022019 | 2014-09-09 14:33:19 +0000 | [diff] [blame^] | 81 | -fno-partial-inlining \ |
| 82 | -fno-early-inlining \ |
| 83 | -fno-tree-copy-prop \ |
| 84 | -fno-tree-loop-optimize \ |
| 85 | -fno-move-loop-invariants \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 86 | -ffunction-sections \ |
| 87 | -funwind-tables \ |
| 88 | -g \ |
| 89 | -fstack-protector \ |
| 90 | -fno-short-enums \ |
| 91 | -finline-limit=64 \ |
| 92 | -Wa,--noexecstack \ |
| 93 | -U_FORTIFY_SOURCE \ |
| 94 | -Wno-extra \ |
| 95 | -Wno-ignored-qualifiers \ |
| 96 | -Wno-type-limits \ |
| 97 | -Wno-unused-but-set-variable \ |
| 98 | -Os \ |
| 99 | -g \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 100 | -fdata-sections \ |
| 101 | -ffunction-sections \ |
Android Chromium Automerger | 477e6bc | 2014-07-10 18:45:25 +0000 | [diff] [blame] | 102 | -fomit-frame-pointer \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 103 | -funwind-tables |
| 104 | |
| 105 | MY_DEFS_Debug := \ |
| 106 | '-DV8_DEPRECATION_WARNINGS' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 107 | '-D_FILE_OFFSET_BITS=64' \ |
| 108 | '-DNO_TCMALLOC' \ |
| 109 | '-DDISABLE_NACL' \ |
| 110 | '-DCHROMIUM_BUILD' \ |
| 111 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 112 | '-DENABLE_WEBRTC=1' \ |
| 113 | '-DUSE_PROPRIETARY_CODECS' \ |
Android Chromium Automerger | adda09e | 2014-06-10 23:37:15 +0000 | [diff] [blame] | 114 | '-DENABLE_BROWSER_CDMS' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 115 | '-DENABLE_CONFIGURATION_POLICY' \ |
| 116 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 117 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| 118 | '-DENABLE_EGLIMAGE=1' \ |
| 119 | '-DCLD_VERSION=1' \ |
| 120 | '-DENABLE_PRINTING=1' \ |
| 121 | '-DENABLE_MANAGED_USERS=1' \ |
Torne (Richard Coles) | 618be31 | 2014-05-16 13:16:00 +0100 | [diff] [blame] | 122 | '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ |
| 123 | '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ |
| 124 | '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ |
| 125 | '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ |
Android Chromium Automerger | ad3bcf4 | 2014-06-19 03:36:33 +0000 | [diff] [blame] | 126 | '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ |
Torne (Richard Coles) | d658c11 | 2014-05-14 10:24:51 +0100 | [diff] [blame] | 127 | '-DVIDEO_HOLE=1' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 128 | '-DWEBRTC_RESTRICT_LOGGING' \ |
Android Chromium Automerger | cb45b28 | 2014-09-08 19:00:33 +0000 | [diff] [blame] | 129 | '-DEXPAT_RELATIVE_PATH' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 130 | '-DWEBRTC_MODULE_UTILITY_VIDEO' \ |
| 131 | '-DWEBRTC_CHROMIUM_BUILD' \ |
Torne (Richard Coles) | 618be31 | 2014-05-16 13:16:00 +0100 | [diff] [blame] | 132 | '-DLOGGING_INSIDE_WEBRTC' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 133 | '-DWEBRTC_ARCH_ARM' \ |
| 134 | '-DWEBRTC_ARCH_ARM_V7' \ |
| 135 | '-DWEBRTC_DETECT_ARM_NEON' \ |
| 136 | '-DWEBRTC_POSIX' \ |
| 137 | '-DWEBRTC_LINUX' \ |
| 138 | '-DWEBRTC_ANDROID' \ |
| 139 | '-DWEBRTC_ANDROID_OPENSLES' \ |
| 140 | '-DUSE_OPENSSL=1' \ |
| 141 | '-DUSE_OPENSSL_CERTS=1' \ |
| 142 | '-D__STDC_CONSTANT_MACROS' \ |
| 143 | '-D__STDC_FORMAT_MACROS' \ |
| 144 | '-DANDROID' \ |
| 145 | '-D__GNU_SOURCE=1' \ |
| 146 | '-DUSE_STLPORT=1' \ |
| 147 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 148 | '-DCHROME_BUILD_ID=""' \ |
| 149 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 150 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 151 | '-D_DEBUG' |
| 152 | |
| 153 | |
| 154 | # Include paths placed before CFLAGS/CPPFLAGS |
| 155 | LOCAL_C_INCLUDES_Debug := \ |
Android Chromium Automerger | cb4fdd1 | 2014-06-16 14:50:41 +0000 | [diff] [blame] | 156 | $(gyp_shared_intermediate_dir) \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 157 | $(LOCAL_PATH) \ |
Torne (Richard Coles) | 618be31 | 2014-05-16 13:16:00 +0100 | [diff] [blame] | 158 | $(LOCAL_PATH)/third_party/webrtc/overrides \ |
| 159 | $(LOCAL_PATH)/third_party \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 160 | $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \ |
| 161 | $(LOCAL_PATH)/third_party/webrtc \ |
| 162 | $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ |
| 163 | $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ |
| 164 | $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ |
| 165 | $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ |
| 166 | $(PWD)/frameworks/wilhelm/include \ |
| 167 | $(PWD)/bionic \ |
| 168 | $(PWD)/external/stlport/stlport |
| 169 | |
| 170 | |
| 171 | # Flags passed to only C++ (and not C) files. |
| 172 | LOCAL_CPPFLAGS_Debug := \ |
| 173 | -fno-rtti \ |
| 174 | -fno-threadsafe-statics \ |
| 175 | -fvisibility-inlines-hidden \ |
| 176 | -Wsign-compare \ |
| 177 | -Wno-abi \ |
Android Chromium Automerger | 841f8c8 | 2014-06-25 15:10:10 +0000 | [diff] [blame] | 178 | -std=gnu++11 \ |
| 179 | -Wno-narrowing \ |
| 180 | -Wno-literal-suffix \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 181 | -Wno-non-virtual-dtor \ |
| 182 | -Wno-sign-promo |
| 183 | |
| 184 | |
| 185 | # Flags passed to both C and C++ files. |
| 186 | MY_CFLAGS_Release := \ |
| 187 | -fstack-protector \ |
| 188 | --param=ssp-buffer-size=4 \ |
| 189 | -Werror \ |
| 190 | -fno-exceptions \ |
| 191 | -fno-strict-aliasing \ |
| 192 | -Wall \ |
| 193 | -Wno-unused-parameter \ |
| 194 | -Wno-missing-field-initializers \ |
| 195 | -fvisibility=hidden \ |
| 196 | -pipe \ |
| 197 | -fPIC \ |
Android Chromium Automerger | 52dfe97 | 2014-05-28 16:21:48 +0000 | [diff] [blame] | 198 | -Wno-unused-local-typedefs \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 199 | -fno-builtin-cos \ |
| 200 | -fno-builtin-sin \ |
| 201 | -fno-builtin-cosf \ |
| 202 | -fno-builtin-sinf \ |
| 203 | -fno-builtin-cos \ |
| 204 | -fno-builtin-sin \ |
| 205 | -fno-builtin-cosf \ |
| 206 | -fno-builtin-sinf \ |
| 207 | -fno-tree-sra \ |
Android Chromium Automerger | 52dfe97 | 2014-05-28 16:21:48 +0000 | [diff] [blame] | 208 | -fno-caller-saves \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 209 | -Wno-psabi \ |
Android Chromium Automerger | 4022019 | 2014-09-09 14:33:19 +0000 | [diff] [blame^] | 210 | -fno-partial-inlining \ |
| 211 | -fno-early-inlining \ |
| 212 | -fno-tree-copy-prop \ |
| 213 | -fno-tree-loop-optimize \ |
| 214 | -fno-move-loop-invariants \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 215 | -ffunction-sections \ |
| 216 | -funwind-tables \ |
| 217 | -g \ |
| 218 | -fstack-protector \ |
| 219 | -fno-short-enums \ |
| 220 | -finline-limit=64 \ |
| 221 | -Wa,--noexecstack \ |
| 222 | -U_FORTIFY_SOURCE \ |
| 223 | -Wno-extra \ |
| 224 | -Wno-ignored-qualifiers \ |
| 225 | -Wno-type-limits \ |
| 226 | -Wno-unused-but-set-variable \ |
| 227 | -Os \ |
| 228 | -fno-ident \ |
| 229 | -fdata-sections \ |
| 230 | -ffunction-sections \ |
| 231 | -fomit-frame-pointer \ |
| 232 | -funwind-tables |
| 233 | |
| 234 | MY_DEFS_Release := \ |
| 235 | '-DV8_DEPRECATION_WARNINGS' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 236 | '-D_FILE_OFFSET_BITS=64' \ |
| 237 | '-DNO_TCMALLOC' \ |
| 238 | '-DDISABLE_NACL' \ |
| 239 | '-DCHROMIUM_BUILD' \ |
| 240 | '-DUSE_LIBJPEG_TURBO=1' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 241 | '-DENABLE_WEBRTC=1' \ |
| 242 | '-DUSE_PROPRIETARY_CODECS' \ |
Android Chromium Automerger | adda09e | 2014-06-10 23:37:15 +0000 | [diff] [blame] | 243 | '-DENABLE_BROWSER_CDMS' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 244 | '-DENABLE_CONFIGURATION_POLICY' \ |
| 245 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 246 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| 247 | '-DENABLE_EGLIMAGE=1' \ |
| 248 | '-DCLD_VERSION=1' \ |
| 249 | '-DENABLE_PRINTING=1' \ |
| 250 | '-DENABLE_MANAGED_USERS=1' \ |
Torne (Richard Coles) | 618be31 | 2014-05-16 13:16:00 +0100 | [diff] [blame] | 251 | '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ |
| 252 | '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ |
| 253 | '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ |
| 254 | '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ |
Android Chromium Automerger | ad3bcf4 | 2014-06-19 03:36:33 +0000 | [diff] [blame] | 255 | '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ |
Torne (Richard Coles) | d658c11 | 2014-05-14 10:24:51 +0100 | [diff] [blame] | 256 | '-DVIDEO_HOLE=1' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 257 | '-DWEBRTC_RESTRICT_LOGGING' \ |
Android Chromium Automerger | cb45b28 | 2014-09-08 19:00:33 +0000 | [diff] [blame] | 258 | '-DEXPAT_RELATIVE_PATH' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 259 | '-DWEBRTC_MODULE_UTILITY_VIDEO' \ |
| 260 | '-DWEBRTC_CHROMIUM_BUILD' \ |
Torne (Richard Coles) | 618be31 | 2014-05-16 13:16:00 +0100 | [diff] [blame] | 261 | '-DLOGGING_INSIDE_WEBRTC' \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 262 | '-DWEBRTC_ARCH_ARM' \ |
| 263 | '-DWEBRTC_ARCH_ARM_V7' \ |
| 264 | '-DWEBRTC_DETECT_ARM_NEON' \ |
| 265 | '-DWEBRTC_POSIX' \ |
| 266 | '-DWEBRTC_LINUX' \ |
| 267 | '-DWEBRTC_ANDROID' \ |
| 268 | '-DWEBRTC_ANDROID_OPENSLES' \ |
| 269 | '-DUSE_OPENSSL=1' \ |
| 270 | '-DUSE_OPENSSL_CERTS=1' \ |
| 271 | '-D__STDC_CONSTANT_MACROS' \ |
| 272 | '-D__STDC_FORMAT_MACROS' \ |
| 273 | '-DANDROID' \ |
| 274 | '-D__GNU_SOURCE=1' \ |
| 275 | '-DUSE_STLPORT=1' \ |
| 276 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 277 | '-DCHROME_BUILD_ID=""' \ |
| 278 | '-DNDEBUG' \ |
| 279 | '-DNVALGRIND' \ |
| 280 | '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ |
| 281 | '-D_FORTIFY_SOURCE=2' |
| 282 | |
| 283 | |
| 284 | # Include paths placed before CFLAGS/CPPFLAGS |
| 285 | LOCAL_C_INCLUDES_Release := \ |
Android Chromium Automerger | cb4fdd1 | 2014-06-16 14:50:41 +0000 | [diff] [blame] | 286 | $(gyp_shared_intermediate_dir) \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 287 | $(LOCAL_PATH) \ |
Torne (Richard Coles) | 618be31 | 2014-05-16 13:16:00 +0100 | [diff] [blame] | 288 | $(LOCAL_PATH)/third_party/webrtc/overrides \ |
| 289 | $(LOCAL_PATH)/third_party \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 290 | $(LOCAL_PATH)/third_party/webrtc/modules/audio_coding/codecs/isac/fix/interface \ |
| 291 | $(LOCAL_PATH)/third_party/webrtc \ |
| 292 | $(LOCAL_PATH)/third_party/webrtc/common_audio/resampler/include \ |
| 293 | $(LOCAL_PATH)/third_party/webrtc/common_audio/signal_processing/include \ |
| 294 | $(LOCAL_PATH)/third_party/webrtc/common_audio/vad/include \ |
| 295 | $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ |
| 296 | $(PWD)/frameworks/wilhelm/include \ |
| 297 | $(PWD)/bionic \ |
| 298 | $(PWD)/external/stlport/stlport |
| 299 | |
| 300 | |
| 301 | # Flags passed to only C++ (and not C) files. |
| 302 | LOCAL_CPPFLAGS_Release := \ |
| 303 | -fno-rtti \ |
| 304 | -fno-threadsafe-statics \ |
| 305 | -fvisibility-inlines-hidden \ |
| 306 | -Wsign-compare \ |
| 307 | -Wno-abi \ |
Android Chromium Automerger | 841f8c8 | 2014-06-25 15:10:10 +0000 | [diff] [blame] | 308 | -std=gnu++11 \ |
| 309 | -Wno-narrowing \ |
| 310 | -Wno-literal-suffix \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 311 | -Wno-non-virtual-dtor \ |
| 312 | -Wno-sign-promo |
| 313 | |
| 314 | |
| 315 | LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) |
| 316 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) |
| 317 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) |
| 318 | LOCAL_ASFLAGS := $(LOCAL_CFLAGS) |
| 319 | ### Rules for final target. |
| 320 | |
| 321 | LOCAL_LDFLAGS_Debug := \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 322 | -Wl,-z,now \ |
| 323 | -Wl,-z,relro \ |
Android Chromium Automerger | 97a64e2 | 2014-04-07 11:28:24 +0000 | [diff] [blame] | 324 | -Wl,--fatal-warnings \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 325 | -Wl,-z,noexecstack \ |
| 326 | -fPIC \ |
| 327 | -Wl,-z,relro \ |
| 328 | -Wl,-z,now \ |
| 329 | -fuse-ld=gold \ |
| 330 | -nostdlib \ |
| 331 | -Wl,--no-undefined \ |
Android Chromium Automerger | 8097a46 | 2014-06-09 17:44:56 +0000 | [diff] [blame] | 332 | -Wl,--exclude-libs=ALL \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 333 | -Wl,--icf=safe \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 334 | -Wl,--warn-shared-textrel \ |
| 335 | -Wl,-O1 \ |
| 336 | -Wl,--as-needed |
| 337 | |
| 338 | |
| 339 | LOCAL_LDFLAGS_Release := \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 340 | -Wl,-z,now \ |
| 341 | -Wl,-z,relro \ |
Android Chromium Automerger | 97a64e2 | 2014-04-07 11:28:24 +0000 | [diff] [blame] | 342 | -Wl,--fatal-warnings \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 343 | -Wl,-z,noexecstack \ |
| 344 | -fPIC \ |
| 345 | -Wl,-z,relro \ |
| 346 | -Wl,-z,now \ |
| 347 | -fuse-ld=gold \ |
| 348 | -nostdlib \ |
| 349 | -Wl,--no-undefined \ |
Android Chromium Automerger | 8097a46 | 2014-06-09 17:44:56 +0000 | [diff] [blame] | 350 | -Wl,--exclude-libs=ALL \ |
Android Chromium Automerger | 2ebb6ba | 2014-04-01 19:42:48 +0000 | [diff] [blame] | 351 | -Wl,--icf=safe \ |
| 352 | -Wl,-O1 \ |
| 353 | -Wl,--as-needed \ |
| 354 | -Wl,--gc-sections \ |
| 355 | -Wl,--warn-shared-textrel |
| 356 | |
| 357 | |
| 358 | LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) |
| 359 | |
| 360 | LOCAL_STATIC_LIBRARIES := |
| 361 | |
| 362 | # Enable grouping to fix circular references |
| 363 | LOCAL_GROUP_STATIC_LIBRARIES := true |
| 364 | |
| 365 | LOCAL_SHARED_LIBRARIES := \ |
| 366 | libstlport \ |
| 367 | libdl |
| 368 | |
| 369 | # Add target alias to "gyp_all_modules" target. |
| 370 | .PHONY: gyp_all_modules |
| 371 | gyp_all_modules: third_party_webrtc_modules_iSACFix_gyp |
| 372 | |
| 373 | # Alias gyp target name. |
| 374 | .PHONY: iSACFix |
| 375 | iSACFix: third_party_webrtc_modules_iSACFix_gyp |
| 376 | |
| 377 | include $(BUILD_STATIC_LIBRARY) |