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