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