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