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 --param=ssp-buffer-size=4 \ 94 -fno-strict-aliasing \ 95 -Wno-unused-parameter \ 96 -Wno-missing-field-initializers \ 97 -fvisibility=hidden \ 98 -pipe \ 99 -fPIC \ 100 -Wno-unused-local-typedefs \ 101 -Wno-format \ 102 -ffunction-sections \ 103 -funwind-tables \ 104 -g \ 105 -fno-short-enums \ 106 -finline-limit=64 \ 107 -Wa,--noexecstack \ 108 -U_FORTIFY_SOURCE \ 109 -Wno-extra \ 110 -Wno-ignored-qualifiers \ 111 -Wno-type-limits \ 112 -Wno-unused-but-set-variable \ 113 -Wno-address \ 114 -Wno-format-security \ 115 -Wno-return-type \ 116 -Wno-sequence-point \ 117 -Os \ 118 -g \ 119 -gdwarf-4 \ 120 -fdata-sections \ 121 -ffunction-sections \ 122 -funwind-tables 123 124 MY_DEFS_Debug := \ 125 '-DEXPAT_RELATIVE_PATH' \ 126 '-DFEATURE_ENABLE_SSL' \ 127 '-DGTEST_RELATIVE_PATH' \ 128 '-DHAVE_SRTP' \ 129 '-DHAVE_WEBRTC_VIDEO' \ 130 '-DHAVE_WEBRTC_VOICE' \ 131 '-DLOGGING_INSIDE_WEBRTC' \ 132 '-DNO_MAIN_THREAD_WRAPPING' \ 133 '-DNO_SOUND_SYSTEM' \ 134 '-DSRTP_RELATIVE_PATH' \ 135 '-DUSE_WEBRTC_DEV_BRANCH' \ 136 '-DENABLE_EXTERNAL_AUTH' \ 137 '-DWEBRTC_CHROMIUM_BUILD' \ 138 '-DV8_DEPRECATION_WARNINGS' \ 139 '-D_FILE_OFFSET_BITS=64' \ 140 '-DNO_TCMALLOC' \ 141 '-DDISABLE_NACL' \ 142 '-DLIBPEERCONNECTION_LIB=1' \ 143 '-DSSL_USE_OPENSSL' \ 144 '-DHAVE_OPENSSL_SSL_H' \ 145 '-DPOSIX' \ 146 '-DWEBRTC_POSIX' \ 147 '-DCHROMIUM_BUILD' \ 148 '-DUSE_LIBJPEG_TURBO=1' \ 149 '-DENABLE_WEBRTC=1' \ 150 '-DUSE_PROPRIETARY_CODECS' \ 151 '-DENABLE_BROWSER_CDMS' \ 152 '-DENABLE_CONFIGURATION_POLICY' \ 153 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 154 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 155 '-DENABLE_EGLIMAGE=1' \ 156 '-DCLD_VERSION=1' \ 157 '-DENABLE_PRINTING=1' \ 158 '-DENABLE_MANAGED_USERS=1' \ 159 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 160 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 161 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 162 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 163 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 164 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 165 '-DVIDEO_HOLE=1' \ 166 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 167 '-DHAVE_SCTP' \ 168 '-DPOSIX_AVOID_MMAP' \ 169 '-DXML_STATIC' \ 170 '-DHAVE_INT16_T' \ 171 '-DHAVE_INT32_T' \ 172 '-DHAVE_INT8_T' \ 173 '-DHAVE_UINT16_T' \ 174 '-DHAVE_UINT32_T' \ 175 '-DHAVE_UINT64_T' \ 176 '-DHAVE_UINT8_T' \ 177 '-DHAVE_STDINT_H' \ 178 '-DHAVE_INTTYPES_H' \ 179 '-DHAVE_NETINET_IN_H' \ 180 '-DINLINE=inline' \ 181 '-DWEBRTC_LINUX' \ 182 '-DWEBRTC_ANDROID' \ 183 '-DWEBRTC_ANDROID_OPENSLES' \ 184 '-DFEATURE_ENABLE_VOICEMAIL' \ 185 '-DANDROID' \ 186 '-DUSE_OPENSSL=1' \ 187 '-DUSE_OPENSSL_CERTS=1' \ 188 '-D__GNU_SOURCE=1' \ 189 '-DUSE_STLPORT=1' \ 190 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 191 '-DCHROME_BUILD_ID=""' \ 192 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 193 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 194 '-D_DEBUG' 195 196 197 # Include paths placed before CFLAGS/CPPFLAGS 198 LOCAL_C_INCLUDES_Debug := \ 199 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 200 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 201 $(LOCAL_PATH)/third_party/libjingle/overrides \ 202 $(LOCAL_PATH)/third_party/webrtc/overrides \ 203 $(LOCAL_PATH)/third_party/libjingle/source \ 204 $(LOCAL_PATH) \ 205 $(LOCAL_PATH)/testing/gtest/include \ 206 $(LOCAL_PATH)/third_party \ 207 $(LOCAL_PATH)/third_party/libyuv/include \ 208 $(LOCAL_PATH)/third_party/usrsctp \ 209 $(gyp_shared_intermediate_dir) \ 210 $(LOCAL_PATH)/third_party/expat/files/lib \ 211 $(LOCAL_PATH)/third_party/boringssl/src/include \ 212 $(LOCAL_PATH)/third_party/libsrtp/config \ 213 $(LOCAL_PATH)/third_party/libsrtp/srtp/include \ 214 $(LOCAL_PATH)/third_party/libsrtp/srtp/crypto/include \ 215 $(LOCAL_PATH)/third_party/webrtc/overrides \ 216 $(LOCAL_PATH)/third_party \ 217 $(LOCAL_PATH)/third_party/webrtc/modules/media_file/interface \ 218 $(LOCAL_PATH)/third_party/webrtc/modules/interface \ 219 $(LOCAL_PATH)/third_party/usrsctp/usrsctplib \ 220 $(LOCAL_PATH)/third_party/usrsctp/usrsctplib/netinet \ 221 $(PWD)/frameworks/wilhelm/include \ 222 $(PWD)/bionic \ 223 $(PWD)/external/stlport/stlport 224 225 226 # Flags passed to only C++ (and not C) files. 227 LOCAL_CPPFLAGS_Debug := \ 228 -fno-exceptions \ 229 -fno-rtti \ 230 -fno-threadsafe-statics \ 231 -fvisibility-inlines-hidden \ 232 -Wno-deprecated \ 233 -std=gnu++11 \ 234 -Wno-narrowing \ 235 -Wno-literal-suffix \ 236 -Wno-non-virtual-dtor \ 237 -Wno-sign-promo \ 238 -Wno-non-virtual-dtor 239 240 241 # Flags passed to both C and C++ files. 242 MY_CFLAGS_Release := \ 243 --param=ssp-buffer-size=4 \ 244 -fno-strict-aliasing \ 245 -Wno-unused-parameter \ 246 -Wno-missing-field-initializers \ 247 -fvisibility=hidden \ 248 -pipe \ 249 -fPIC \ 250 -Wno-unused-local-typedefs \ 251 -Wno-format \ 252 -ffunction-sections \ 253 -funwind-tables \ 254 -g \ 255 -fno-short-enums \ 256 -finline-limit=64 \ 257 -Wa,--noexecstack \ 258 -U_FORTIFY_SOURCE \ 259 -Wno-extra \ 260 -Wno-ignored-qualifiers \ 261 -Wno-type-limits \ 262 -Wno-unused-but-set-variable \ 263 -Wno-address \ 264 -Wno-format-security \ 265 -Wno-return-type \ 266 -Wno-sequence-point \ 267 -Os \ 268 -fno-ident \ 269 -fdata-sections \ 270 -ffunction-sections \ 271 -funwind-tables 272 273 MY_DEFS_Release := \ 274 '-DEXPAT_RELATIVE_PATH' \ 275 '-DFEATURE_ENABLE_SSL' \ 276 '-DGTEST_RELATIVE_PATH' \ 277 '-DHAVE_SRTP' \ 278 '-DHAVE_WEBRTC_VIDEO' \ 279 '-DHAVE_WEBRTC_VOICE' \ 280 '-DLOGGING_INSIDE_WEBRTC' \ 281 '-DNO_MAIN_THREAD_WRAPPING' \ 282 '-DNO_SOUND_SYSTEM' \ 283 '-DSRTP_RELATIVE_PATH' \ 284 '-DUSE_WEBRTC_DEV_BRANCH' \ 285 '-DENABLE_EXTERNAL_AUTH' \ 286 '-DWEBRTC_CHROMIUM_BUILD' \ 287 '-DV8_DEPRECATION_WARNINGS' \ 288 '-D_FILE_OFFSET_BITS=64' \ 289 '-DNO_TCMALLOC' \ 290 '-DDISABLE_NACL' \ 291 '-DLIBPEERCONNECTION_LIB=1' \ 292 '-DSSL_USE_OPENSSL' \ 293 '-DHAVE_OPENSSL_SSL_H' \ 294 '-DPOSIX' \ 295 '-DWEBRTC_POSIX' \ 296 '-DCHROMIUM_BUILD' \ 297 '-DUSE_LIBJPEG_TURBO=1' \ 298 '-DENABLE_WEBRTC=1' \ 299 '-DUSE_PROPRIETARY_CODECS' \ 300 '-DENABLE_BROWSER_CDMS' \ 301 '-DENABLE_CONFIGURATION_POLICY' \ 302 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 303 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 304 '-DENABLE_EGLIMAGE=1' \ 305 '-DCLD_VERSION=1' \ 306 '-DENABLE_PRINTING=1' \ 307 '-DENABLE_MANAGED_USERS=1' \ 308 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 309 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 310 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 311 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 312 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 313 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 314 '-DVIDEO_HOLE=1' \ 315 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 316 '-DHAVE_SCTP' \ 317 '-DPOSIX_AVOID_MMAP' \ 318 '-DXML_STATIC' \ 319 '-DHAVE_INT16_T' \ 320 '-DHAVE_INT32_T' \ 321 '-DHAVE_INT8_T' \ 322 '-DHAVE_UINT16_T' \ 323 '-DHAVE_UINT32_T' \ 324 '-DHAVE_UINT64_T' \ 325 '-DHAVE_UINT8_T' \ 326 '-DHAVE_STDINT_H' \ 327 '-DHAVE_INTTYPES_H' \ 328 '-DHAVE_NETINET_IN_H' \ 329 '-DINLINE=inline' \ 330 '-DWEBRTC_LINUX' \ 331 '-DWEBRTC_ANDROID' \ 332 '-DWEBRTC_ANDROID_OPENSLES' \ 333 '-DFEATURE_ENABLE_VOICEMAIL' \ 334 '-DANDROID' \ 335 '-DUSE_OPENSSL=1' \ 336 '-DUSE_OPENSSL_CERTS=1' \ 337 '-D__GNU_SOURCE=1' \ 338 '-DUSE_STLPORT=1' \ 339 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 340 '-DCHROME_BUILD_ID=""' \ 341 '-DNDEBUG' \ 342 '-DNVALGRIND' \ 343 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 344 345 346 # Include paths placed before CFLAGS/CPPFLAGS 347 LOCAL_C_INCLUDES_Release := \ 348 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 349 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 350 $(LOCAL_PATH)/third_party/libjingle/overrides \ 351 $(LOCAL_PATH)/third_party/webrtc/overrides \ 352 $(LOCAL_PATH)/third_party/libjingle/source \ 353 $(LOCAL_PATH) \ 354 $(LOCAL_PATH)/testing/gtest/include \ 355 $(LOCAL_PATH)/third_party \ 356 $(LOCAL_PATH)/third_party/libyuv/include \ 357 $(LOCAL_PATH)/third_party/usrsctp \ 358 $(gyp_shared_intermediate_dir) \ 359 $(LOCAL_PATH)/third_party/expat/files/lib \ 360 $(LOCAL_PATH)/third_party/boringssl/src/include \ 361 $(LOCAL_PATH)/third_party/libsrtp/config \ 362 $(LOCAL_PATH)/third_party/libsrtp/srtp/include \ 363 $(LOCAL_PATH)/third_party/libsrtp/srtp/crypto/include \ 364 $(LOCAL_PATH)/third_party/webrtc/overrides \ 365 $(LOCAL_PATH)/third_party \ 366 $(LOCAL_PATH)/third_party/webrtc/modules/media_file/interface \ 367 $(LOCAL_PATH)/third_party/webrtc/modules/interface \ 368 $(LOCAL_PATH)/third_party/usrsctp/usrsctplib \ 369 $(LOCAL_PATH)/third_party/usrsctp/usrsctplib/netinet \ 370 $(PWD)/frameworks/wilhelm/include \ 371 $(PWD)/bionic \ 372 $(PWD)/external/stlport/stlport 373 374 375 # Flags passed to only C++ (and not C) files. 376 LOCAL_CPPFLAGS_Release := \ 377 -fno-exceptions \ 378 -fno-rtti \ 379 -fno-threadsafe-statics \ 380 -fvisibility-inlines-hidden \ 381 -Wno-deprecated \ 382 -std=gnu++11 \ 383 -Wno-narrowing \ 384 -Wno-literal-suffix \ 385 -Wno-non-virtual-dtor \ 386 -Wno-sign-promo \ 387 -Wno-non-virtual-dtor 388 389 390 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 391 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 392 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 393 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 394 ### Rules for final target. 395 396 LOCAL_SHARED_LIBRARIES := \ 397 libstlport \ 398 libdl 399 400 # Add target alias to "gyp_all_modules" target. 401 .PHONY: gyp_all_modules 402 gyp_all_modules: third_party_libjingle_libjingle_webrtc_common_gyp 403 404 # Alias gyp target name. 405 .PHONY: libjingle_webrtc_common 406 libjingle_webrtc_common: third_party_libjingle_libjingle_webrtc_common_gyp 407 408 include $(BUILD_STATIC_LIBRARY) 409