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