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 -m64 \ 82 -march=x86-64 \ 83 -ffunction-sections \ 84 -funwind-tables \ 85 -g \ 86 -fstack-protector \ 87 -fno-short-enums \ 88 -finline-limit=64 \ 89 -Wa,--noexecstack \ 90 -U_FORTIFY_SOURCE \ 91 -Wno-extra \ 92 -Wno-ignored-qualifiers \ 93 -Wno-type-limits \ 94 -Wno-unused-but-set-variable \ 95 -Os \ 96 -g \ 97 -fdata-sections \ 98 -ffunction-sections \ 99 -fomit-frame-pointer \ 100 -funwind-tables 101 102 MY_DEFS_Debug := \ 103 '-DV8_DEPRECATION_WARNINGS' \ 104 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 105 '-D_FILE_OFFSET_BITS=64' \ 106 '-DNO_TCMALLOC' \ 107 '-DDISABLE_NACL' \ 108 '-DCHROMIUM_BUILD' \ 109 '-DUSE_LIBJPEG_TURBO=1' \ 110 '-DENABLE_WEBRTC=1' \ 111 '-DUSE_PROPRIETARY_CODECS' \ 112 '-DENABLE_BROWSER_CDMS' \ 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' \ 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"' \ 124 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 125 '-DVIDEO_HOLE=1' \ 126 '-DWEBRTC_RESTRICT_LOGGING' \ 127 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 128 '-DWEBRTC_CHROMIUM_BUILD' \ 129 '-DLOGGING_INSIDE_WEBRTC' \ 130 '-DWEBRTC_POSIX' \ 131 '-DWEBRTC_LINUX' \ 132 '-DWEBRTC_ANDROID' \ 133 '-DWEBRTC_ANDROID_OPENSLES' \ 134 '-DUSE_OPENSSL=1' \ 135 '-DUSE_OPENSSL_CERTS=1' \ 136 '-D__STDC_CONSTANT_MACROS' \ 137 '-D__STDC_FORMAT_MACROS' \ 138 '-DANDROID' \ 139 '-D__GNU_SOURCE=1' \ 140 '-DUSE_STLPORT=1' \ 141 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 142 '-DCHROME_BUILD_ID=""' \ 143 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 144 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 145 '-D_DEBUG' 146 147 148 # Include paths placed before CFLAGS/CPPFLAGS 149 LOCAL_C_INCLUDES_Debug := \ 150 $(gyp_shared_intermediate_dir) \ 151 $(LOCAL_PATH) \ 152 $(LOCAL_PATH)/third_party/webrtc/overrides \ 153 $(LOCAL_PATH)/third_party \ 154 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 155 $(PWD)/frameworks/wilhelm/include \ 156 $(PWD)/bionic \ 157 $(PWD)/external/stlport/stlport 158 159 160 # Flags passed to only C++ (and not C) files. 161 LOCAL_CPPFLAGS_Debug := \ 162 -fno-rtti \ 163 -fno-threadsafe-statics \ 164 -fvisibility-inlines-hidden \ 165 -Wsign-compare \ 166 -Wno-non-virtual-dtor \ 167 -Wno-sign-promo 168 169 170 LOCAL_FDO_SUPPORT_Debug := false 171 172 # Flags passed to both C and C++ files. 173 MY_CFLAGS_Release := \ 174 -fstack-protector \ 175 --param=ssp-buffer-size=4 \ 176 -Werror \ 177 -fno-exceptions \ 178 -fno-strict-aliasing \ 179 -Wall \ 180 -Wno-unused-parameter \ 181 -Wno-missing-field-initializers \ 182 -fvisibility=hidden \ 183 -pipe \ 184 -fPIC \ 185 -Wno-unused-local-typedefs \ 186 -fno-builtin-cos \ 187 -fno-builtin-sin \ 188 -fno-builtin-cosf \ 189 -fno-builtin-sinf \ 190 -fno-builtin-cos \ 191 -fno-builtin-sin \ 192 -fno-builtin-cosf \ 193 -fno-builtin-sinf \ 194 -m64 \ 195 -march=x86-64 \ 196 -ffunction-sections \ 197 -funwind-tables \ 198 -g \ 199 -fstack-protector \ 200 -fno-short-enums \ 201 -finline-limit=64 \ 202 -Wa,--noexecstack \ 203 -U_FORTIFY_SOURCE \ 204 -Wno-extra \ 205 -Wno-ignored-qualifiers \ 206 -Wno-type-limits \ 207 -Wno-unused-but-set-variable \ 208 -Os \ 209 -fno-ident \ 210 -fdata-sections \ 211 -ffunction-sections \ 212 -fomit-frame-pointer \ 213 -funwind-tables 214 215 MY_DEFS_Release := \ 216 '-DV8_DEPRECATION_WARNINGS' \ 217 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 218 '-D_FILE_OFFSET_BITS=64' \ 219 '-DNO_TCMALLOC' \ 220 '-DDISABLE_NACL' \ 221 '-DCHROMIUM_BUILD' \ 222 '-DUSE_LIBJPEG_TURBO=1' \ 223 '-DENABLE_WEBRTC=1' \ 224 '-DUSE_PROPRIETARY_CODECS' \ 225 '-DENABLE_BROWSER_CDMS' \ 226 '-DENABLE_CONFIGURATION_POLICY' \ 227 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 228 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 229 '-DENABLE_EGLIMAGE=1' \ 230 '-DCLD_VERSION=1' \ 231 '-DENABLE_PRINTING=1' \ 232 '-DENABLE_MANAGED_USERS=1' \ 233 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 234 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 235 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 236 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 237 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 238 '-DVIDEO_HOLE=1' \ 239 '-DWEBRTC_RESTRICT_LOGGING' \ 240 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 241 '-DWEBRTC_CHROMIUM_BUILD' \ 242 '-DLOGGING_INSIDE_WEBRTC' \ 243 '-DWEBRTC_POSIX' \ 244 '-DWEBRTC_LINUX' \ 245 '-DWEBRTC_ANDROID' \ 246 '-DWEBRTC_ANDROID_OPENSLES' \ 247 '-DUSE_OPENSSL=1' \ 248 '-DUSE_OPENSSL_CERTS=1' \ 249 '-D__STDC_CONSTANT_MACROS' \ 250 '-D__STDC_FORMAT_MACROS' \ 251 '-DANDROID' \ 252 '-D__GNU_SOURCE=1' \ 253 '-DUSE_STLPORT=1' \ 254 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 255 '-DCHROME_BUILD_ID=""' \ 256 '-DNDEBUG' \ 257 '-DNVALGRIND' \ 258 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 259 '-D_FORTIFY_SOURCE=2' 260 261 262 # Include paths placed before CFLAGS/CPPFLAGS 263 LOCAL_C_INCLUDES_Release := \ 264 $(gyp_shared_intermediate_dir) \ 265 $(LOCAL_PATH) \ 266 $(LOCAL_PATH)/third_party/webrtc/overrides \ 267 $(LOCAL_PATH)/third_party \ 268 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 269 $(PWD)/frameworks/wilhelm/include \ 270 $(PWD)/bionic \ 271 $(PWD)/external/stlport/stlport 272 273 274 # Flags passed to only C++ (and not C) files. 275 LOCAL_CPPFLAGS_Release := \ 276 -fno-rtti \ 277 -fno-threadsafe-statics \ 278 -fvisibility-inlines-hidden \ 279 -Wsign-compare \ 280 -Wno-non-virtual-dtor \ 281 -Wno-sign-promo 282 283 284 LOCAL_FDO_SUPPORT_Release := false 285 286 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 287 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 288 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 289 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 290 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 291 ### Rules for final target. 292 293 LOCAL_LDFLAGS_Debug := \ 294 -Wl,-z,now \ 295 -Wl,-z,relro \ 296 -Wl,--fatal-warnings \ 297 -Wl,-z,noexecstack \ 298 -fPIC \ 299 -m64 \ 300 -fuse-ld=gold \ 301 -nostdlib \ 302 -Wl,--no-undefined \ 303 -Wl,--exclude-libs=ALL \ 304 -Wl,--warn-shared-textrel \ 305 -Wl,-O1 \ 306 -Wl,--as-needed 307 308 309 LOCAL_LDFLAGS_Release := \ 310 -Wl,-z,now \ 311 -Wl,-z,relro \ 312 -Wl,--fatal-warnings \ 313 -Wl,-z,noexecstack \ 314 -fPIC \ 315 -m64 \ 316 -fuse-ld=gold \ 317 -nostdlib \ 318 -Wl,--no-undefined \ 319 -Wl,--exclude-libs=ALL \ 320 -Wl,-O1 \ 321 -Wl,--as-needed \ 322 -Wl,--gc-sections \ 323 -Wl,--warn-shared-textrel 324 325 326 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 327 328 LOCAL_STATIC_LIBRARIES := 329 330 # Enable grouping to fix circular references 331 LOCAL_GROUP_STATIC_LIBRARIES := true 332 333 LOCAL_SHARED_LIBRARIES := \ 334 libstlport \ 335 libdl 336 337 # Add target alias to "gyp_all_modules" target. 338 .PHONY: gyp_all_modules 339 gyp_all_modules: third_party_webrtc_modules_rtp_rtcp_gyp 340 341 # Alias gyp target name. 342 .PHONY: rtp_rtcp 343 rtp_rtcp: third_party_webrtc_modules_rtp_rtcp_gyp 344 345 include $(BUILD_STATIC_LIBRARY) 346