Home | History | Annotate | Download | only in core
      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_TAGS := optional
      9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
     10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     12 
     13 # Make sure our deps are built first.
     14 GYP_TARGET_DEPENDENCIES := \
     15 	$(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_prerequisites_gyp,,,$(GYP_VAR_PREFIX))/webcore_prerequisites.stamp \
     16 	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a
     17 
     18 GYP_GENERATED_OUTPUTS :=
     19 
     20 # Make sure our deps and generated files are built first.
     21 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     22 
     23 LOCAL_GENERATED_SOURCES :=
     24 
     25 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     26 
     27 LOCAL_SRC_FILES := \
     28 	third_party/WebKit/Source/core/rendering/style/SVGRenderStyle.cpp \
     29 	third_party/WebKit/Source/core/rendering/style/SVGRenderStyleDefs.cpp \
     30 	third_party/WebKit/Source/core/rendering/svg/ReferenceFilterBuilder.cpp \
     31 	third_party/WebKit/Source/core/rendering/svg/RenderSVGBlock.cpp \
     32 	third_party/WebKit/Source/core/rendering/svg/RenderSVGContainer.cpp \
     33 	third_party/WebKit/Source/core/rendering/svg/RenderSVGEllipse.cpp \
     34 	third_party/WebKit/Source/core/rendering/svg/RenderSVGForeignObject.cpp \
     35 	third_party/WebKit/Source/core/rendering/svg/RenderSVGGradientStop.cpp \
     36 	third_party/WebKit/Source/core/rendering/svg/RenderSVGHiddenContainer.cpp \
     37 	third_party/WebKit/Source/core/rendering/svg/RenderSVGImage.cpp \
     38 	third_party/WebKit/Source/core/rendering/svg/RenderSVGInline.cpp \
     39 	third_party/WebKit/Source/core/rendering/svg/RenderSVGInlineText.cpp \
     40 	third_party/WebKit/Source/core/rendering/svg/RenderSVGModelObject.cpp \
     41 	third_party/WebKit/Source/core/rendering/svg/RenderSVGPath.cpp \
     42 	third_party/WebKit/Source/core/rendering/svg/RenderSVGRect.cpp \
     43 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResource.cpp \
     44 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceClipper.cpp \
     45 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceContainer.cpp \
     46 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceFilter.cpp \
     47 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.cpp \
     48 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceGradient.cpp \
     49 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceLinearGradient.cpp \
     50 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceMarker.cpp \
     51 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceMasker.cpp \
     52 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourcePattern.cpp \
     53 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp \
     54 	third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp \
     55 	third_party/WebKit/Source/core/rendering/svg/RenderSVGRoot.cpp \
     56 	third_party/WebKit/Source/core/rendering/svg/RenderSVGShape.cpp \
     57 	third_party/WebKit/Source/core/rendering/svg/RenderSVGTSpan.cpp \
     58 	third_party/WebKit/Source/core/rendering/svg/RenderSVGText.cpp \
     59 	third_party/WebKit/Source/core/rendering/svg/RenderSVGTextPath.cpp \
     60 	third_party/WebKit/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp \
     61 	third_party/WebKit/Source/core/rendering/svg/RenderSVGViewportContainer.cpp \
     62 	third_party/WebKit/Source/core/rendering/svg/SVGInlineFlowBox.cpp \
     63 	third_party/WebKit/Source/core/rendering/svg/SVGInlineTextBox.cpp \
     64 	third_party/WebKit/Source/core/rendering/svg/SVGPathData.cpp \
     65 	third_party/WebKit/Source/core/rendering/svg/SVGRenderSupport.cpp \
     66 	third_party/WebKit/Source/core/rendering/svg/SVGRenderTreeAsText.cpp \
     67 	third_party/WebKit/Source/core/rendering/svg/SVGRenderingContext.cpp \
     68 	third_party/WebKit/Source/core/rendering/svg/SVGResources.cpp \
     69 	third_party/WebKit/Source/core/rendering/svg/SVGResourcesCache.cpp \
     70 	third_party/WebKit/Source/core/rendering/svg/SVGResourcesCycleSolver.cpp \
     71 	third_party/WebKit/Source/core/rendering/svg/SVGRootInlineBox.cpp \
     72 	third_party/WebKit/Source/core/rendering/svg/SVGTextChunk.cpp \
     73 	third_party/WebKit/Source/core/rendering/svg/SVGTextChunkBuilder.cpp \
     74 	third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutAttributes.cpp \
     75 	third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp \
     76 	third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngine.cpp \
     77 	third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp \
     78 	third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp \
     79 	third_party/WebKit/Source/core/rendering/svg/SVGTextMetrics.cpp \
     80 	third_party/WebKit/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp \
     81 	third_party/WebKit/Source/core/rendering/svg/SVGTextQuery.cpp \
     82 	third_party/WebKit/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp \
     83 	third_party/WebKit/Source/core/svg/ColorDistance.cpp \
     84 	third_party/WebKit/Source/core/svg/SVGAElement.cpp \
     85 	third_party/WebKit/Source/core/svg/SVGAltGlyphDefElement.cpp \
     86 	third_party/WebKit/Source/core/svg/SVGAltGlyphElement.cpp \
     87 	third_party/WebKit/Source/core/svg/SVGAltGlyphItemElement.cpp \
     88 	third_party/WebKit/Source/core/svg/SVGAngle.cpp \
     89 	third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp \
     90 	third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp \
     91 	third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp \
     92 	third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp \
     93 	third_party/WebKit/Source/core/svg/SVGAnimatedAngle.cpp \
     94 	third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp \
     95 	third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp \
     96 	third_party/WebKit/Source/core/svg/SVGAnimatedInteger.cpp \
     97 	third_party/WebKit/Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp \
     98 	third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp \
     99 	third_party/WebKit/Source/core/svg/SVGAnimatedNumber.cpp \
    100 	third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp \
    101 	third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp \
    102 	third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp \
    103 	third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp \
    104 	third_party/WebKit/Source/core/svg/SVGBoolean.cpp \
    105 	third_party/WebKit/Source/core/svg/SVGCircleElement.cpp \
    106 	third_party/WebKit/Source/core/svg/SVGClipPathElement.cpp \
    107 	third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp \
    108 	third_party/WebKit/Source/core/svg/SVGCursorElement.cpp \
    109 	third_party/WebKit/Source/core/svg/SVGDefsElement.cpp \
    110 	third_party/WebKit/Source/core/svg/SVGDescElement.cpp \
    111 	third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp \
    112 	third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp \
    113 	third_party/WebKit/Source/core/svg/SVGElement.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/SVGPaint.cpp \
    182 	third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp \
    183 	third_party/WebKit/Source/core/svg/SVGPathBlender.cpp \
    184 	third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp \
    185 	third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.cpp \
    186 	third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp \
    187 	third_party/WebKit/Source/core/svg/SVGPathElement.cpp \
    188 	third_party/WebKit/Source/core/svg/SVGPathParser.cpp \
    189 	third_party/WebKit/Source/core/svg/SVGPathSeg.cpp \
    190 	third_party/WebKit/Source/core/svg/SVGPathSegList.cpp \
    191 	third_party/WebKit/Source/core/svg/SVGPathSegListBuilder.cpp \
    192 	third_party/WebKit/Source/core/svg/SVGPathSegListSource.cpp \
    193 	third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp \
    194 	third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp \
    195 	third_party/WebKit/Source/core/svg/SVGPathTraversalStateBuilder.cpp \
    196 	third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp \
    197 	third_party/WebKit/Source/core/svg/SVGPatternElement.cpp \
    198 	third_party/WebKit/Source/core/svg/SVGPoint.cpp \
    199 	third_party/WebKit/Source/core/svg/SVGPointList.cpp \
    200 	third_party/WebKit/Source/core/svg/SVGPointTearOff.cpp \
    201 	third_party/WebKit/Source/core/svg/SVGPolyElement.cpp \
    202 	third_party/WebKit/Source/core/svg/SVGPolygonElement.cpp \
    203 	third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp \
    204 	third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp \
    205 	third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp \
    206 	third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp \
    207 	third_party/WebKit/Source/core/svg/SVGRect.cpp \
    208 	third_party/WebKit/Source/core/svg/SVGRectElement.cpp \
    209 	third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp \
    210 	third_party/WebKit/Source/core/svg/SVGRemoteFontFaceSource.cpp \
    211 	third_party/WebKit/Source/core/svg/SVGSVGElement.cpp \
    212 	third_party/WebKit/Source/core/svg/SVGScriptElement.cpp \
    213 	third_party/WebKit/Source/core/svg/SVGSetElement.cpp \
    214 	third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp \
    215 	third_party/WebKit/Source/core/svg/SVGStopElement.cpp \
    216 	third_party/WebKit/Source/core/svg/SVGString.cpp \
    217 	third_party/WebKit/Source/core/svg/SVGStringList.cpp \
    218 	third_party/WebKit/Source/core/svg/SVGStringListTearOff.cpp \
    219 	third_party/WebKit/Source/core/svg/SVGStyleElement.cpp \
    220 	third_party/WebKit/Source/core/svg/SVGSwitchElement.cpp \
    221 	third_party/WebKit/Source/core/svg/SVGSymbolElement.cpp \
    222 	third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp \
    223 	third_party/WebKit/Source/core/svg/SVGTests.cpp \
    224 	third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp \
    225 	third_party/WebKit/Source/core/svg/SVGTextElement.cpp \
    226 	third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp \
    227 	third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp \
    228 	third_party/WebKit/Source/core/svg/SVGTitleElement.cpp \
    229 	third_party/WebKit/Source/core/svg/SVGTransform.cpp \
    230 	third_party/WebKit/Source/core/svg/SVGTransformDistance.cpp \
    231 	third_party/WebKit/Source/core/svg/SVGTransformList.cpp \
    232 	third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp \
    233 	third_party/WebKit/Source/core/svg/SVGTransformTearOff.cpp \
    234 	third_party/WebKit/Source/core/svg/SVGURIReference.cpp \
    235 	third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp \
    236 	third_party/WebKit/Source/core/svg/SVGUnknownElement.cpp \
    237 	third_party/WebKit/Source/core/svg/SVGUseElement.cpp \
    238 	third_party/WebKit/Source/core/svg/SVGVKernElement.cpp \
    239 	third_party/WebKit/Source/core/svg/SVGViewElement.cpp \
    240 	third_party/WebKit/Source/core/svg/SVGViewSpec.cpp \
    241 	third_party/WebKit/Source/core/svg/SVGZoomAndPan.cpp \
    242 	third_party/WebKit/Source/core/svg/SVGZoomEvent.cpp \
    243 	third_party/WebKit/Source/core/svg/animation/SMILTime.cpp \
    244 	third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp \
    245 	third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp \
    246 	third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp \
    247 	third_party/WebKit/Source/core/svg/graphics/SVGImageCache.cpp \
    248 	third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp \
    249 	third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp \
    250 	third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp \
    251 	third_party/WebKit/Source/core/svg/graphics/filters/SVGFilter.cpp \
    252 	third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp \
    253 	third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp \
    254 	third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.cpp
    255 
    256 
    257 # Flags passed to both C and C++ files.
    258 MY_CFLAGS_Debug := \
    259 	--param=ssp-buffer-size=4 \
    260 	-Werror \
    261 	-fno-exceptions \
    262 	-fno-strict-aliasing \
    263 	-Wall \
    264 	-Wno-unused-parameter \
    265 	-Wno-missing-field-initializers \
    266 	-fvisibility=hidden \
    267 	-pipe \
    268 	-fPIC \
    269 	-Wno-unused-local-typedefs \
    270 	-ffunction-sections \
    271 	-funwind-tables \
    272 	-g \
    273 	-fno-short-enums \
    274 	-finline-limit=64 \
    275 	-Wa,--noexecstack \
    276 	-U_FORTIFY_SOURCE \
    277 	-Wno-extra \
    278 	-Wno-ignored-qualifiers \
    279 	-Wno-type-limits \
    280 	-Wno-unused-but-set-variable \
    281 	-Os \
    282 	-g \
    283 	-fdata-sections \
    284 	-ffunction-sections \
    285 	-funwind-tables
    286 
    287 MY_DEFS_Debug := \
    288 	'-DV8_DEPRECATION_WARNINGS' \
    289 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    290 	'-D_FILE_OFFSET_BITS=64' \
    291 	'-DNO_TCMALLOC' \
    292 	'-DDISABLE_NACL' \
    293 	'-DCHROMIUM_BUILD' \
    294 	'-DUSE_LIBJPEG_TURBO=1' \
    295 	'-DENABLE_WEBRTC=1' \
    296 	'-DUSE_PROPRIETARY_CODECS' \
    297 	'-DENABLE_BROWSER_CDMS' \
    298 	'-DENABLE_CONFIGURATION_POLICY' \
    299 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    300 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    301 	'-DENABLE_EGLIMAGE=1' \
    302 	'-DCLD_VERSION=1' \
    303 	'-DENABLE_PRINTING=1' \
    304 	'-DENABLE_MANAGED_USERS=1' \
    305 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    306 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    307 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    308 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    309 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    310 	'-DVIDEO_HOLE=1' \
    311 	'-DBLINK_IMPLEMENTATION=1' \
    312 	'-DINSIDE_BLINK' \
    313 	'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
    314 	'-DENABLE_SVG_FONTS=1' \
    315 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
    316 	'-DENABLE_MEDIA_CAPTURE=1' \
    317 	'-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \
    318 	'-DENABLE_WEB_AUDIO=1' \
    319 	'-DENABLE_OPENTYPE_VERTICAL=1' \
    320 	'-DU_USING_ICU_NAMESPACE=0' \
    321 	'-DSK_ENABLE_INST_COUNT=0' \
    322 	'-DSK_SUPPORT_GPU=1' \
    323 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    324 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    325 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    326 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    327 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    328 	'-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
    329 	'-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \
    330 	'-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \
    331 	'-DSK_SUPPORT_LEGACY_N32_NAME' \
    332 	'-DSK_SUPPORT_LEGACY_SETCONFIG' \
    333 	'-DSK_IGNORE_ETC1_SUPPORT' \
    334 	'-DSK_IGNORE_GPU_DITHER' \
    335 	'-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
    336 	'-DSK_BUILD_FOR_ANDROID' \
    337 	'-DSK_USE_POSIX_THREADS' \
    338 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    339 	'-DCHROME_PNG_WRITE_SUPPORT' \
    340 	'-DPNG_USER_CONFIG' \
    341 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    342 	'-DLIBXML_STATIC' \
    343 	'-DLIBXSLT_STATIC' \
    344 	'-DUSE_OPENSSL=1' \
    345 	'-DUSE_OPENSSL_CERTS=1' \
    346 	'-D__STDC_CONSTANT_MACROS' \
    347 	'-D__STDC_FORMAT_MACROS' \
    348 	'-DANDROID' \
    349 	'-D__GNU_SOURCE=1' \
    350 	'-DUSE_STLPORT=1' \
    351 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    352 	'-DCHROME_BUILD_ID=""' \
    353 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    354 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    355 	'-D_DEBUG'
    356 
    357 
    358 # Include paths placed before CFLAGS/CPPFLAGS
    359 LOCAL_C_INCLUDES_Debug := \
    360 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    361 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    362 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    363 	$(gyp_shared_intermediate_dir) \
    364 	$(LOCAL_PATH)/third_party/WebKit/Source \
    365 	$(LOCAL_PATH) \
    366 	$(LOCAL_PATH)/skia/config \
    367 	$(LOCAL_PATH)/third_party/khronos \
    368 	$(LOCAL_PATH)/gpu \
    369 	$(gyp_shared_intermediate_dir)/blink/core \
    370 	$(gyp_shared_intermediate_dir)/blink/modules \
    371 	$(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \
    372 	$(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \
    373 	$(gyp_shared_intermediate_dir)/blink \
    374 	$(LOCAL_PATH)/third_party/openmax_dl \
    375 	$(LOCAL_PATH)/third_party/angle/include \
    376 	$(PWD)/external/icu/icu4c/source/common \
    377 	$(PWD)/external/icu/icu4c/source/i18n \
    378 	$(LOCAL_PATH)/third_party/WebKit \
    379 	$(LOCAL_PATH)/third_party/skia/src/core \
    380 	$(LOCAL_PATH)/third_party/skia/include/core \
    381 	$(LOCAL_PATH)/third_party/skia/include/effects \
    382 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    383 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    384 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    385 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    386 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    387 	$(LOCAL_PATH)/third_party/skia/include/ports \
    388 	$(LOCAL_PATH)/third_party/skia/include/utils \
    389 	$(LOCAL_PATH)/skia/ext \
    390 	$(LOCAL_PATH)/third_party/iccjpeg \
    391 	$(LOCAL_PATH)/third_party/libpng \
    392 	$(LOCAL_PATH)/third_party/libwebp \
    393 	$(LOCAL_PATH)/third_party/libxml/linux/include \
    394 	$(LOCAL_PATH)/third_party/libxml/src/include \
    395 	$(LOCAL_PATH)/third_party/libxslt \
    396 	$(LOCAL_PATH)/third_party/npapi \
    397 	$(LOCAL_PATH)/third_party/npapi/bindings \
    398 	$(LOCAL_PATH)/third_party/ots/include \
    399 	$(LOCAL_PATH)/third_party/qcms/src \
    400 	$(LOCAL_PATH)/third_party/sqlite \
    401 	$(LOCAL_PATH)/third_party/zlib \
    402 	$(LOCAL_PATH)/v8/include \
    403 	$(PWD)/frameworks/wilhelm/include \
    404 	$(PWD)/bionic \
    405 	$(PWD)/external/stlport/stlport
    406 
    407 
    408 # Flags passed to only C++ (and not C) files.
    409 LOCAL_CPPFLAGS_Debug := \
    410 	-fno-rtti \
    411 	-fno-threadsafe-statics \
    412 	-fvisibility-inlines-hidden \
    413 	-Wsign-compare \
    414 	-Wno-c++0x-compat \
    415 	-Wno-non-virtual-dtor \
    416 	-Wno-sign-promo
    417 
    418 
    419 LOCAL_FDO_SUPPORT_Debug := false
    420 
    421 # Flags passed to both C and C++ files.
    422 MY_CFLAGS_Release := \
    423 	--param=ssp-buffer-size=4 \
    424 	-Werror \
    425 	-fno-exceptions \
    426 	-fno-strict-aliasing \
    427 	-Wall \
    428 	-Wno-unused-parameter \
    429 	-Wno-missing-field-initializers \
    430 	-fvisibility=hidden \
    431 	-pipe \
    432 	-fPIC \
    433 	-Wno-unused-local-typedefs \
    434 	-ffunction-sections \
    435 	-funwind-tables \
    436 	-g \
    437 	-fno-short-enums \
    438 	-finline-limit=64 \
    439 	-Wa,--noexecstack \
    440 	-U_FORTIFY_SOURCE \
    441 	-Wno-extra \
    442 	-Wno-ignored-qualifiers \
    443 	-Wno-type-limits \
    444 	-Wno-unused-but-set-variable \
    445 	-Os \
    446 	-fno-ident \
    447 	-fdata-sections \
    448 	-ffunction-sections \
    449 	-funwind-tables
    450 
    451 MY_DEFS_Release := \
    452 	'-DV8_DEPRECATION_WARNINGS' \
    453 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    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="http://proxy-dev.googlezip.net:80/"' \
    471 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    472 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    473 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    474 	'-DVIDEO_HOLE=1' \
    475 	'-DBLINK_IMPLEMENTATION=1' \
    476 	'-DINSIDE_BLINK' \
    477 	'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
    478 	'-DENABLE_SVG_FONTS=1' \
    479 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
    480 	'-DENABLE_MEDIA_CAPTURE=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 	'-DSK_ENABLE_INST_COUNT=0' \
    486 	'-DSK_SUPPORT_GPU=1' \
    487 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    488 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    489 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    490 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    491 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    492 	'-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
    493 	'-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \
    494 	'-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \
    495 	'-DSK_SUPPORT_LEGACY_N32_NAME' \
    496 	'-DSK_SUPPORT_LEGACY_SETCONFIG' \
    497 	'-DSK_IGNORE_ETC1_SUPPORT' \
    498 	'-DSK_IGNORE_GPU_DITHER' \
    499 	'-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
    500 	'-DSK_BUILD_FOR_ANDROID' \
    501 	'-DSK_USE_POSIX_THREADS' \
    502 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    503 	'-DCHROME_PNG_WRITE_SUPPORT' \
    504 	'-DPNG_USER_CONFIG' \
    505 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    506 	'-DLIBXML_STATIC' \
    507 	'-DLIBXSLT_STATIC' \
    508 	'-DUSE_OPENSSL=1' \
    509 	'-DUSE_OPENSSL_CERTS=1' \
    510 	'-D__STDC_CONSTANT_MACROS' \
    511 	'-D__STDC_FORMAT_MACROS' \
    512 	'-DANDROID' \
    513 	'-D__GNU_SOURCE=1' \
    514 	'-DUSE_STLPORT=1' \
    515 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    516 	'-DCHROME_BUILD_ID=""' \
    517 	'-DNDEBUG' \
    518 	'-DNVALGRIND' \
    519 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    520 	'-D_FORTIFY_SOURCE=2'
    521 
    522 
    523 # Include paths placed before CFLAGS/CPPFLAGS
    524 LOCAL_C_INCLUDES_Release := \
    525 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    526 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    527 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    528 	$(gyp_shared_intermediate_dir) \
    529 	$(LOCAL_PATH)/third_party/WebKit/Source \
    530 	$(LOCAL_PATH) \
    531 	$(LOCAL_PATH)/skia/config \
    532 	$(LOCAL_PATH)/third_party/khronos \
    533 	$(LOCAL_PATH)/gpu \
    534 	$(gyp_shared_intermediate_dir)/blink/core \
    535 	$(gyp_shared_intermediate_dir)/blink/modules \
    536 	$(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \
    537 	$(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \
    538 	$(gyp_shared_intermediate_dir)/blink \
    539 	$(LOCAL_PATH)/third_party/openmax_dl \
    540 	$(LOCAL_PATH)/third_party/angle/include \
    541 	$(PWD)/external/icu/icu4c/source/common \
    542 	$(PWD)/external/icu/icu4c/source/i18n \
    543 	$(LOCAL_PATH)/third_party/WebKit \
    544 	$(LOCAL_PATH)/third_party/skia/src/core \
    545 	$(LOCAL_PATH)/third_party/skia/include/core \
    546 	$(LOCAL_PATH)/third_party/skia/include/effects \
    547 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    548 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    549 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    550 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    551 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    552 	$(LOCAL_PATH)/third_party/skia/include/ports \
    553 	$(LOCAL_PATH)/third_party/skia/include/utils \
    554 	$(LOCAL_PATH)/skia/ext \
    555 	$(LOCAL_PATH)/third_party/iccjpeg \
    556 	$(LOCAL_PATH)/third_party/libpng \
    557 	$(LOCAL_PATH)/third_party/libwebp \
    558 	$(LOCAL_PATH)/third_party/libxml/linux/include \
    559 	$(LOCAL_PATH)/third_party/libxml/src/include \
    560 	$(LOCAL_PATH)/third_party/libxslt \
    561 	$(LOCAL_PATH)/third_party/npapi \
    562 	$(LOCAL_PATH)/third_party/npapi/bindings \
    563 	$(LOCAL_PATH)/third_party/ots/include \
    564 	$(LOCAL_PATH)/third_party/qcms/src \
    565 	$(LOCAL_PATH)/third_party/sqlite \
    566 	$(LOCAL_PATH)/third_party/zlib \
    567 	$(LOCAL_PATH)/v8/include \
    568 	$(PWD)/frameworks/wilhelm/include \
    569 	$(PWD)/bionic \
    570 	$(PWD)/external/stlport/stlport
    571 
    572 
    573 # Flags passed to only C++ (and not C) files.
    574 LOCAL_CPPFLAGS_Release := \
    575 	-fno-rtti \
    576 	-fno-threadsafe-statics \
    577 	-fvisibility-inlines-hidden \
    578 	-Wsign-compare \
    579 	-Wno-c++0x-compat \
    580 	-Wno-non-virtual-dtor \
    581 	-Wno-sign-promo
    582 
    583 
    584 LOCAL_FDO_SUPPORT_Release := false
    585 
    586 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    587 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    588 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    589 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    590 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    591 ### Rules for final target.
    592 
    593 LOCAL_LDFLAGS_Debug := \
    594 	-Wl,-z,now \
    595 	-Wl,-z,relro \
    596 	-Wl,--fatal-warnings \
    597 	-Wl,-z,noexecstack \
    598 	-fPIC \
    599 	-nostdlib \
    600 	-Wl,--no-undefined \
    601 	-Wl,--exclude-libs=ALL \
    602 	-Wl,--warn-shared-textrel \
    603 	-Wl,-O1 \
    604 	-Wl,--as-needed
    605 
    606 
    607 LOCAL_LDFLAGS_Release := \
    608 	-Wl,-z,now \
    609 	-Wl,-z,relro \
    610 	-Wl,--fatal-warnings \
    611 	-Wl,-z,noexecstack \
    612 	-fPIC \
    613 	-nostdlib \
    614 	-Wl,--no-undefined \
    615 	-Wl,--exclude-libs=ALL \
    616 	-Wl,-O1 \
    617 	-Wl,--as-needed \
    618 	-Wl,--gc-sections \
    619 	-Wl,--warn-shared-textrel
    620 
    621 
    622 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    623 
    624 LOCAL_STATIC_LIBRARIES := \
    625 	skia_skia_library_gyp
    626 
    627 # Enable grouping to fix circular references
    628 LOCAL_GROUP_STATIC_LIBRARIES := true
    629 
    630 LOCAL_SHARED_LIBRARIES := \
    631 	libstlport \
    632 	libdl
    633 
    634 # Add target alias to "gyp_all_modules" target.
    635 .PHONY: gyp_all_modules
    636 gyp_all_modules: third_party_WebKit_Source_core_webcore_svg_gyp
    637 
    638 # Alias gyp target name.
    639 .PHONY: webcore_svg
    640 webcore_svg: third_party_WebKit_Source_core_webcore_svg_gyp
    641 
    642 include $(BUILD_STATIC_LIBRARY)
    643