Home | History | Annotate | Download | only in libjingle
      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_libjingle_libjingle_webrtc_common_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TAGS := optional
      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))
     12 
     13 # Make sure our deps are built first.
     14 GYP_TARGET_DEPENDENCIES := \
     15 	$(call intermediates-dir-for,GYP,third_party_expat_expat_gyp,,,$(GYP_VAR_PREFIX))/expat.stamp
     16 
     17 GYP_GENERATED_OUTPUTS :=
     18 
     19 # Make sure our deps and generated files are built first.
     20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     21 
     22 LOCAL_CPP_EXTENSION := .cc
     23 LOCAL_GENERATED_SOURCES :=
     24 
     25 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     26 
     27 LOCAL_SRC_FILES := \
     28 	third_party/libjingle/source/talk/app/webrtc/audiotrack.cc \
     29 	third_party/libjingle/source/talk/app/webrtc/audiotrackrenderer.cc \
     30 	third_party/libjingle/source/talk/app/webrtc/datachannel.cc \
     31 	third_party/libjingle/source/talk/app/webrtc/dtmfsender.cc \
     32 	third_party/libjingle/source/talk/app/webrtc/jsepicecandidate.cc \
     33 	third_party/libjingle/source/talk/app/webrtc/jsepsessiondescription.cc \
     34 	third_party/libjingle/source/talk/app/webrtc/localaudiosource.cc \
     35 	third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface.cc \
     36 	third_party/libjingle/source/talk/app/webrtc/mediastream.cc \
     37 	third_party/libjingle/source/talk/app/webrtc/mediastreamhandler.cc \
     38 	third_party/libjingle/source/talk/app/webrtc/mediastreamsignaling.cc \
     39 	third_party/libjingle/source/talk/app/webrtc/peerconnection.cc \
     40 	third_party/libjingle/source/talk/app/webrtc/peerconnectionfactory.cc \
     41 	third_party/libjingle/source/talk/app/webrtc/portallocatorfactory.cc \
     42 	third_party/libjingle/source/talk/app/webrtc/remoteaudiosource.cc \
     43 	third_party/libjingle/source/talk/app/webrtc/remotevideocapturer.cc \
     44 	third_party/libjingle/source/talk/app/webrtc/sctputils.cc \
     45 	third_party/libjingle/source/talk/app/webrtc/statscollector.cc \
     46 	third_party/libjingle/source/talk/app/webrtc/videosource.cc \
     47 	third_party/libjingle/source/talk/app/webrtc/videotrack.cc \
     48 	third_party/libjingle/source/talk/app/webrtc/videotrackrenderers.cc \
     49 	third_party/libjingle/source/talk/app/webrtc/webrtcsdp.cc \
     50 	third_party/libjingle/source/talk/app/webrtc/webrtcsession.cc \
     51 	third_party/libjingle/source/talk/app/webrtc/webrtcsessiondescriptionfactory.cc \
     52 	third_party/libjingle/source/talk/media/base/capturemanager.cc \
     53 	third_party/libjingle/source/talk/media/base/capturerenderadapter.cc \
     54 	third_party/libjingle/source/talk/media/base/codec.cc \
     55 	third_party/libjingle/source/talk/media/base/constants.cc \
     56 	third_party/libjingle/source/talk/media/base/filemediaengine.cc \
     57 	third_party/libjingle/source/talk/media/base/mediaengine.cc \
     58 	third_party/libjingle/source/talk/media/base/rtpdataengine.cc \
     59 	third_party/libjingle/source/talk/media/base/rtpdump.cc \
     60 	third_party/libjingle/source/talk/media/base/rtputils.cc \
     61 	third_party/libjingle/source/talk/media/base/streamparams.cc \
     62 	third_party/libjingle/source/talk/media/base/videoadapter.cc \
     63 	third_party/libjingle/source/talk/media/base/videocapturer.cc \
     64 	third_party/libjingle/source/talk/media/base/videocommon.cc \
     65 	third_party/libjingle/source/talk/media/base/videoframe.cc \
     66 	third_party/libjingle/source/talk/media/devices/dummydevicemanager.cc \
     67 	third_party/libjingle/source/talk/media/devices/filevideocapturer.cc \
     68 	third_party/libjingle/source/talk/media/webrtc/webrtcpassthroughrender.cc \
     69 	third_party/libjingle/source/talk/media/webrtc/webrtctexturevideoframe.cc \
     70 	third_party/libjingle/source/talk/media/webrtc/webrtcvideocapturer.cc \
     71 	third_party/libjingle/source/talk/media/webrtc/webrtcvideoframe.cc \
     72 	third_party/libjingle/source/talk/session/media/audiomonitor.cc \
     73 	third_party/libjingle/source/talk/session/media/bundlefilter.cc \
     74 	third_party/libjingle/source/talk/session/media/call.cc \
     75 	third_party/libjingle/source/talk/session/media/channel.cc \
     76 	third_party/libjingle/source/talk/session/media/channelmanager.cc \
     77 	third_party/libjingle/source/talk/session/media/currentspeakermonitor.cc \
     78 	third_party/libjingle/source/talk/session/media/externalhmac.cc \
     79 	third_party/libjingle/source/talk/session/media/mediamessages.cc \
     80 	third_party/libjingle/source/talk/session/media/mediamonitor.cc \
     81 	third_party/libjingle/source/talk/session/media/mediasession.cc \
     82 	third_party/libjingle/source/talk/session/media/mediasessionclient.cc \
     83 	third_party/libjingle/source/talk/session/media/rtcpmuxfilter.cc \
     84 	third_party/libjingle/source/talk/session/media/soundclip.cc \
     85 	third_party/libjingle/source/talk/session/media/srtpfilter.cc \
     86 	third_party/libjingle/source/talk/session/media/typingmonitor.cc \
     87 	third_party/libjingle/source/talk/session/tunnel/pseudotcpchannel.cc \
     88 	third_party/libjingle/source/talk/session/tunnel/tunnelsessionclient.cc \
     89 	third_party/libjingle/source/talk/media/sctp/sctpdataengine.cc
     90 
     91 
     92 # Flags passed to both C and C++ files.
     93 MY_CFLAGS_Debug := \
     94 	--param=ssp-buffer-size=4 \
     95 	-fno-exceptions \
     96 	-fno-strict-aliasing \
     97 	-Wno-unused-parameter \
     98 	-Wno-missing-field-initializers \
     99 	-fvisibility=hidden \
    100 	-pipe \
    101 	-fPIC \
    102 	-Wno-unused-local-typedefs \
    103 	-Wno-format \
    104 	-msse2 \
    105 	-mfpmath=sse \
    106 	-mmmx \
    107 	-m32 \
    108 	-ffunction-sections \
    109 	-funwind-tables \
    110 	-g \
    111 	-fno-short-enums \
    112 	-finline-limit=64 \
    113 	-Wa,--noexecstack \
    114 	-U_FORTIFY_SOURCE \
    115 	-Wno-extra \
    116 	-Wno-ignored-qualifiers \
    117 	-Wno-type-limits \
    118 	-Wno-unused-but-set-variable \
    119 	-fno-stack-protector \
    120 	-Wno-address \
    121 	-Wno-format-security \
    122 	-Wno-return-type \
    123 	-Wno-sequence-point \
    124 	-Os \
    125 	-g \
    126 	-fdata-sections \
    127 	-ffunction-sections \
    128 	-fomit-frame-pointer \
    129 	-funwind-tables
    130 
    131 MY_DEFS_Debug := \
    132 	'-DEXPAT_RELATIVE_PATH' \
    133 	'-DFEATURE_ENABLE_SSL' \
    134 	'-DGTEST_RELATIVE_PATH' \
    135 	'-DHAVE_SRTP' \
    136 	'-DHAVE_WEBRTC_VIDEO' \
    137 	'-DHAVE_WEBRTC_VOICE' \
    138 	'-DLOGGING_INSIDE_LIBJINGLE' \
    139 	'-DNO_MAIN_THREAD_WRAPPING' \
    140 	'-DNO_SOUND_SYSTEM' \
    141 	'-DSRTP_RELATIVE_PATH' \
    142 	'-DUSE_WEBRTC_DEV_BRANCH' \
    143 	'-DENABLE_EXTERNAL_AUTH' \
    144 	'-DV8_DEPRECATION_WARNINGS' \
    145 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    146 	'-D_FILE_OFFSET_BITS=64' \
    147 	'-DNO_TCMALLOC' \
    148 	'-DDISABLE_NACL' \
    149 	'-DLIBPEERCONNECTION_LIB=1' \
    150 	'-DSSL_USE_OPENSSL' \
    151 	'-DHAVE_OPENSSL_SSL_H' \
    152 	'-DPOSIX' \
    153 	'-DCHROMIUM_BUILD' \
    154 	'-DUSE_LIBJPEG_TURBO=1' \
    155 	'-DENABLE_WEBRTC=1' \
    156 	'-DUSE_PROPRIETARY_CODECS' \
    157 	'-DENABLE_BROWSER_CDMS' \
    158 	'-DENABLE_CONFIGURATION_POLICY' \
    159 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    160 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    161 	'-DENABLE_EGLIMAGE=1' \
    162 	'-DCLD_VERSION=1' \
    163 	'-DENABLE_PRINTING=1' \
    164 	'-DENABLE_MANAGED_USERS=1' \
    165 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    166 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    167 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    168 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    169 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    170 	'-DVIDEO_HOLE=1' \
    171 	'-DHAVE_SCTP' \
    172 	'-DHAVE_INT16_T' \
    173 	'-DHAVE_INT32_T' \
    174 	'-DHAVE_INT8_T' \
    175 	'-DHAVE_UINT16_T' \
    176 	'-DHAVE_UINT32_T' \
    177 	'-DHAVE_UINT64_T' \
    178 	'-DHAVE_UINT8_T' \
    179 	'-DHAVE_STDINT_H' \
    180 	'-DHAVE_INTTYPES_H' \
    181 	'-DHAVE_NETINET_IN_H' \
    182 	'-DINLINE=inline' \
    183 	'-DCPU_CISC' \
    184 	'-DWEBRTC_CHROMIUM_BUILD' \
    185 	'-DWEBRTC_LINUX' \
    186 	'-DWEBRTC_ANDROID' \
    187 	'-DWEBRTC_ANDROID_OPENSLES' \
    188 	'-DWEBRTC_POSIX' \
    189 	'-DFEATURE_ENABLE_VOICEMAIL' \
    190 	'-DANDROID' \
    191 	'-DUSE_OPENSSL=1' \
    192 	'-DUSE_OPENSSL_CERTS=1' \
    193 	'-D__GNU_SOURCE=1' \
    194 	'-DUSE_STLPORT=1' \
    195 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    196 	'-DCHROME_BUILD_ID=""' \
    197 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    198 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    199 	'-D_DEBUG'
    200 
    201 
    202 # Include paths placed before CFLAGS/CPPFLAGS
    203 LOCAL_C_INCLUDES_Debug := \
    204 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    205 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    206 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    207 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    208 	$(LOCAL_PATH)/third_party/libjingle/source \
    209 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    210 	$(LOCAL_PATH) \
    211 	$(LOCAL_PATH)/testing/gtest/include \
    212 	$(LOCAL_PATH)/third_party \
    213 	$(LOCAL_PATH)/third_party/libyuv/include \
    214 	$(LOCAL_PATH)/third_party/usrsctp \
    215 	$(LOCAL_PATH)/third_party/webrtc \
    216 	$(gyp_shared_intermediate_dir) \
    217 	$(PWD)/external/expat/lib \
    218 	$(LOCAL_PATH)/third_party/openssl/openssl/include \
    219 	$(LOCAL_PATH)/third_party/libsrtp/config \
    220 	$(LOCAL_PATH)/third_party/libsrtp/srtp/include \
    221 	$(LOCAL_PATH)/third_party/libsrtp/srtp/crypto/include \
    222 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    223 	$(LOCAL_PATH)/third_party \
    224 	$(LOCAL_PATH)/third_party/webrtc/modules/media_file/interface \
    225 	$(LOCAL_PATH)/third_party/webrtc/modules/interface \
    226 	$(LOCAL_PATH)/third_party/usrsctp/usrsctplib \
    227 	$(LOCAL_PATH)/third_party/usrsctp/usrsctplib/netinet \
    228 	$(PWD)/frameworks/wilhelm/include \
    229 	$(PWD)/bionic \
    230 	$(PWD)/external/stlport/stlport
    231 
    232 
    233 # Flags passed to only C++ (and not C) files.
    234 LOCAL_CPPFLAGS_Debug := \
    235 	-fno-rtti \
    236 	-fno-threadsafe-statics \
    237 	-fvisibility-inlines-hidden \
    238 	-Wno-deprecated \
    239 	-Wno-non-virtual-dtor \
    240 	-Wno-sign-promo \
    241 	-Wno-non-virtual-dtor
    242 
    243 
    244 LOCAL_FDO_SUPPORT_Debug := false
    245 
    246 # Flags passed to both C and C++ files.
    247 MY_CFLAGS_Release := \
    248 	--param=ssp-buffer-size=4 \
    249 	-fno-exceptions \
    250 	-fno-strict-aliasing \
    251 	-Wno-unused-parameter \
    252 	-Wno-missing-field-initializers \
    253 	-fvisibility=hidden \
    254 	-pipe \
    255 	-fPIC \
    256 	-Wno-unused-local-typedefs \
    257 	-Wno-format \
    258 	-msse2 \
    259 	-mfpmath=sse \
    260 	-mmmx \
    261 	-m32 \
    262 	-ffunction-sections \
    263 	-funwind-tables \
    264 	-g \
    265 	-fno-short-enums \
    266 	-finline-limit=64 \
    267 	-Wa,--noexecstack \
    268 	-U_FORTIFY_SOURCE \
    269 	-Wno-extra \
    270 	-Wno-ignored-qualifiers \
    271 	-Wno-type-limits \
    272 	-Wno-unused-but-set-variable \
    273 	-fno-stack-protector \
    274 	-Wno-address \
    275 	-Wno-format-security \
    276 	-Wno-return-type \
    277 	-Wno-sequence-point \
    278 	-Os \
    279 	-fno-ident \
    280 	-fdata-sections \
    281 	-ffunction-sections \
    282 	-fomit-frame-pointer \
    283 	-funwind-tables
    284 
    285 MY_DEFS_Release := \
    286 	'-DEXPAT_RELATIVE_PATH' \
    287 	'-DFEATURE_ENABLE_SSL' \
    288 	'-DGTEST_RELATIVE_PATH' \
    289 	'-DHAVE_SRTP' \
    290 	'-DHAVE_WEBRTC_VIDEO' \
    291 	'-DHAVE_WEBRTC_VOICE' \
    292 	'-DLOGGING_INSIDE_LIBJINGLE' \
    293 	'-DNO_MAIN_THREAD_WRAPPING' \
    294 	'-DNO_SOUND_SYSTEM' \
    295 	'-DSRTP_RELATIVE_PATH' \
    296 	'-DUSE_WEBRTC_DEV_BRANCH' \
    297 	'-DENABLE_EXTERNAL_AUTH' \
    298 	'-DV8_DEPRECATION_WARNINGS' \
    299 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    300 	'-D_FILE_OFFSET_BITS=64' \
    301 	'-DNO_TCMALLOC' \
    302 	'-DDISABLE_NACL' \
    303 	'-DLIBPEERCONNECTION_LIB=1' \
    304 	'-DSSL_USE_OPENSSL' \
    305 	'-DHAVE_OPENSSL_SSL_H' \
    306 	'-DPOSIX' \
    307 	'-DCHROMIUM_BUILD' \
    308 	'-DUSE_LIBJPEG_TURBO=1' \
    309 	'-DENABLE_WEBRTC=1' \
    310 	'-DUSE_PROPRIETARY_CODECS' \
    311 	'-DENABLE_BROWSER_CDMS' \
    312 	'-DENABLE_CONFIGURATION_POLICY' \
    313 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    314 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    315 	'-DENABLE_EGLIMAGE=1' \
    316 	'-DCLD_VERSION=1' \
    317 	'-DENABLE_PRINTING=1' \
    318 	'-DENABLE_MANAGED_USERS=1' \
    319 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    320 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    321 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    322 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    323 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    324 	'-DVIDEO_HOLE=1' \
    325 	'-DHAVE_SCTP' \
    326 	'-DHAVE_INT16_T' \
    327 	'-DHAVE_INT32_T' \
    328 	'-DHAVE_INT8_T' \
    329 	'-DHAVE_UINT16_T' \
    330 	'-DHAVE_UINT32_T' \
    331 	'-DHAVE_UINT64_T' \
    332 	'-DHAVE_UINT8_T' \
    333 	'-DHAVE_STDINT_H' \
    334 	'-DHAVE_INTTYPES_H' \
    335 	'-DHAVE_NETINET_IN_H' \
    336 	'-DINLINE=inline' \
    337 	'-DCPU_CISC' \
    338 	'-DWEBRTC_CHROMIUM_BUILD' \
    339 	'-DWEBRTC_LINUX' \
    340 	'-DWEBRTC_ANDROID' \
    341 	'-DWEBRTC_ANDROID_OPENSLES' \
    342 	'-DWEBRTC_POSIX' \
    343 	'-DFEATURE_ENABLE_VOICEMAIL' \
    344 	'-DANDROID' \
    345 	'-DUSE_OPENSSL=1' \
    346 	'-DUSE_OPENSSL_CERTS=1' \
    347 	'-D__GNU_SOURCE=1' \
    348 	'-DUSE_STLPORT=1' \
    349 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    350 	'-DCHROME_BUILD_ID=""' \
    351 	'-DNDEBUG' \
    352 	'-DNVALGRIND' \
    353 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    354 
    355 
    356 # Include paths placed before CFLAGS/CPPFLAGS
    357 LOCAL_C_INCLUDES_Release := \
    358 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    359 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    360 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    361 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    362 	$(LOCAL_PATH)/third_party/libjingle/source \
    363 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    364 	$(LOCAL_PATH) \
    365 	$(LOCAL_PATH)/testing/gtest/include \
    366 	$(LOCAL_PATH)/third_party \
    367 	$(LOCAL_PATH)/third_party/libyuv/include \
    368 	$(LOCAL_PATH)/third_party/usrsctp \
    369 	$(LOCAL_PATH)/third_party/webrtc \
    370 	$(gyp_shared_intermediate_dir) \
    371 	$(PWD)/external/expat/lib \
    372 	$(LOCAL_PATH)/third_party/openssl/openssl/include \
    373 	$(LOCAL_PATH)/third_party/libsrtp/config \
    374 	$(LOCAL_PATH)/third_party/libsrtp/srtp/include \
    375 	$(LOCAL_PATH)/third_party/libsrtp/srtp/crypto/include \
    376 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    377 	$(LOCAL_PATH)/third_party \
    378 	$(LOCAL_PATH)/third_party/webrtc/modules/media_file/interface \
    379 	$(LOCAL_PATH)/third_party/webrtc/modules/interface \
    380 	$(LOCAL_PATH)/third_party/usrsctp/usrsctplib \
    381 	$(LOCAL_PATH)/third_party/usrsctp/usrsctplib/netinet \
    382 	$(PWD)/frameworks/wilhelm/include \
    383 	$(PWD)/bionic \
    384 	$(PWD)/external/stlport/stlport
    385 
    386 
    387 # Flags passed to only C++ (and not C) files.
    388 LOCAL_CPPFLAGS_Release := \
    389 	-fno-rtti \
    390 	-fno-threadsafe-statics \
    391 	-fvisibility-inlines-hidden \
    392 	-Wno-deprecated \
    393 	-Wno-non-virtual-dtor \
    394 	-Wno-sign-promo \
    395 	-Wno-non-virtual-dtor
    396 
    397 
    398 LOCAL_FDO_SUPPORT_Release := false
    399 
    400 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    401 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    402 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    403 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    404 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    405 ### Rules for final target.
    406 
    407 LOCAL_LDFLAGS_Debug := \
    408 	-Wl,-z,now \
    409 	-Wl,-z,relro \
    410 	-Wl,--fatal-warnings \
    411 	-Wl,-z,noexecstack \
    412 	-fPIC \
    413 	-m32 \
    414 	-fuse-ld=gold \
    415 	-nostdlib \
    416 	-Wl,--no-undefined \
    417 	-Wl,--exclude-libs=ALL \
    418 	-Wl,--warn-shared-textrel \
    419 	-Wl,-O1 \
    420 	-Wl,--as-needed
    421 
    422 
    423 LOCAL_LDFLAGS_Release := \
    424 	-Wl,-z,now \
    425 	-Wl,-z,relro \
    426 	-Wl,--fatal-warnings \
    427 	-Wl,-z,noexecstack \
    428 	-fPIC \
    429 	-m32 \
    430 	-fuse-ld=gold \
    431 	-nostdlib \
    432 	-Wl,--no-undefined \
    433 	-Wl,--exclude-libs=ALL \
    434 	-Wl,-O1 \
    435 	-Wl,--as-needed \
    436 	-Wl,--gc-sections \
    437 	-Wl,--warn-shared-textrel
    438 
    439 
    440 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    441 
    442 LOCAL_STATIC_LIBRARIES :=
    443 
    444 # Enable grouping to fix circular references
    445 LOCAL_GROUP_STATIC_LIBRARIES := true
    446 
    447 LOCAL_SHARED_LIBRARIES := \
    448 	libstlport \
    449 	libdl
    450 
    451 # Add target alias to "gyp_all_modules" target.
    452 .PHONY: gyp_all_modules
    453 gyp_all_modules: third_party_libjingle_libjingle_webrtc_common_gyp
    454 
    455 # Alias gyp target name.
    456 .PHONY: libjingle_webrtc_common
    457 libjingle_webrtc_common: third_party_libjingle_libjingle_webrtc_common_gyp
    458 
    459 include $(BUILD_STATIC_LIBRARY)
    460