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