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