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_rtp_rtcp_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 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_CPP_EXTENSION := .cc 22 LOCAL_GENERATED_SOURCES := 23 24 GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26 LOCAL_SRC_FILES := \ 27 third_party/webrtc/modules/rtp_rtcp/source/bitrate.cc \ 28 third_party/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc \ 29 third_party/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc \ 30 third_party/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator.cc \ 31 third_party/webrtc/modules/rtp_rtcp/source/rtp_header_parser.cc \ 32 third_party/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc \ 33 third_party/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc \ 34 third_party/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc \ 35 third_party/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc \ 36 third_party/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc \ 37 third_party/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc \ 38 third_party/webrtc/modules/rtp_rtcp/source/rtp_header_extension.cc \ 39 third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc \ 40 third_party/webrtc/modules/rtp_rtcp/source/rtp_sender.cc \ 41 third_party/webrtc/modules/rtp_rtcp/source/rtp_utility.cc \ 42 third_party/webrtc/modules/rtp_rtcp/source/ssrc_database.cc \ 43 third_party/webrtc/modules/rtp_rtcp/source/tmmbr_help.cc \ 44 third_party/webrtc/modules/rtp_rtcp/source/dtmf_queue.cc \ 45 third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.cc \ 46 third_party/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc \ 47 third_party/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc \ 48 third_party/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc \ 49 third_party/webrtc/modules/rtp_rtcp/source/producer_fec.cc \ 50 third_party/webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc \ 51 third_party/webrtc/modules/rtp_rtcp/source/rtp_payload_registry.cc \ 52 third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.cc \ 53 third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc \ 54 third_party/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc \ 55 third_party/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc \ 56 third_party/webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator.cc 57 58 59 # Flags passed to both C and C++ files. 60 MY_CFLAGS_Debug := \ 61 -fstack-protector \ 62 --param=ssp-buffer-size=4 \ 63 -Werror \ 64 -fno-exceptions \ 65 -fno-strict-aliasing \ 66 -Wall \ 67 -Wno-unused-parameter \ 68 -Wno-missing-field-initializers \ 69 -fvisibility=hidden \ 70 -pipe \ 71 -fPIC \ 72 -Wno-unused-local-typedefs \ 73 -fno-builtin-cos \ 74 -fno-builtin-sin \ 75 -fno-builtin-cosf \ 76 -fno-builtin-sinf \ 77 -fno-builtin-cos \ 78 -fno-builtin-sin \ 79 -fno-builtin-cosf \ 80 -fno-builtin-sinf \ 81 -fno-tree-sra \ 82 -fno-partial-inlining \ 83 -fno-early-inlining \ 84 -fno-tree-copy-prop \ 85 -fno-tree-loop-optimize \ 86 -fno-move-loop-invariants \ 87 -fno-caller-saves \ 88 -Wno-psabi \ 89 -ffunction-sections \ 90 -funwind-tables \ 91 -g \ 92 -fstack-protector \ 93 -fno-short-enums \ 94 -finline-limit=64 \ 95 -Wa,--noexecstack \ 96 -U_FORTIFY_SOURCE \ 97 -Wno-extra \ 98 -Wno-ignored-qualifiers \ 99 -Wno-type-limits \ 100 -Wno-unused-but-set-variable \ 101 -Os \ 102 -g \ 103 -fdata-sections \ 104 -ffunction-sections \ 105 -fomit-frame-pointer \ 106 -funwind-tables 107 108 MY_DEFS_Debug := \ 109 '-DV8_DEPRECATION_WARNINGS' \ 110 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 111 '-D_FILE_OFFSET_BITS=64' \ 112 '-DNO_TCMALLOC' \ 113 '-DDISABLE_NACL' \ 114 '-DCHROMIUM_BUILD' \ 115 '-DUSE_LIBJPEG_TURBO=1' \ 116 '-DENABLE_WEBRTC=1' \ 117 '-DUSE_PROPRIETARY_CODECS' \ 118 '-DENABLE_BROWSER_CDMS' \ 119 '-DENABLE_CONFIGURATION_POLICY' \ 120 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 121 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 122 '-DENABLE_EGLIMAGE=1' \ 123 '-DCLD_VERSION=1' \ 124 '-DENABLE_PRINTING=1' \ 125 '-DENABLE_MANAGED_USERS=1' \ 126 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 127 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 128 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 129 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 130 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 131 '-DVIDEO_HOLE=1' \ 132 '-DWEBRTC_RESTRICT_LOGGING' \ 133 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 134 '-DWEBRTC_CHROMIUM_BUILD' \ 135 '-DLOGGING_INSIDE_WEBRTC' \ 136 '-DWEBRTC_ARCH_ARM' \ 137 '-DWEBRTC_ARCH_ARM_V7' \ 138 '-DWEBRTC_DETECT_ARM_NEON' \ 139 '-DWEBRTC_POSIX' \ 140 '-DWEBRTC_LINUX' \ 141 '-DWEBRTC_ANDROID' \ 142 '-DWEBRTC_ANDROID_OPENSLES' \ 143 '-DUSE_OPENSSL=1' \ 144 '-DUSE_OPENSSL_CERTS=1' \ 145 '-D__STDC_CONSTANT_MACROS' \ 146 '-D__STDC_FORMAT_MACROS' \ 147 '-DANDROID' \ 148 '-D__GNU_SOURCE=1' \ 149 '-DUSE_STLPORT=1' \ 150 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 151 '-DCHROME_BUILD_ID=""' \ 152 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 153 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 154 '-D_DEBUG' 155 156 157 # Include paths placed before CFLAGS/CPPFLAGS 158 LOCAL_C_INCLUDES_Debug := \ 159 $(gyp_shared_intermediate_dir) \ 160 $(LOCAL_PATH) \ 161 $(LOCAL_PATH)/third_party/webrtc/overrides \ 162 $(LOCAL_PATH)/third_party \ 163 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 164 $(PWD)/frameworks/wilhelm/include \ 165 $(PWD)/bionic \ 166 $(PWD)/external/stlport/stlport 167 168 169 # Flags passed to only C++ (and not C) files. 170 LOCAL_CPPFLAGS_Debug := \ 171 -fno-rtti \ 172 -fno-threadsafe-statics \ 173 -fvisibility-inlines-hidden \ 174 -Wsign-compare \ 175 -Wno-abi \ 176 -Wno-non-virtual-dtor \ 177 -Wno-sign-promo 178 179 180 LOCAL_FDO_SUPPORT_Debug := false 181 182 # Flags passed to both C and C++ files. 183 MY_CFLAGS_Release := \ 184 -fstack-protector \ 185 --param=ssp-buffer-size=4 \ 186 -Werror \ 187 -fno-exceptions \ 188 -fno-strict-aliasing \ 189 -Wall \ 190 -Wno-unused-parameter \ 191 -Wno-missing-field-initializers \ 192 -fvisibility=hidden \ 193 -pipe \ 194 -fPIC \ 195 -Wno-unused-local-typedefs \ 196 -fno-builtin-cos \ 197 -fno-builtin-sin \ 198 -fno-builtin-cosf \ 199 -fno-builtin-sinf \ 200 -fno-builtin-cos \ 201 -fno-builtin-sin \ 202 -fno-builtin-cosf \ 203 -fno-builtin-sinf \ 204 -fno-tree-sra \ 205 -fno-partial-inlining \ 206 -fno-early-inlining \ 207 -fno-tree-copy-prop \ 208 -fno-tree-loop-optimize \ 209 -fno-move-loop-invariants \ 210 -fno-caller-saves \ 211 -Wno-psabi \ 212 -ffunction-sections \ 213 -funwind-tables \ 214 -g \ 215 -fstack-protector \ 216 -fno-short-enums \ 217 -finline-limit=64 \ 218 -Wa,--noexecstack \ 219 -U_FORTIFY_SOURCE \ 220 -Wno-extra \ 221 -Wno-ignored-qualifiers \ 222 -Wno-type-limits \ 223 -Wno-unused-but-set-variable \ 224 -Os \ 225 -fno-ident \ 226 -fdata-sections \ 227 -ffunction-sections \ 228 -fomit-frame-pointer \ 229 -funwind-tables 230 231 MY_DEFS_Release := \ 232 '-DV8_DEPRECATION_WARNINGS' \ 233 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 234 '-D_FILE_OFFSET_BITS=64' \ 235 '-DNO_TCMALLOC' \ 236 '-DDISABLE_NACL' \ 237 '-DCHROMIUM_BUILD' \ 238 '-DUSE_LIBJPEG_TURBO=1' \ 239 '-DENABLE_WEBRTC=1' \ 240 '-DUSE_PROPRIETARY_CODECS' \ 241 '-DENABLE_BROWSER_CDMS' \ 242 '-DENABLE_CONFIGURATION_POLICY' \ 243 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 244 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 245 '-DENABLE_EGLIMAGE=1' \ 246 '-DCLD_VERSION=1' \ 247 '-DENABLE_PRINTING=1' \ 248 '-DENABLE_MANAGED_USERS=1' \ 249 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 250 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 251 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 252 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 253 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 254 '-DVIDEO_HOLE=1' \ 255 '-DWEBRTC_RESTRICT_LOGGING' \ 256 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 257 '-DWEBRTC_CHROMIUM_BUILD' \ 258 '-DLOGGING_INSIDE_WEBRTC' \ 259 '-DWEBRTC_ARCH_ARM' \ 260 '-DWEBRTC_ARCH_ARM_V7' \ 261 '-DWEBRTC_DETECT_ARM_NEON' \ 262 '-DWEBRTC_POSIX' \ 263 '-DWEBRTC_LINUX' \ 264 '-DWEBRTC_ANDROID' \ 265 '-DWEBRTC_ANDROID_OPENSLES' \ 266 '-DUSE_OPENSSL=1' \ 267 '-DUSE_OPENSSL_CERTS=1' \ 268 '-D__STDC_CONSTANT_MACROS' \ 269 '-D__STDC_FORMAT_MACROS' \ 270 '-DANDROID' \ 271 '-D__GNU_SOURCE=1' \ 272 '-DUSE_STLPORT=1' \ 273 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 274 '-DCHROME_BUILD_ID=""' \ 275 '-DNDEBUG' \ 276 '-DNVALGRIND' \ 277 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 278 '-D_FORTIFY_SOURCE=2' 279 280 281 # Include paths placed before CFLAGS/CPPFLAGS 282 LOCAL_C_INCLUDES_Release := \ 283 $(gyp_shared_intermediate_dir) \ 284 $(LOCAL_PATH) \ 285 $(LOCAL_PATH)/third_party/webrtc/overrides \ 286 $(LOCAL_PATH)/third_party \ 287 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 288 $(PWD)/frameworks/wilhelm/include \ 289 $(PWD)/bionic \ 290 $(PWD)/external/stlport/stlport 291 292 293 # Flags passed to only C++ (and not C) files. 294 LOCAL_CPPFLAGS_Release := \ 295 -fno-rtti \ 296 -fno-threadsafe-statics \ 297 -fvisibility-inlines-hidden \ 298 -Wsign-compare \ 299 -Wno-abi \ 300 -Wno-non-virtual-dtor \ 301 -Wno-sign-promo 302 303 304 LOCAL_FDO_SUPPORT_Release := false 305 306 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 307 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 308 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 309 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 310 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 311 ### Rules for final target. 312 313 LOCAL_LDFLAGS_Debug := \ 314 -Wl,-z,now \ 315 -Wl,-z,relro \ 316 -Wl,--fatal-warnings \ 317 -Wl,-z,noexecstack \ 318 -fPIC \ 319 -Wl,-z,relro \ 320 -Wl,-z,now \ 321 -fuse-ld=gold \ 322 -nostdlib \ 323 -Wl,--no-undefined \ 324 -Wl,--exclude-libs=ALL \ 325 -Wl,--icf=safe \ 326 -Wl,--warn-shared-textrel \ 327 -Wl,-O1 \ 328 -Wl,--as-needed 329 330 331 LOCAL_LDFLAGS_Release := \ 332 -Wl,-z,now \ 333 -Wl,-z,relro \ 334 -Wl,--fatal-warnings \ 335 -Wl,-z,noexecstack \ 336 -fPIC \ 337 -Wl,-z,relro \ 338 -Wl,-z,now \ 339 -fuse-ld=gold \ 340 -nostdlib \ 341 -Wl,--no-undefined \ 342 -Wl,--exclude-libs=ALL \ 343 -Wl,--icf=safe \ 344 -Wl,-O1 \ 345 -Wl,--as-needed \ 346 -Wl,--gc-sections \ 347 -Wl,--warn-shared-textrel 348 349 350 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 351 352 LOCAL_STATIC_LIBRARIES := 353 354 # Enable grouping to fix circular references 355 LOCAL_GROUP_STATIC_LIBRARIES := true 356 357 LOCAL_SHARED_LIBRARIES := \ 358 libstlport \ 359 libdl 360 361 # Add target alias to "gyp_all_modules" target. 362 .PHONY: gyp_all_modules 363 gyp_all_modules: third_party_webrtc_modules_rtp_rtcp_gyp 364 365 # Alias gyp target name. 366 .PHONY: rtp_rtcp 367 rtp_rtcp: third_party_webrtc_modules_rtp_rtcp_gyp 368 369 include $(BUILD_STATIC_LIBRARY) 370