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