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