1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_WebKit_Source_core_webcore_svg_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_prerequisites_gyp,,,$(GYP_VAR_PREFIX))/webcore_prerequisites.stamp \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 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_GENERATED_SOURCES := 23 24GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26LOCAL_SRC_FILES := \ 27 third_party/WebKit/Source/core/rendering/style/SVGRenderStyle.cpp \ 28 third_party/WebKit/Source/core/rendering/style/SVGRenderStyleDefs.cpp \ 29 third_party/WebKit/Source/core/rendering/svg/ReferenceFilterBuilder.cpp \ 30 third_party/WebKit/Source/core/rendering/svg/RenderSVGBlock.cpp \ 31 third_party/WebKit/Source/core/rendering/svg/RenderSVGContainer.cpp \ 32 third_party/WebKit/Source/core/rendering/svg/RenderSVGEllipse.cpp \ 33 third_party/WebKit/Source/core/rendering/svg/RenderSVGForeignObject.cpp \ 34 third_party/WebKit/Source/core/rendering/svg/RenderSVGGradientStop.cpp \ 35 third_party/WebKit/Source/core/rendering/svg/RenderSVGHiddenContainer.cpp \ 36 third_party/WebKit/Source/core/rendering/svg/RenderSVGImage.cpp \ 37 third_party/WebKit/Source/core/rendering/svg/RenderSVGInline.cpp \ 38 third_party/WebKit/Source/core/rendering/svg/RenderSVGInlineText.cpp \ 39 third_party/WebKit/Source/core/rendering/svg/RenderSVGModelObject.cpp \ 40 third_party/WebKit/Source/core/rendering/svg/RenderSVGPath.cpp \ 41 third_party/WebKit/Source/core/rendering/svg/RenderSVGRect.cpp \ 42 third_party/WebKit/Source/core/rendering/svg/RenderSVGResource.cpp \ 43 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceClipper.cpp \ 44 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceContainer.cpp \ 45 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceFilter.cpp \ 46 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.cpp \ 47 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceGradient.cpp \ 48 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceLinearGradient.cpp \ 49 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceMarker.cpp \ 50 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceMasker.cpp \ 51 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourcePattern.cpp \ 52 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp \ 53 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp \ 54 third_party/WebKit/Source/core/rendering/svg/RenderSVGRoot.cpp \ 55 third_party/WebKit/Source/core/rendering/svg/RenderSVGShape.cpp \ 56 third_party/WebKit/Source/core/rendering/svg/RenderSVGTSpan.cpp \ 57 third_party/WebKit/Source/core/rendering/svg/RenderSVGText.cpp \ 58 third_party/WebKit/Source/core/rendering/svg/RenderSVGTextPath.cpp \ 59 third_party/WebKit/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp \ 60 third_party/WebKit/Source/core/rendering/svg/RenderSVGViewportContainer.cpp \ 61 third_party/WebKit/Source/core/rendering/svg/SVGInlineFlowBox.cpp \ 62 third_party/WebKit/Source/core/rendering/svg/SVGInlineTextBox.cpp \ 63 third_party/WebKit/Source/core/rendering/svg/SVGPathData.cpp \ 64 third_party/WebKit/Source/core/rendering/svg/SVGRenderSupport.cpp \ 65 third_party/WebKit/Source/core/rendering/svg/SVGRenderTreeAsText.cpp \ 66 third_party/WebKit/Source/core/rendering/svg/SVGRenderingContext.cpp \ 67 third_party/WebKit/Source/core/rendering/svg/SVGResources.cpp \ 68 third_party/WebKit/Source/core/rendering/svg/SVGResourcesCache.cpp \ 69 third_party/WebKit/Source/core/rendering/svg/SVGResourcesCycleSolver.cpp \ 70 third_party/WebKit/Source/core/rendering/svg/SVGRootInlineBox.cpp \ 71 third_party/WebKit/Source/core/rendering/svg/SVGTextChunk.cpp \ 72 third_party/WebKit/Source/core/rendering/svg/SVGTextChunkBuilder.cpp \ 73 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutAttributes.cpp \ 74 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp \ 75 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngine.cpp \ 76 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp \ 77 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp \ 78 third_party/WebKit/Source/core/rendering/svg/SVGTextMetrics.cpp \ 79 third_party/WebKit/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp \ 80 third_party/WebKit/Source/core/rendering/svg/SVGTextQuery.cpp \ 81 third_party/WebKit/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp \ 82 third_party/WebKit/Source/core/svg/ColorDistance.cpp \ 83 third_party/WebKit/Source/core/svg/SVGAElement.cpp \ 84 third_party/WebKit/Source/core/svg/SVGAltGlyphDefElement.cpp \ 85 third_party/WebKit/Source/core/svg/SVGAltGlyphElement.cpp \ 86 third_party/WebKit/Source/core/svg/SVGAltGlyphItemElement.cpp \ 87 third_party/WebKit/Source/core/svg/SVGAngle.cpp \ 88 third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp \ 89 third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp \ 90 third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp \ 91 third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp \ 92 third_party/WebKit/Source/core/svg/SVGAnimatedAngle.cpp \ 93 third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp \ 94 third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp \ 95 third_party/WebKit/Source/core/svg/SVGAnimatedInteger.cpp \ 96 third_party/WebKit/Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp \ 97 third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp \ 98 third_party/WebKit/Source/core/svg/SVGAnimatedNumber.cpp \ 99 third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp \ 100 third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp \ 101 third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp \ 102 third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp \ 103 third_party/WebKit/Source/core/svg/SVGBoolean.cpp \ 104 third_party/WebKit/Source/core/svg/SVGCircleElement.cpp \ 105 third_party/WebKit/Source/core/svg/SVGClipPathElement.cpp \ 106 third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp \ 107 third_party/WebKit/Source/core/svg/SVGCursorElement.cpp \ 108 third_party/WebKit/Source/core/svg/SVGDefsElement.cpp \ 109 third_party/WebKit/Source/core/svg/SVGDescElement.cpp \ 110 third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp \ 111 third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp \ 112 third_party/WebKit/Source/core/svg/SVGElement.cpp \ 113 third_party/WebKit/Source/core/svg/SVGElementRareData.cpp \ 114 third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp \ 115 third_party/WebKit/Source/core/svg/SVGEnumeration.cpp \ 116 third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp \ 117 third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp \ 118 third_party/WebKit/Source/core/svg/SVGFEComponentTransferElement.cpp \ 119 third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp \ 120 third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp \ 121 third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp \ 122 third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp \ 123 third_party/WebKit/Source/core/svg/SVGFEDistantLightElement.cpp \ 124 third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp \ 125 third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp \ 126 third_party/WebKit/Source/core/svg/SVGFEFuncAElement.cpp \ 127 third_party/WebKit/Source/core/svg/SVGFEFuncBElement.cpp \ 128 third_party/WebKit/Source/core/svg/SVGFEFuncGElement.cpp \ 129 third_party/WebKit/Source/core/svg/SVGFEFuncRElement.cpp \ 130 third_party/WebKit/Source/core/svg/SVGFEGaussianBlurElement.cpp \ 131 third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp \ 132 third_party/WebKit/Source/core/svg/SVGFELightElement.cpp \ 133 third_party/WebKit/Source/core/svg/SVGFEMergeElement.cpp \ 134 third_party/WebKit/Source/core/svg/SVGFEMergeNodeElement.cpp \ 135 third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp \ 136 third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp \ 137 third_party/WebKit/Source/core/svg/SVGFEPointLightElement.cpp \ 138 third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp \ 139 third_party/WebKit/Source/core/svg/SVGFESpotLightElement.cpp \ 140 third_party/WebKit/Source/core/svg/SVGFETileElement.cpp \ 141 third_party/WebKit/Source/core/svg/SVGFETurbulenceElement.cpp \ 142 third_party/WebKit/Source/core/svg/SVGFilterElement.cpp \ 143 third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp \ 144 third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp \ 145 third_party/WebKit/Source/core/svg/SVGFontData.cpp \ 146 third_party/WebKit/Source/core/svg/SVGFontElement.cpp \ 147 third_party/WebKit/Source/core/svg/SVGFontFaceElement.cpp \ 148 third_party/WebKit/Source/core/svg/SVGFontFaceFormatElement.cpp \ 149 third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp \ 150 third_party/WebKit/Source/core/svg/SVGFontFaceSource.cpp \ 151 third_party/WebKit/Source/core/svg/SVGFontFaceSrcElement.cpp \ 152 third_party/WebKit/Source/core/svg/SVGFontFaceUriElement.cpp \ 153 third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp \ 154 third_party/WebKit/Source/core/svg/SVGGElement.cpp \ 155 third_party/WebKit/Source/core/svg/SVGGeometryElement.cpp \ 156 third_party/WebKit/Source/core/svg/SVGGlyphElement.cpp \ 157 third_party/WebKit/Source/core/svg/SVGGlyphRefElement.cpp \ 158 third_party/WebKit/Source/core/svg/SVGGradientElement.cpp \ 159 third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp \ 160 third_party/WebKit/Source/core/svg/SVGHKernElement.cpp \ 161 third_party/WebKit/Source/core/svg/SVGImageElement.cpp \ 162 third_party/WebKit/Source/core/svg/SVGImageLoader.cpp \ 163 third_party/WebKit/Source/core/svg/SVGInteger.cpp \ 164 third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp \ 165 third_party/WebKit/Source/core/svg/SVGLength.cpp \ 166 third_party/WebKit/Source/core/svg/SVGLengthContext.cpp \ 167 third_party/WebKit/Source/core/svg/SVGLengthList.cpp \ 168 third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp \ 169 third_party/WebKit/Source/core/svg/SVGLineElement.cpp \ 170 third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp \ 171 third_party/WebKit/Source/core/svg/SVGMPathElement.cpp \ 172 third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp \ 173 third_party/WebKit/Source/core/svg/SVGMaskElement.cpp \ 174 third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp \ 175 third_party/WebKit/Source/core/svg/SVGMetadataElement.cpp \ 176 third_party/WebKit/Source/core/svg/SVGMissingGlyphElement.cpp \ 177 third_party/WebKit/Source/core/svg/SVGNumber.cpp \ 178 third_party/WebKit/Source/core/svg/SVGNumberList.cpp \ 179 third_party/WebKit/Source/core/svg/SVGNumberOptionalNumber.cpp \ 180 third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp \ 181 third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp \ 182 third_party/WebKit/Source/core/svg/SVGPathBlender.cpp \ 183 third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp \ 184 third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.cpp \ 185 third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp \ 186 third_party/WebKit/Source/core/svg/SVGPathElement.cpp \ 187 third_party/WebKit/Source/core/svg/SVGPathParser.cpp \ 188 third_party/WebKit/Source/core/svg/SVGPathSeg.cpp \ 189 third_party/WebKit/Source/core/svg/SVGPathSegList.cpp \ 190 third_party/WebKit/Source/core/svg/SVGPathSegListBuilder.cpp \ 191 third_party/WebKit/Source/core/svg/SVGPathSegListSource.cpp \ 192 third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp \ 193 third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp \ 194 third_party/WebKit/Source/core/svg/SVGPathTraversalStateBuilder.cpp \ 195 third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp \ 196 third_party/WebKit/Source/core/svg/SVGPatternElement.cpp \ 197 third_party/WebKit/Source/core/svg/SVGPoint.cpp \ 198 third_party/WebKit/Source/core/svg/SVGPointList.cpp \ 199 third_party/WebKit/Source/core/svg/SVGPointTearOff.cpp \ 200 third_party/WebKit/Source/core/svg/SVGPolyElement.cpp \ 201 third_party/WebKit/Source/core/svg/SVGPolygonElement.cpp \ 202 third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp \ 203 third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp \ 204 third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp \ 205 third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp \ 206 third_party/WebKit/Source/core/svg/SVGRect.cpp \ 207 third_party/WebKit/Source/core/svg/SVGRectElement.cpp \ 208 third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp \ 209 third_party/WebKit/Source/core/svg/SVGRemoteFontFaceSource.cpp \ 210 third_party/WebKit/Source/core/svg/SVGSVGElement.cpp \ 211 third_party/WebKit/Source/core/svg/SVGScriptElement.cpp \ 212 third_party/WebKit/Source/core/svg/SVGSetElement.cpp \ 213 third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp \ 214 third_party/WebKit/Source/core/svg/SVGStopElement.cpp \ 215 third_party/WebKit/Source/core/svg/SVGString.cpp \ 216 third_party/WebKit/Source/core/svg/SVGStringList.cpp \ 217 third_party/WebKit/Source/core/svg/SVGStringListTearOff.cpp \ 218 third_party/WebKit/Source/core/svg/SVGStyleElement.cpp \ 219 third_party/WebKit/Source/core/svg/SVGSwitchElement.cpp \ 220 third_party/WebKit/Source/core/svg/SVGSymbolElement.cpp \ 221 third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp \ 222 third_party/WebKit/Source/core/svg/SVGTests.cpp \ 223 third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp \ 224 third_party/WebKit/Source/core/svg/SVGTextElement.cpp \ 225 third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp \ 226 third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp \ 227 third_party/WebKit/Source/core/svg/SVGTitleElement.cpp \ 228 third_party/WebKit/Source/core/svg/SVGTransform.cpp \ 229 third_party/WebKit/Source/core/svg/SVGTransformDistance.cpp \ 230 third_party/WebKit/Source/core/svg/SVGTransformList.cpp \ 231 third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp \ 232 third_party/WebKit/Source/core/svg/SVGTransformTearOff.cpp \ 233 third_party/WebKit/Source/core/svg/SVGURIReference.cpp \ 234 third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp \ 235 third_party/WebKit/Source/core/svg/SVGUnknownElement.cpp \ 236 third_party/WebKit/Source/core/svg/SVGUseElement.cpp \ 237 third_party/WebKit/Source/core/svg/SVGVKernElement.cpp \ 238 third_party/WebKit/Source/core/svg/SVGViewElement.cpp \ 239 third_party/WebKit/Source/core/svg/SVGViewSpec.cpp \ 240 third_party/WebKit/Source/core/svg/SVGZoomAndPan.cpp \ 241 third_party/WebKit/Source/core/svg/SVGZoomEvent.cpp \ 242 third_party/WebKit/Source/core/svg/animation/SMILTime.cpp \ 243 third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp \ 244 third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp \ 245 third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp \ 246 third_party/WebKit/Source/core/svg/graphics/SVGImageCache.cpp \ 247 third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp \ 248 third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp \ 249 third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp \ 250 third_party/WebKit/Source/core/svg/graphics/filters/SVGFilter.cpp \ 251 third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp \ 252 third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp \ 253 third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.cpp 254 255 256# Flags passed to both C and C++ files. 257MY_CFLAGS_Debug := \ 258 -fstack-protector \ 259 --param=ssp-buffer-size=4 \ 260 -Werror \ 261 -fno-strict-aliasing \ 262 -Wall \ 263 -Wno-unused-parameter \ 264 -Wno-missing-field-initializers \ 265 -fvisibility=hidden \ 266 -pipe \ 267 -fPIC \ 268 -Wno-unused-local-typedefs \ 269 -fno-tree-sra \ 270 -fno-caller-saves \ 271 -Wno-psabi \ 272 -fno-partial-inlining \ 273 -fno-early-inlining \ 274 -fno-tree-copy-prop \ 275 -fno-tree-loop-optimize \ 276 -fno-move-loop-invariants \ 277 -ffunction-sections \ 278 -funwind-tables \ 279 -g \ 280 -fstack-protector \ 281 -fno-short-enums \ 282 -finline-limit=64 \ 283 -Wa,--noexecstack \ 284 -U_FORTIFY_SOURCE \ 285 -Wno-extra \ 286 -Wno-ignored-qualifiers \ 287 -Wno-type-limits \ 288 -Wno-unused-but-set-variable \ 289 -Os \ 290 -g \ 291 -gdwarf-4 \ 292 -fdata-sections \ 293 -ffunction-sections \ 294 -fomit-frame-pointer \ 295 -funwind-tables 296 297MY_DEFS_Debug := \ 298 '-DV8_DEPRECATION_WARNINGS' \ 299 '-D_FILE_OFFSET_BITS=64' \ 300 '-DNO_TCMALLOC' \ 301 '-DDISABLE_NACL' \ 302 '-DCHROMIUM_BUILD' \ 303 '-DUSE_LIBJPEG_TURBO=1' \ 304 '-DENABLE_WEBRTC=1' \ 305 '-DUSE_PROPRIETARY_CODECS' \ 306 '-DENABLE_BROWSER_CDMS' \ 307 '-DENABLE_CONFIGURATION_POLICY' \ 308 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 309 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 310 '-DENABLE_EGLIMAGE=1' \ 311 '-DCLD_VERSION=1' \ 312 '-DENABLE_PRINTING=1' \ 313 '-DENABLE_MANAGED_USERS=1' \ 314 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 315 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 316 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 317 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 318 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 319 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 320 '-DVIDEO_HOLE=1' \ 321 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 322 '-DBLINK_IMPLEMENTATION=1' \ 323 '-DINSIDE_BLINK' \ 324 '-DENABLE_SVG_FONTS=1' \ 325 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 326 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 327 '-DENABLE_WEB_AUDIO=1' \ 328 '-DENABLE_OPENTYPE_VERTICAL=1' \ 329 '-DU_USING_ICU_NAMESPACE=0' \ 330 '-DU_ENABLE_DYLOAD=0' \ 331 '-DSK_ENABLE_INST_COUNT=0' \ 332 '-DSK_SUPPORT_GPU=1' \ 333 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 334 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 335 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 336 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 337 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 338 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 339 '-DSK_BUILD_FOR_ANDROID' \ 340 '-DSK_USE_POSIX_THREADS' \ 341 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 342 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 343 '-DCHROME_PNG_WRITE_SUPPORT' \ 344 '-DPNG_USER_CONFIG' \ 345 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 346 '-DLIBXML_STATIC' \ 347 '-DLIBXSLT_STATIC' \ 348 '-DUSE_OPENSSL=1' \ 349 '-DUSE_OPENSSL_CERTS=1' \ 350 '-D__STDC_CONSTANT_MACROS' \ 351 '-D__STDC_FORMAT_MACROS' \ 352 '-DANDROID' \ 353 '-D__GNU_SOURCE=1' \ 354 '-DUSE_STLPORT=1' \ 355 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 356 '-DCHROME_BUILD_ID=""' \ 357 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 358 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 359 '-D_DEBUG' 360 361 362# Include paths placed before CFLAGS/CPPFLAGS 363LOCAL_C_INCLUDES_Debug := \ 364 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 365 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 366 $(gyp_shared_intermediate_dir) \ 367 $(LOCAL_PATH)/third_party/WebKit/Source \ 368 $(LOCAL_PATH) \ 369 $(LOCAL_PATH)/skia/config \ 370 $(LOCAL_PATH)/third_party/khronos \ 371 $(LOCAL_PATH)/gpu \ 372 $(gyp_shared_intermediate_dir)/blink \ 373 $(LOCAL_PATH)/third_party/openmax_dl \ 374 $(LOCAL_PATH)/third_party/angle/include \ 375 $(PWD)/external/icu/icu4c/source/common \ 376 $(PWD)/external/icu/icu4c/source/i18n \ 377 $(LOCAL_PATH)/third_party/WebKit \ 378 $(LOCAL_PATH)/third_party/skia/src/core \ 379 $(LOCAL_PATH)/third_party/skia/include/core \ 380 $(LOCAL_PATH)/third_party/skia/include/effects \ 381 $(LOCAL_PATH)/third_party/skia/include/pdf \ 382 $(LOCAL_PATH)/third_party/skia/include/gpu \ 383 $(LOCAL_PATH)/third_party/skia/include/lazy \ 384 $(LOCAL_PATH)/third_party/skia/include/pathops \ 385 $(LOCAL_PATH)/third_party/skia/include/pipe \ 386 $(LOCAL_PATH)/third_party/skia/include/ports \ 387 $(LOCAL_PATH)/third_party/skia/include/utils \ 388 $(LOCAL_PATH)/skia/ext \ 389 $(LOCAL_PATH)/third_party/iccjpeg \ 390 $(LOCAL_PATH)/third_party/libpng \ 391 $(LOCAL_PATH)/third_party/libwebp \ 392 $(LOCAL_PATH)/third_party/libxml/linux/include \ 393 $(LOCAL_PATH)/third_party/libxml/src/include \ 394 $(LOCAL_PATH)/third_party/libxslt \ 395 $(LOCAL_PATH)/third_party/npapi \ 396 $(LOCAL_PATH)/third_party/npapi/bindings \ 397 $(LOCAL_PATH)/third_party/ots/include \ 398 $(LOCAL_PATH)/third_party/qcms/src \ 399 $(LOCAL_PATH)/third_party/sqlite \ 400 $(LOCAL_PATH)/third_party/zlib \ 401 $(LOCAL_PATH)/v8/include \ 402 $(PWD)/frameworks/wilhelm/include \ 403 $(PWD)/bionic \ 404 $(PWD)/external/stlport/stlport 405 406 407# Flags passed to only C++ (and not C) files. 408LOCAL_CPPFLAGS_Debug := \ 409 -fno-exceptions \ 410 -fno-rtti \ 411 -fno-threadsafe-statics \ 412 -fvisibility-inlines-hidden \ 413 -Wsign-compare \ 414 -Wno-c++0x-compat \ 415 -Wno-abi \ 416 -std=gnu++11 \ 417 -Wno-narrowing \ 418 -Wno-literal-suffix \ 419 -Wno-non-virtual-dtor \ 420 -Wno-sign-promo 421 422 423# Flags passed to both C and C++ files. 424MY_CFLAGS_Release := \ 425 -fstack-protector \ 426 --param=ssp-buffer-size=4 \ 427 -Werror \ 428 -fno-strict-aliasing \ 429 -Wall \ 430 -Wno-unused-parameter \ 431 -Wno-missing-field-initializers \ 432 -fvisibility=hidden \ 433 -pipe \ 434 -fPIC \ 435 -Wno-unused-local-typedefs \ 436 -fno-tree-sra \ 437 -fno-caller-saves \ 438 -Wno-psabi \ 439 -fno-partial-inlining \ 440 -fno-early-inlining \ 441 -fno-tree-copy-prop \ 442 -fno-tree-loop-optimize \ 443 -fno-move-loop-invariants \ 444 -ffunction-sections \ 445 -funwind-tables \ 446 -g \ 447 -fstack-protector \ 448 -fno-short-enums \ 449 -finline-limit=64 \ 450 -Wa,--noexecstack \ 451 -U_FORTIFY_SOURCE \ 452 -Wno-extra \ 453 -Wno-ignored-qualifiers \ 454 -Wno-type-limits \ 455 -Wno-unused-but-set-variable \ 456 -Os \ 457 -fno-ident \ 458 -fdata-sections \ 459 -ffunction-sections \ 460 -fomit-frame-pointer \ 461 -funwind-tables 462 463MY_DEFS_Release := \ 464 '-DV8_DEPRECATION_WARNINGS' \ 465 '-D_FILE_OFFSET_BITS=64' \ 466 '-DNO_TCMALLOC' \ 467 '-DDISABLE_NACL' \ 468 '-DCHROMIUM_BUILD' \ 469 '-DUSE_LIBJPEG_TURBO=1' \ 470 '-DENABLE_WEBRTC=1' \ 471 '-DUSE_PROPRIETARY_CODECS' \ 472 '-DENABLE_BROWSER_CDMS' \ 473 '-DENABLE_CONFIGURATION_POLICY' \ 474 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 475 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 476 '-DENABLE_EGLIMAGE=1' \ 477 '-DCLD_VERSION=1' \ 478 '-DENABLE_PRINTING=1' \ 479 '-DENABLE_MANAGED_USERS=1' \ 480 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 481 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 482 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 483 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 484 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 485 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 486 '-DVIDEO_HOLE=1' \ 487 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 488 '-DBLINK_IMPLEMENTATION=1' \ 489 '-DINSIDE_BLINK' \ 490 '-DENABLE_SVG_FONTS=1' \ 491 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 492 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 493 '-DENABLE_WEB_AUDIO=1' \ 494 '-DENABLE_OPENTYPE_VERTICAL=1' \ 495 '-DU_USING_ICU_NAMESPACE=0' \ 496 '-DU_ENABLE_DYLOAD=0' \ 497 '-DSK_ENABLE_INST_COUNT=0' \ 498 '-DSK_SUPPORT_GPU=1' \ 499 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 500 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 501 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 502 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 503 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 504 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 505 '-DSK_BUILD_FOR_ANDROID' \ 506 '-DSK_USE_POSIX_THREADS' \ 507 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 508 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 509 '-DCHROME_PNG_WRITE_SUPPORT' \ 510 '-DPNG_USER_CONFIG' \ 511 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 512 '-DLIBXML_STATIC' \ 513 '-DLIBXSLT_STATIC' \ 514 '-DUSE_OPENSSL=1' \ 515 '-DUSE_OPENSSL_CERTS=1' \ 516 '-D__STDC_CONSTANT_MACROS' \ 517 '-D__STDC_FORMAT_MACROS' \ 518 '-DANDROID' \ 519 '-D__GNU_SOURCE=1' \ 520 '-DUSE_STLPORT=1' \ 521 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 522 '-DCHROME_BUILD_ID=""' \ 523 '-DNDEBUG' \ 524 '-DNVALGRIND' \ 525 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 526 '-D_FORTIFY_SOURCE=2' 527 528 529# Include paths placed before CFLAGS/CPPFLAGS 530LOCAL_C_INCLUDES_Release := \ 531 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 532 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 533 $(gyp_shared_intermediate_dir) \ 534 $(LOCAL_PATH)/third_party/WebKit/Source \ 535 $(LOCAL_PATH) \ 536 $(LOCAL_PATH)/skia/config \ 537 $(LOCAL_PATH)/third_party/khronos \ 538 $(LOCAL_PATH)/gpu \ 539 $(gyp_shared_intermediate_dir)/blink \ 540 $(LOCAL_PATH)/third_party/openmax_dl \ 541 $(LOCAL_PATH)/third_party/angle/include \ 542 $(PWD)/external/icu/icu4c/source/common \ 543 $(PWD)/external/icu/icu4c/source/i18n \ 544 $(LOCAL_PATH)/third_party/WebKit \ 545 $(LOCAL_PATH)/third_party/skia/src/core \ 546 $(LOCAL_PATH)/third_party/skia/include/core \ 547 $(LOCAL_PATH)/third_party/skia/include/effects \ 548 $(LOCAL_PATH)/third_party/skia/include/pdf \ 549 $(LOCAL_PATH)/third_party/skia/include/gpu \ 550 $(LOCAL_PATH)/third_party/skia/include/lazy \ 551 $(LOCAL_PATH)/third_party/skia/include/pathops \ 552 $(LOCAL_PATH)/third_party/skia/include/pipe \ 553 $(LOCAL_PATH)/third_party/skia/include/ports \ 554 $(LOCAL_PATH)/third_party/skia/include/utils \ 555 $(LOCAL_PATH)/skia/ext \ 556 $(LOCAL_PATH)/third_party/iccjpeg \ 557 $(LOCAL_PATH)/third_party/libpng \ 558 $(LOCAL_PATH)/third_party/libwebp \ 559 $(LOCAL_PATH)/third_party/libxml/linux/include \ 560 $(LOCAL_PATH)/third_party/libxml/src/include \ 561 $(LOCAL_PATH)/third_party/libxslt \ 562 $(LOCAL_PATH)/third_party/npapi \ 563 $(LOCAL_PATH)/third_party/npapi/bindings \ 564 $(LOCAL_PATH)/third_party/ots/include \ 565 $(LOCAL_PATH)/third_party/qcms/src \ 566 $(LOCAL_PATH)/third_party/sqlite \ 567 $(LOCAL_PATH)/third_party/zlib \ 568 $(LOCAL_PATH)/v8/include \ 569 $(PWD)/frameworks/wilhelm/include \ 570 $(PWD)/bionic \ 571 $(PWD)/external/stlport/stlport 572 573 574# Flags passed to only C++ (and not C) files. 575LOCAL_CPPFLAGS_Release := \ 576 -fno-exceptions \ 577 -fno-rtti \ 578 -fno-threadsafe-statics \ 579 -fvisibility-inlines-hidden \ 580 -Wsign-compare \ 581 -Wno-c++0x-compat \ 582 -Wno-abi \ 583 -std=gnu++11 \ 584 -Wno-narrowing \ 585 -Wno-literal-suffix \ 586 -Wno-non-virtual-dtor \ 587 -Wno-sign-promo 588 589 590LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 591LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 592LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 593LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 594### Rules for final target. 595 596LOCAL_SHARED_LIBRARIES := \ 597 libstlport \ 598 libdl 599 600# Add target alias to "gyp_all_modules" target. 601.PHONY: gyp_all_modules 602gyp_all_modules: third_party_WebKit_Source_core_webcore_svg_gyp 603 604# Alias gyp target name. 605.PHONY: webcore_svg 606webcore_svg: third_party_WebKit_Source_core_webcore_svg_gyp 607 608include $(BUILD_STATIC_LIBRARY) 609