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_libjingle_xmllite_rtc_xmllite_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/webrtc/libjingle/xmllite/qname.cc \ 27 third_party/webrtc/libjingle/xmllite/xmlbuilder.cc \ 28 third_party/webrtc/libjingle/xmllite/xmlconstants.cc \ 29 third_party/webrtc/libjingle/xmllite/xmlelement.cc \ 30 third_party/webrtc/libjingle/xmllite/xmlnsstack.cc \ 31 third_party/webrtc/libjingle/xmllite/xmlparser.cc \ 32 third_party/webrtc/libjingle/xmllite/xmlprinter.cc 33 34 35 # Flags passed to both C and C++ files. 36 MY_CFLAGS_Debug := \ 37 --param=ssp-buffer-size=4 \ 38 -Werror \ 39 -fno-strict-aliasing \ 40 -Wall \ 41 -Wno-unused-parameter \ 42 -Wno-missing-field-initializers \ 43 -fvisibility=hidden \ 44 -pipe \ 45 -fPIC \ 46 -Wno-unused-local-typedefs \ 47 -fno-builtin-cos \ 48 -fno-builtin-sin \ 49 -fno-builtin-cosf \ 50 -fno-builtin-sinf \ 51 -msse2 \ 52 -mfpmath=sse \ 53 -mmmx \ 54 -m32 \ 55 -ffunction-sections \ 56 -funwind-tables \ 57 -g \ 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 -fno-stack-protector \ 67 -Os \ 68 -g \ 69 -gdwarf-4 \ 70 -fdata-sections \ 71 -ffunction-sections \ 72 -fomit-frame-pointer \ 73 -funwind-tables 74 75 MY_DEFS_Debug := \ 76 '-DV8_DEPRECATION_WARNINGS' \ 77 '-D_FILE_OFFSET_BITS=64' \ 78 '-DNO_TCMALLOC' \ 79 '-DDISABLE_NACL' \ 80 '-DCHROMIUM_BUILD' \ 81 '-DUSE_LIBJPEG_TURBO=1' \ 82 '-DENABLE_WEBRTC=1' \ 83 '-DUSE_PROPRIETARY_CODECS' \ 84 '-DENABLE_BROWSER_CDMS' \ 85 '-DENABLE_CONFIGURATION_POLICY' \ 86 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 87 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 88 '-DENABLE_EGLIMAGE=1' \ 89 '-DCLD_VERSION=1' \ 90 '-DENABLE_PRINTING=1' \ 91 '-DENABLE_MANAGED_USERS=1' \ 92 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 93 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 94 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 95 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 96 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 97 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 98 '-DVIDEO_HOLE=1' \ 99 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 100 '-DWEBRTC_RESTRICT_LOGGING' \ 101 '-DEXPAT_RELATIVE_PATH' \ 102 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 103 '-DWEBRTC_CHROMIUM_BUILD' \ 104 '-DLOGGING_INSIDE_WEBRTC' \ 105 '-DWEBRTC_POSIX' \ 106 '-DWEBRTC_LINUX' \ 107 '-DWEBRTC_ANDROID' \ 108 '-DWEBRTC_ANDROID_OPENSLES' \ 109 '-DFEATURE_ENABLE_SSL' \ 110 '-DNO_MAIN_THREAD_WRAPPING' \ 111 '-DSSL_USE_OPENSSL' \ 112 '-DHAVE_OPENSSL_SSL_H' \ 113 '-DXML_STATIC' \ 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/expat/files/lib \ 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-exceptions \ 143 -fno-rtti \ 144 -fno-threadsafe-statics \ 145 -fvisibility-inlines-hidden \ 146 -Wsign-compare \ 147 -std=gnu++11 \ 148 -Wno-narrowing \ 149 -Wno-literal-suffix \ 150 -Wno-non-virtual-dtor \ 151 -Wno-sign-promo 152 153 154 # Flags passed to both C and C++ files. 155 MY_CFLAGS_Release := \ 156 --param=ssp-buffer-size=4 \ 157 -Werror \ 158 -fno-strict-aliasing \ 159 -Wall \ 160 -Wno-unused-parameter \ 161 -Wno-missing-field-initializers \ 162 -fvisibility=hidden \ 163 -pipe \ 164 -fPIC \ 165 -Wno-unused-local-typedefs \ 166 -fno-builtin-cos \ 167 -fno-builtin-sin \ 168 -fno-builtin-cosf \ 169 -fno-builtin-sinf \ 170 -msse2 \ 171 -mfpmath=sse \ 172 -mmmx \ 173 -m32 \ 174 -ffunction-sections \ 175 -funwind-tables \ 176 -g \ 177 -fno-short-enums \ 178 -finline-limit=64 \ 179 -Wa,--noexecstack \ 180 -U_FORTIFY_SOURCE \ 181 -Wno-extra \ 182 -Wno-ignored-qualifiers \ 183 -Wno-type-limits \ 184 -Wno-unused-but-set-variable \ 185 -fno-stack-protector \ 186 -Os \ 187 -fno-ident \ 188 -fdata-sections \ 189 -ffunction-sections \ 190 -fomit-frame-pointer \ 191 -funwind-tables 192 193 MY_DEFS_Release := \ 194 '-DV8_DEPRECATION_WARNINGS' \ 195 '-D_FILE_OFFSET_BITS=64' \ 196 '-DNO_TCMALLOC' \ 197 '-DDISABLE_NACL' \ 198 '-DCHROMIUM_BUILD' \ 199 '-DUSE_LIBJPEG_TURBO=1' \ 200 '-DENABLE_WEBRTC=1' \ 201 '-DUSE_PROPRIETARY_CODECS' \ 202 '-DENABLE_BROWSER_CDMS' \ 203 '-DENABLE_CONFIGURATION_POLICY' \ 204 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 205 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 206 '-DENABLE_EGLIMAGE=1' \ 207 '-DCLD_VERSION=1' \ 208 '-DENABLE_PRINTING=1' \ 209 '-DENABLE_MANAGED_USERS=1' \ 210 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 211 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 212 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 213 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 214 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 215 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 216 '-DVIDEO_HOLE=1' \ 217 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 218 '-DWEBRTC_RESTRICT_LOGGING' \ 219 '-DEXPAT_RELATIVE_PATH' \ 220 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 221 '-DWEBRTC_CHROMIUM_BUILD' \ 222 '-DLOGGING_INSIDE_WEBRTC' \ 223 '-DWEBRTC_POSIX' \ 224 '-DWEBRTC_LINUX' \ 225 '-DWEBRTC_ANDROID' \ 226 '-DWEBRTC_ANDROID_OPENSLES' \ 227 '-DFEATURE_ENABLE_SSL' \ 228 '-DNO_MAIN_THREAD_WRAPPING' \ 229 '-DSSL_USE_OPENSSL' \ 230 '-DHAVE_OPENSSL_SSL_H' \ 231 '-DXML_STATIC' \ 232 '-DUSE_OPENSSL=1' \ 233 '-DUSE_OPENSSL_CERTS=1' \ 234 '-D__STDC_CONSTANT_MACROS' \ 235 '-D__STDC_FORMAT_MACROS' \ 236 '-DANDROID' \ 237 '-D__GNU_SOURCE=1' \ 238 '-DUSE_STLPORT=1' \ 239 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 240 '-DCHROME_BUILD_ID=""' \ 241 '-DNDEBUG' \ 242 '-DNVALGRIND' \ 243 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 244 '-D_FORTIFY_SOURCE=2' 245 246 247 # Include paths placed before CFLAGS/CPPFLAGS 248 LOCAL_C_INCLUDES_Release := \ 249 $(gyp_shared_intermediate_dir) \ 250 $(LOCAL_PATH) \ 251 $(LOCAL_PATH)/third_party/webrtc/overrides \ 252 $(LOCAL_PATH)/third_party \ 253 $(LOCAL_PATH)/third_party/expat/files/lib \ 254 $(PWD)/frameworks/wilhelm/include \ 255 $(PWD)/bionic \ 256 $(PWD)/external/stlport/stlport 257 258 259 # Flags passed to only C++ (and not C) files. 260 LOCAL_CPPFLAGS_Release := \ 261 -fno-exceptions \ 262 -fno-rtti \ 263 -fno-threadsafe-statics \ 264 -fvisibility-inlines-hidden \ 265 -Wsign-compare \ 266 -std=gnu++11 \ 267 -Wno-narrowing \ 268 -Wno-literal-suffix \ 269 -Wno-non-virtual-dtor \ 270 -Wno-sign-promo 271 272 273 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 274 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 275 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 276 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 277 ### Rules for final target. 278 279 LOCAL_SHARED_LIBRARIES := \ 280 libstlport \ 281 libdl 282 283 # Add target alias to "gyp_all_modules" target. 284 .PHONY: gyp_all_modules 285 gyp_all_modules: third_party_webrtc_libjingle_xmllite_rtc_xmllite_gyp 286 287 # Alias gyp target name. 288 .PHONY: rtc_xmllite 289 rtc_xmllite: third_party_webrtc_libjingle_xmllite_rtc_xmllite_gyp 290 291 include $(BUILD_STATIC_LIBRARY) 292