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_libjingle_libjingle_p2p_constants_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := 14 15 GYP_GENERATED_OUTPUTS := 16 17 # Make sure our deps and generated files are built first. 18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20 LOCAL_CPP_EXTENSION := .cc 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 third_party/libjingle/source/talk/p2p/base/constants.cc 27 28 29 # Flags passed to both C and C++ files. 30 MY_CFLAGS_Debug := \ 31 -fstack-protector \ 32 --param=ssp-buffer-size=4 \ 33 -fno-strict-aliasing \ 34 -Wno-unused-parameter \ 35 -Wno-missing-field-initializers \ 36 -fvisibility=hidden \ 37 -pipe \ 38 -fPIC \ 39 -Wno-unused-local-typedefs \ 40 -Wno-format \ 41 -fno-tree-sra \ 42 -fno-caller-saves \ 43 -Wno-psabi \ 44 -fno-partial-inlining \ 45 -fno-early-inlining \ 46 -fno-tree-copy-prop \ 47 -fno-tree-loop-optimize \ 48 -fno-move-loop-invariants \ 49 -ffunction-sections \ 50 -funwind-tables \ 51 -g \ 52 -fstack-protector \ 53 -fno-short-enums \ 54 -finline-limit=64 \ 55 -Wa,--noexecstack \ 56 -U_FORTIFY_SOURCE \ 57 -Wno-extra \ 58 -Wno-ignored-qualifiers \ 59 -Wno-type-limits \ 60 -Wno-unused-but-set-variable \ 61 -Wno-address \ 62 -Wno-format-security \ 63 -Wno-return-type \ 64 -Wno-sequence-point \ 65 -Os \ 66 -g \ 67 -gdwarf-4 \ 68 -fdata-sections \ 69 -ffunction-sections \ 70 -fomit-frame-pointer \ 71 -funwind-tables 72 73 MY_DEFS_Debug := \ 74 '-DEXPAT_RELATIVE_PATH' \ 75 '-DFEATURE_ENABLE_SSL' \ 76 '-DGTEST_RELATIVE_PATH' \ 77 '-DHAVE_SRTP' \ 78 '-DHAVE_WEBRTC_VIDEO' \ 79 '-DHAVE_WEBRTC_VOICE' \ 80 '-DLOGGING_INSIDE_WEBRTC' \ 81 '-DNO_MAIN_THREAD_WRAPPING' \ 82 '-DNO_SOUND_SYSTEM' \ 83 '-DSRTP_RELATIVE_PATH' \ 84 '-DUSE_WEBRTC_DEV_BRANCH' \ 85 '-DENABLE_EXTERNAL_AUTH' \ 86 '-DWEBRTC_CHROMIUM_BUILD' \ 87 '-DV8_DEPRECATION_WARNINGS' \ 88 '-D_FILE_OFFSET_BITS=64' \ 89 '-DNO_TCMALLOC' \ 90 '-DDISABLE_NACL' \ 91 '-DLIBPEERCONNECTION_LIB=1' \ 92 '-DSSL_USE_OPENSSL' \ 93 '-DHAVE_OPENSSL_SSL_H' \ 94 '-DPOSIX' \ 95 '-DWEBRTC_POSIX' \ 96 '-DCHROMIUM_BUILD' \ 97 '-DUSE_LIBJPEG_TURBO=1' \ 98 '-DENABLE_WEBRTC=1' \ 99 '-DUSE_PROPRIETARY_CODECS' \ 100 '-DENABLE_BROWSER_CDMS' \ 101 '-DENABLE_CONFIGURATION_POLICY' \ 102 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 103 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 104 '-DENABLE_EGLIMAGE=1' \ 105 '-DCLD_VERSION=1' \ 106 '-DENABLE_PRINTING=1' \ 107 '-DENABLE_MANAGED_USERS=1' \ 108 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 109 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 110 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 111 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 112 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 113 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 114 '-DVIDEO_HOLE=1' \ 115 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 116 '-DPOSIX_AVOID_MMAP' \ 117 '-DXML_STATIC' \ 118 '-DUSE_OPENSSL=1' \ 119 '-DUSE_OPENSSL_CERTS=1' \ 120 '-DANDROID' \ 121 '-D__GNU_SOURCE=1' \ 122 '-DUSE_STLPORT=1' \ 123 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 124 '-DCHROME_BUILD_ID=""' \ 125 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 126 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 127 '-D_DEBUG' 128 129 130 # Include paths placed before CFLAGS/CPPFLAGS 131 LOCAL_C_INCLUDES_Debug := \ 132 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 133 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 134 $(LOCAL_PATH)/third_party/libjingle/overrides \ 135 $(LOCAL_PATH)/third_party/webrtc/overrides \ 136 $(LOCAL_PATH)/third_party/libjingle/source \ 137 $(LOCAL_PATH) \ 138 $(LOCAL_PATH)/testing/gtest/include \ 139 $(LOCAL_PATH)/third_party \ 140 $(LOCAL_PATH)/third_party/libyuv/include \ 141 $(LOCAL_PATH)/third_party/usrsctp \ 142 $(gyp_shared_intermediate_dir) \ 143 $(LOCAL_PATH)/third_party/expat/files/lib \ 144 $(LOCAL_PATH)/third_party/boringssl/src/include \ 145 $(PWD)/frameworks/wilhelm/include \ 146 $(PWD)/bionic \ 147 $(PWD)/external/stlport/stlport 148 149 150 # Flags passed to only C++ (and not C) files. 151 LOCAL_CPPFLAGS_Debug := \ 152 -fno-exceptions \ 153 -fno-rtti \ 154 -fno-threadsafe-statics \ 155 -fvisibility-inlines-hidden \ 156 -Wno-deprecated \ 157 -Wno-abi \ 158 -std=gnu++11 \ 159 -Wno-narrowing \ 160 -Wno-literal-suffix \ 161 -Wno-non-virtual-dtor \ 162 -Wno-sign-promo \ 163 -Wno-non-virtual-dtor 164 165 166 # Flags passed to both C and C++ files. 167 MY_CFLAGS_Release := \ 168 -fstack-protector \ 169 --param=ssp-buffer-size=4 \ 170 -fno-strict-aliasing \ 171 -Wno-unused-parameter \ 172 -Wno-missing-field-initializers \ 173 -fvisibility=hidden \ 174 -pipe \ 175 -fPIC \ 176 -Wno-unused-local-typedefs \ 177 -Wno-format \ 178 -fno-tree-sra \ 179 -fno-caller-saves \ 180 -Wno-psabi \ 181 -fno-partial-inlining \ 182 -fno-early-inlining \ 183 -fno-tree-copy-prop \ 184 -fno-tree-loop-optimize \ 185 -fno-move-loop-invariants \ 186 -ffunction-sections \ 187 -funwind-tables \ 188 -g \ 189 -fstack-protector \ 190 -fno-short-enums \ 191 -finline-limit=64 \ 192 -Wa,--noexecstack \ 193 -U_FORTIFY_SOURCE \ 194 -Wno-extra \ 195 -Wno-ignored-qualifiers \ 196 -Wno-type-limits \ 197 -Wno-unused-but-set-variable \ 198 -Wno-address \ 199 -Wno-format-security \ 200 -Wno-return-type \ 201 -Wno-sequence-point \ 202 -Os \ 203 -fno-ident \ 204 -fdata-sections \ 205 -ffunction-sections \ 206 -fomit-frame-pointer \ 207 -funwind-tables 208 209 MY_DEFS_Release := \ 210 '-DEXPAT_RELATIVE_PATH' \ 211 '-DFEATURE_ENABLE_SSL' \ 212 '-DGTEST_RELATIVE_PATH' \ 213 '-DHAVE_SRTP' \ 214 '-DHAVE_WEBRTC_VIDEO' \ 215 '-DHAVE_WEBRTC_VOICE' \ 216 '-DLOGGING_INSIDE_WEBRTC' \ 217 '-DNO_MAIN_THREAD_WRAPPING' \ 218 '-DNO_SOUND_SYSTEM' \ 219 '-DSRTP_RELATIVE_PATH' \ 220 '-DUSE_WEBRTC_DEV_BRANCH' \ 221 '-DENABLE_EXTERNAL_AUTH' \ 222 '-DWEBRTC_CHROMIUM_BUILD' \ 223 '-DV8_DEPRECATION_WARNINGS' \ 224 '-D_FILE_OFFSET_BITS=64' \ 225 '-DNO_TCMALLOC' \ 226 '-DDISABLE_NACL' \ 227 '-DLIBPEERCONNECTION_LIB=1' \ 228 '-DSSL_USE_OPENSSL' \ 229 '-DHAVE_OPENSSL_SSL_H' \ 230 '-DPOSIX' \ 231 '-DWEBRTC_POSIX' \ 232 '-DCHROMIUM_BUILD' \ 233 '-DUSE_LIBJPEG_TURBO=1' \ 234 '-DENABLE_WEBRTC=1' \ 235 '-DUSE_PROPRIETARY_CODECS' \ 236 '-DENABLE_BROWSER_CDMS' \ 237 '-DENABLE_CONFIGURATION_POLICY' \ 238 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 239 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 240 '-DENABLE_EGLIMAGE=1' \ 241 '-DCLD_VERSION=1' \ 242 '-DENABLE_PRINTING=1' \ 243 '-DENABLE_MANAGED_USERS=1' \ 244 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 245 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 246 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 247 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 248 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 249 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 250 '-DVIDEO_HOLE=1' \ 251 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 252 '-DPOSIX_AVOID_MMAP' \ 253 '-DXML_STATIC' \ 254 '-DUSE_OPENSSL=1' \ 255 '-DUSE_OPENSSL_CERTS=1' \ 256 '-DANDROID' \ 257 '-D__GNU_SOURCE=1' \ 258 '-DUSE_STLPORT=1' \ 259 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 260 '-DCHROME_BUILD_ID=""' \ 261 '-DNDEBUG' \ 262 '-DNVALGRIND' \ 263 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 264 265 266 # Include paths placed before CFLAGS/CPPFLAGS 267 LOCAL_C_INCLUDES_Release := \ 268 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 269 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 270 $(LOCAL_PATH)/third_party/libjingle/overrides \ 271 $(LOCAL_PATH)/third_party/webrtc/overrides \ 272 $(LOCAL_PATH)/third_party/libjingle/source \ 273 $(LOCAL_PATH) \ 274 $(LOCAL_PATH)/testing/gtest/include \ 275 $(LOCAL_PATH)/third_party \ 276 $(LOCAL_PATH)/third_party/libyuv/include \ 277 $(LOCAL_PATH)/third_party/usrsctp \ 278 $(gyp_shared_intermediate_dir) \ 279 $(LOCAL_PATH)/third_party/expat/files/lib \ 280 $(LOCAL_PATH)/third_party/boringssl/src/include \ 281 $(PWD)/frameworks/wilhelm/include \ 282 $(PWD)/bionic \ 283 $(PWD)/external/stlport/stlport 284 285 286 # Flags passed to only C++ (and not C) files. 287 LOCAL_CPPFLAGS_Release := \ 288 -fno-exceptions \ 289 -fno-rtti \ 290 -fno-threadsafe-statics \ 291 -fvisibility-inlines-hidden \ 292 -Wno-deprecated \ 293 -Wno-abi \ 294 -std=gnu++11 \ 295 -Wno-narrowing \ 296 -Wno-literal-suffix \ 297 -Wno-non-virtual-dtor \ 298 -Wno-sign-promo \ 299 -Wno-non-virtual-dtor 300 301 302 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 303 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 304 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 305 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 306 ### Rules for final target. 307 308 LOCAL_SHARED_LIBRARIES := \ 309 libstlport \ 310 libdl 311 312 # Add target alias to "gyp_all_modules" target. 313 .PHONY: gyp_all_modules 314 gyp_all_modules: third_party_libjingle_libjingle_p2p_constants_gyp 315 316 # Alias gyp target name. 317 .PHONY: libjingle_p2p_constants 318 libjingle_p2p_constants: third_party_libjingle_libjingle_p2p_constants_gyp 319 320 include $(BUILD_STATIC_LIBRARY) 321