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