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