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_WebKit_Source_core_webcore_svg_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 $(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 17 GYP_GENERATED_OUTPUTS := 18 19 # Make sure our deps and generated files are built first. 20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22 LOCAL_GENERATED_SOURCES := 23 24 GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26 LOCAL_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. 257 MY_CFLAGS_Debug := \ 258 --param=ssp-buffer-size=4 \ 259 -Werror \ 260 -fno-strict-aliasing \ 261 -Wall \ 262 -Wno-unused-parameter \ 263 -Wno-missing-field-initializers \ 264 -fvisibility=hidden \ 265 -pipe \ 266 -fPIC \ 267 -Wno-unused-local-typedefs \ 268 -msse2 \ 269 -mfpmath=sse \ 270 -mmmx \ 271 -m32 \ 272 -ffunction-sections \ 273 -funwind-tables \ 274 -g \ 275 -fno-short-enums \ 276 -finline-limit=64 \ 277 -Wa,--noexecstack \ 278 -U_FORTIFY_SOURCE \ 279 -Wno-extra \ 280 -Wno-ignored-qualifiers \ 281 -Wno-type-limits \ 282 -Wno-unused-but-set-variable \ 283 -fno-stack-protector \ 284 -Os \ 285 -g \ 286 -gdwarf-4 \ 287 -fdata-sections \ 288 -ffunction-sections \ 289 -fomit-frame-pointer \ 290 -funwind-tables 291 292 MY_DEFS_Debug := \ 293 '-DV8_DEPRECATION_WARNINGS' \ 294 '-D_FILE_OFFSET_BITS=64' \ 295 '-DNO_TCMALLOC' \ 296 '-DDISABLE_NACL' \ 297 '-DCHROMIUM_BUILD' \ 298 '-DUSE_LIBJPEG_TURBO=1' \ 299 '-DENABLE_WEBRTC=1' \ 300 '-DUSE_PROPRIETARY_CODECS' \ 301 '-DENABLE_BROWSER_CDMS' \ 302 '-DENABLE_CONFIGURATION_POLICY' \ 303 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 304 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 305 '-DENABLE_EGLIMAGE=1' \ 306 '-DCLD_VERSION=1' \ 307 '-DENABLE_PRINTING=1' \ 308 '-DENABLE_MANAGED_USERS=1' \ 309 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 310 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 311 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 312 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 313 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 314 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 315 '-DVIDEO_HOLE=1' \ 316 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 317 '-DBLINK_IMPLEMENTATION=1' \ 318 '-DINSIDE_BLINK' \ 319 '-DENABLE_SVG_FONTS=1' \ 320 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 321 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 322 '-DENABLE_WEB_AUDIO=1' \ 323 '-DENABLE_OPENTYPE_VERTICAL=1' \ 324 '-DU_USING_ICU_NAMESPACE=0' \ 325 '-DU_ENABLE_DYLOAD=0' \ 326 '-DSK_ENABLE_INST_COUNT=0' \ 327 '-DSK_SUPPORT_GPU=1' \ 328 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 329 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 330 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 331 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 332 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 333 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 334 '-DSK_BUILD_FOR_ANDROID' \ 335 '-DSK_USE_POSIX_THREADS' \ 336 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 337 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 338 '-DCHROME_PNG_WRITE_SUPPORT' \ 339 '-DPNG_USER_CONFIG' \ 340 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 341 '-DLIBXML_STATIC' \ 342 '-DLIBXSLT_STATIC' \ 343 '-DUSE_OPENSSL=1' \ 344 '-DUSE_OPENSSL_CERTS=1' \ 345 '-D__STDC_CONSTANT_MACROS' \ 346 '-D__STDC_FORMAT_MACROS' \ 347 '-DANDROID' \ 348 '-D__GNU_SOURCE=1' \ 349 '-DUSE_STLPORT=1' \ 350 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 351 '-DCHROME_BUILD_ID=""' \ 352 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 353 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 354 '-D_DEBUG' 355 356 357 # Include paths placed before CFLAGS/CPPFLAGS 358 LOCAL_C_INCLUDES_Debug := \ 359 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 360 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 361 $(gyp_shared_intermediate_dir) \ 362 $(LOCAL_PATH)/third_party/WebKit/Source \ 363 $(LOCAL_PATH) \ 364 $(LOCAL_PATH)/skia/config \ 365 $(LOCAL_PATH)/third_party/khronos \ 366 $(LOCAL_PATH)/gpu \ 367 $(gyp_shared_intermediate_dir)/blink \ 368 $(LOCAL_PATH)/third_party/openmax_dl \ 369 $(LOCAL_PATH)/third_party/angle/include \ 370 $(PWD)/external/icu/icu4c/source/common \ 371 $(PWD)/external/icu/icu4c/source/i18n \ 372 $(LOCAL_PATH)/third_party/WebKit \ 373 $(LOCAL_PATH)/third_party/skia/src/core \ 374 $(LOCAL_PATH)/third_party/skia/include/core \ 375 $(LOCAL_PATH)/third_party/skia/include/effects \ 376 $(LOCAL_PATH)/third_party/skia/include/pdf \ 377 $(LOCAL_PATH)/third_party/skia/include/gpu \ 378 $(LOCAL_PATH)/third_party/skia/include/lazy \ 379 $(LOCAL_PATH)/third_party/skia/include/pathops \ 380 $(LOCAL_PATH)/third_party/skia/include/pipe \ 381 $(LOCAL_PATH)/third_party/skia/include/ports \ 382 $(LOCAL_PATH)/third_party/skia/include/utils \ 383 $(LOCAL_PATH)/skia/ext \ 384 $(LOCAL_PATH)/third_party/iccjpeg \ 385 $(LOCAL_PATH)/third_party/libpng \ 386 $(LOCAL_PATH)/third_party/libwebp \ 387 $(LOCAL_PATH)/third_party/libxml/linux/include \ 388 $(LOCAL_PATH)/third_party/libxml/src/include \ 389 $(LOCAL_PATH)/third_party/libxslt \ 390 $(LOCAL_PATH)/third_party/npapi \ 391 $(LOCAL_PATH)/third_party/npapi/bindings \ 392 $(LOCAL_PATH)/third_party/ots/include \ 393 $(LOCAL_PATH)/third_party/qcms/src \ 394 $(LOCAL_PATH)/third_party/sqlite \ 395 $(LOCAL_PATH)/third_party/zlib \ 396 $(LOCAL_PATH)/v8/include \ 397 $(PWD)/frameworks/wilhelm/include \ 398 $(PWD)/bionic \ 399 $(PWD)/external/stlport/stlport 400 401 402 # Flags passed to only C++ (and not C) files. 403 LOCAL_CPPFLAGS_Debug := \ 404 -fno-exceptions \ 405 -fno-rtti \ 406 -fno-threadsafe-statics \ 407 -fvisibility-inlines-hidden \ 408 -Wsign-compare \ 409 -Wno-c++0x-compat \ 410 -std=gnu++11 \ 411 -Wno-narrowing \ 412 -Wno-literal-suffix \ 413 -Wno-non-virtual-dtor \ 414 -Wno-sign-promo 415 416 417 # Flags passed to both C and C++ files. 418 MY_CFLAGS_Release := \ 419 --param=ssp-buffer-size=4 \ 420 -Werror \ 421 -fno-strict-aliasing \ 422 -Wall \ 423 -Wno-unused-parameter \ 424 -Wno-missing-field-initializers \ 425 -fvisibility=hidden \ 426 -pipe \ 427 -fPIC \ 428 -Wno-unused-local-typedefs \ 429 -msse2 \ 430 -mfpmath=sse \ 431 -mmmx \ 432 -m32 \ 433 -ffunction-sections \ 434 -funwind-tables \ 435 -g \ 436 -fno-short-enums \ 437 -finline-limit=64 \ 438 -Wa,--noexecstack \ 439 -U_FORTIFY_SOURCE \ 440 -Wno-extra \ 441 -Wno-ignored-qualifiers \ 442 -Wno-type-limits \ 443 -Wno-unused-but-set-variable \ 444 -fno-stack-protector \ 445 -Os \ 446 -fno-ident \ 447 -fdata-sections \ 448 -ffunction-sections \ 449 -fomit-frame-pointer \ 450 -funwind-tables 451 452 MY_DEFS_Release := \ 453 '-DV8_DEPRECATION_WARNINGS' \ 454 '-D_FILE_OFFSET_BITS=64' \ 455 '-DNO_TCMALLOC' \ 456 '-DDISABLE_NACL' \ 457 '-DCHROMIUM_BUILD' \ 458 '-DUSE_LIBJPEG_TURBO=1' \ 459 '-DENABLE_WEBRTC=1' \ 460 '-DUSE_PROPRIETARY_CODECS' \ 461 '-DENABLE_BROWSER_CDMS' \ 462 '-DENABLE_CONFIGURATION_POLICY' \ 463 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 464 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 465 '-DENABLE_EGLIMAGE=1' \ 466 '-DCLD_VERSION=1' \ 467 '-DENABLE_PRINTING=1' \ 468 '-DENABLE_MANAGED_USERS=1' \ 469 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 470 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 471 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 472 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 473 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 474 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 475 '-DVIDEO_HOLE=1' \ 476 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 477 '-DBLINK_IMPLEMENTATION=1' \ 478 '-DINSIDE_BLINK' \ 479 '-DENABLE_SVG_FONTS=1' \ 480 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 481 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 482 '-DENABLE_WEB_AUDIO=1' \ 483 '-DENABLE_OPENTYPE_VERTICAL=1' \ 484 '-DU_USING_ICU_NAMESPACE=0' \ 485 '-DU_ENABLE_DYLOAD=0' \ 486 '-DSK_ENABLE_INST_COUNT=0' \ 487 '-DSK_SUPPORT_GPU=1' \ 488 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 489 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 490 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 491 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 492 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 493 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 494 '-DSK_BUILD_FOR_ANDROID' \ 495 '-DSK_USE_POSIX_THREADS' \ 496 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 497 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 498 '-DCHROME_PNG_WRITE_SUPPORT' \ 499 '-DPNG_USER_CONFIG' \ 500 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 501 '-DLIBXML_STATIC' \ 502 '-DLIBXSLT_STATIC' \ 503 '-DUSE_OPENSSL=1' \ 504 '-DUSE_OPENSSL_CERTS=1' \ 505 '-D__STDC_CONSTANT_MACROS' \ 506 '-D__STDC_FORMAT_MACROS' \ 507 '-DANDROID' \ 508 '-D__GNU_SOURCE=1' \ 509 '-DUSE_STLPORT=1' \ 510 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 511 '-DCHROME_BUILD_ID=""' \ 512 '-DNDEBUG' \ 513 '-DNVALGRIND' \ 514 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 515 '-D_FORTIFY_SOURCE=2' 516 517 518 # Include paths placed before CFLAGS/CPPFLAGS 519 LOCAL_C_INCLUDES_Release := \ 520 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 521 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 522 $(gyp_shared_intermediate_dir) \ 523 $(LOCAL_PATH)/third_party/WebKit/Source \ 524 $(LOCAL_PATH) \ 525 $(LOCAL_PATH)/skia/config \ 526 $(LOCAL_PATH)/third_party/khronos \ 527 $(LOCAL_PATH)/gpu \ 528 $(gyp_shared_intermediate_dir)/blink \ 529 $(LOCAL_PATH)/third_party/openmax_dl \ 530 $(LOCAL_PATH)/third_party/angle/include \ 531 $(PWD)/external/icu/icu4c/source/common \ 532 $(PWD)/external/icu/icu4c/source/i18n \ 533 $(LOCAL_PATH)/third_party/WebKit \ 534 $(LOCAL_PATH)/third_party/skia/src/core \ 535 $(LOCAL_PATH)/third_party/skia/include/core \ 536 $(LOCAL_PATH)/third_party/skia/include/effects \ 537 $(LOCAL_PATH)/third_party/skia/include/pdf \ 538 $(LOCAL_PATH)/third_party/skia/include/gpu \ 539 $(LOCAL_PATH)/third_party/skia/include/lazy \ 540 $(LOCAL_PATH)/third_party/skia/include/pathops \ 541 $(LOCAL_PATH)/third_party/skia/include/pipe \ 542 $(LOCAL_PATH)/third_party/skia/include/ports \ 543 $(LOCAL_PATH)/third_party/skia/include/utils \ 544 $(LOCAL_PATH)/skia/ext \ 545 $(LOCAL_PATH)/third_party/iccjpeg \ 546 $(LOCAL_PATH)/third_party/libpng \ 547 $(LOCAL_PATH)/third_party/libwebp \ 548 $(LOCAL_PATH)/third_party/libxml/linux/include \ 549 $(LOCAL_PATH)/third_party/libxml/src/include \ 550 $(LOCAL_PATH)/third_party/libxslt \ 551 $(LOCAL_PATH)/third_party/npapi \ 552 $(LOCAL_PATH)/third_party/npapi/bindings \ 553 $(LOCAL_PATH)/third_party/ots/include \ 554 $(LOCAL_PATH)/third_party/qcms/src \ 555 $(LOCAL_PATH)/third_party/sqlite \ 556 $(LOCAL_PATH)/third_party/zlib \ 557 $(LOCAL_PATH)/v8/include \ 558 $(PWD)/frameworks/wilhelm/include \ 559 $(PWD)/bionic \ 560 $(PWD)/external/stlport/stlport 561 562 563 # Flags passed to only C++ (and not C) files. 564 LOCAL_CPPFLAGS_Release := \ 565 -fno-exceptions \ 566 -fno-rtti \ 567 -fno-threadsafe-statics \ 568 -fvisibility-inlines-hidden \ 569 -Wsign-compare \ 570 -Wno-c++0x-compat \ 571 -std=gnu++11 \ 572 -Wno-narrowing \ 573 -Wno-literal-suffix \ 574 -Wno-non-virtual-dtor \ 575 -Wno-sign-promo 576 577 578 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 579 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 580 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 581 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 582 ### Rules for final target. 583 584 LOCAL_SHARED_LIBRARIES := \ 585 libstlport \ 586 libdl 587 588 # Add target alias to "gyp_all_modules" target. 589 .PHONY: gyp_all_modules 590 gyp_all_modules: third_party_WebKit_Source_core_webcore_svg_gyp 591 592 # Alias gyp target name. 593 .PHONY: webcore_svg 594 webcore_svg: third_party_WebKit_Source_core_webcore_svg_gyp 595 596 include $(BUILD_STATIC_LIBRARY) 597