blob: e614911ff0376b7fc078a7ac7d1a531e951a3df5 [file] [log] [blame]
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +01001# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
Torne (Richard Coles)5267f702013-06-11 10:57:24 +01006LOCAL_MODULE := third_party_WebKit_Source_core_webcore_svg_gyp
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +01007LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9gyp_intermediate_dir := $(call local-intermediates-dir)
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
Torne (Richard Coles)5267f702013-06-11 10:57:24 +010014 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_prerequisites_gyp)/webcore_prerequisites.stamp \
Ben Murdoch83750172013-07-24 10:36:59 +010015 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp)/skia_skia_library_gyp.a
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +010016
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 \
Ben Murdoche69819b2013-07-17 14:56:49 +010029 third_party/WebKit/Source/core/rendering/svg/ReferenceFilterBuilder.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +010030 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 \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +000088 third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +010089 third_party/WebKit/Source/core/svg/SVGAnimatedAngle.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +010090 third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +000091 third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +010092 third_party/WebKit/Source/core/svg/SVGAnimatedInteger.cpp \
93 third_party/WebKit/Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp \
94 third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +010095 third_party/WebKit/Source/core/svg/SVGAnimatedNumber.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +010096 third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp \
97 third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp \
Ben Murdoche69819b2013-07-17 14:56:49 +010098 third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +010099 third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp \
100 third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp \
101 third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp \
102 third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000103 third_party/WebKit/Source/core/svg/SVGBoolean.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100104 third_party/WebKit/Source/core/svg/SVGCircleElement.cpp \
105 third_party/WebKit/Source/core/svg/SVGClipPathElement.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100106 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 \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000110 third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100111 third_party/WebKit/Source/core/svg/SVGDocument.cpp \
112 third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000113 third_party/WebKit/Source/core/svg/SVGEnumeration.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100114 third_party/WebKit/Source/core/svg/SVGElement.cpp \
115 third_party/WebKit/Source/core/svg/SVGElementInstance.cpp \
116 third_party/WebKit/Source/core/svg/SVGElementInstanceList.cpp \
117 third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100118 third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp \
119 third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp \
120 third_party/WebKit/Source/core/svg/SVGFEComponentTransferElement.cpp \
121 third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp \
122 third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp \
123 third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp \
124 third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp \
125 third_party/WebKit/Source/core/svg/SVGFEDistantLightElement.cpp \
126 third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp \
127 third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp \
128 third_party/WebKit/Source/core/svg/SVGFEFuncAElement.cpp \
129 third_party/WebKit/Source/core/svg/SVGFEFuncBElement.cpp \
130 third_party/WebKit/Source/core/svg/SVGFEFuncGElement.cpp \
131 third_party/WebKit/Source/core/svg/SVGFEFuncRElement.cpp \
132 third_party/WebKit/Source/core/svg/SVGFEGaussianBlurElement.cpp \
133 third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp \
134 third_party/WebKit/Source/core/svg/SVGFELightElement.cpp \
135 third_party/WebKit/Source/core/svg/SVGFEMergeElement.cpp \
136 third_party/WebKit/Source/core/svg/SVGFEMergeNodeElement.cpp \
137 third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp \
138 third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp \
139 third_party/WebKit/Source/core/svg/SVGFEPointLightElement.cpp \
140 third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp \
141 third_party/WebKit/Source/core/svg/SVGFESpotLightElement.cpp \
142 third_party/WebKit/Source/core/svg/SVGFETileElement.cpp \
143 third_party/WebKit/Source/core/svg/SVGFETurbulenceElement.cpp \
144 third_party/WebKit/Source/core/svg/SVGFilterElement.cpp \
145 third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp \
146 third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp \
147 third_party/WebKit/Source/core/svg/SVGFontData.cpp \
148 third_party/WebKit/Source/core/svg/SVGFontElement.cpp \
149 third_party/WebKit/Source/core/svg/SVGFontFaceElement.cpp \
150 third_party/WebKit/Source/core/svg/SVGFontFaceFormatElement.cpp \
151 third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000152 third_party/WebKit/Source/core/svg/SVGFontFaceSource.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100153 third_party/WebKit/Source/core/svg/SVGFontFaceSrcElement.cpp \
154 third_party/WebKit/Source/core/svg/SVGFontFaceUriElement.cpp \
155 third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp \
156 third_party/WebKit/Source/core/svg/SVGGElement.cpp \
157 third_party/WebKit/Source/core/svg/SVGGlyphElement.cpp \
158 third_party/WebKit/Source/core/svg/SVGGlyphRefElement.cpp \
Torne (Richard Coles)51b29062013-11-28 11:56:03 +0000159 third_party/WebKit/Source/core/svg/SVGGeometryElement.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100160 third_party/WebKit/Source/core/svg/SVGGradientElement.cpp \
Ben Murdoch591b9582013-07-10 11:41:44 +0100161 third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100162 third_party/WebKit/Source/core/svg/SVGHKernElement.cpp \
163 third_party/WebKit/Source/core/svg/SVGImageElement.cpp \
164 third_party/WebKit/Source/core/svg/SVGImageLoader.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000165 third_party/WebKit/Source/core/svg/SVGInteger.cpp \
166 third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100167 third_party/WebKit/Source/core/svg/SVGLength.cpp \
168 third_party/WebKit/Source/core/svg/SVGLengthContext.cpp \
169 third_party/WebKit/Source/core/svg/SVGLengthList.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000170 third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100171 third_party/WebKit/Source/core/svg/SVGLineElement.cpp \
172 third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000173 third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100174 third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp \
175 third_party/WebKit/Source/core/svg/SVGMaskElement.cpp \
176 third_party/WebKit/Source/core/svg/SVGMetadataElement.cpp \
177 third_party/WebKit/Source/core/svg/SVGMissingGlyphElement.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000178 third_party/WebKit/Source/core/svg/SVGMPathElement.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000179 third_party/WebKit/Source/core/svg/SVGNumber.cpp \
180 third_party/WebKit/Source/core/svg/SVGNumberOptionalNumber.cpp \
181 third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100182 third_party/WebKit/Source/core/svg/SVGNumberList.cpp \
183 third_party/WebKit/Source/core/svg/SVGPaint.cpp \
184 third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp \
185 third_party/WebKit/Source/core/svg/SVGPathBlender.cpp \
186 third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp \
187 third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.cpp \
188 third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp \
189 third_party/WebKit/Source/core/svg/SVGPathElement.cpp \
190 third_party/WebKit/Source/core/svg/SVGPathParser.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000191 third_party/WebKit/Source/core/svg/SVGPathSeg.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100192 third_party/WebKit/Source/core/svg/SVGPathSegList.cpp \
193 third_party/WebKit/Source/core/svg/SVGPathSegListBuilder.cpp \
194 third_party/WebKit/Source/core/svg/SVGPathSegListSource.cpp \
195 third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp \
196 third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp \
197 third_party/WebKit/Source/core/svg/SVGPathTraversalStateBuilder.cpp \
198 third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp \
199 third_party/WebKit/Source/core/svg/SVGPatternElement.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000200 third_party/WebKit/Source/core/svg/SVGPoint.cpp \
201 third_party/WebKit/Source/core/svg/SVGPointTearOff.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100202 third_party/WebKit/Source/core/svg/SVGPointList.cpp \
203 third_party/WebKit/Source/core/svg/SVGPolyElement.cpp \
204 third_party/WebKit/Source/core/svg/SVGPolygonElement.cpp \
205 third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp \
206 third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000207 third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100208 third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000209 third_party/WebKit/Source/core/svg/SVGRect.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100210 third_party/WebKit/Source/core/svg/SVGRectElement.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000211 third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000212 third_party/WebKit/Source/core/svg/SVGRemoteFontFaceSource.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100213 third_party/WebKit/Source/core/svg/SVGSVGElement.cpp \
214 third_party/WebKit/Source/core/svg/SVGScriptElement.cpp \
215 third_party/WebKit/Source/core/svg/SVGSetElement.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000216 third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100217 third_party/WebKit/Source/core/svg/SVGStopElement.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000218 third_party/WebKit/Source/core/svg/SVGString.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100219 third_party/WebKit/Source/core/svg/SVGStringList.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000220 third_party/WebKit/Source/core/svg/SVGStringListTearOff.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100221 third_party/WebKit/Source/core/svg/SVGStyleElement.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100222 third_party/WebKit/Source/core/svg/SVGSwitchElement.cpp \
223 third_party/WebKit/Source/core/svg/SVGSymbolElement.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100224 third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp \
225 third_party/WebKit/Source/core/svg/SVGTests.cpp \
226 third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp \
227 third_party/WebKit/Source/core/svg/SVGTextElement.cpp \
228 third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp \
229 third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp \
230 third_party/WebKit/Source/core/svg/SVGTitleElement.cpp \
231 third_party/WebKit/Source/core/svg/SVGTransform.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000232 third_party/WebKit/Source/core/svg/SVGTransformTearOff.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100233 third_party/WebKit/Source/core/svg/SVGTransformDistance.cpp \
234 third_party/WebKit/Source/core/svg/SVGTransformList.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000235 third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100236 third_party/WebKit/Source/core/svg/SVGURIReference.cpp \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000237 third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp \
Torne (Richard Coles)f5e4ad52013-08-05 13:57:57 +0100238 third_party/WebKit/Source/core/svg/SVGUnknownElement.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100239 third_party/WebKit/Source/core/svg/SVGUseElement.cpp \
240 third_party/WebKit/Source/core/svg/SVGVKernElement.cpp \
241 third_party/WebKit/Source/core/svg/SVGViewElement.cpp \
242 third_party/WebKit/Source/core/svg/SVGViewSpec.cpp \
243 third_party/WebKit/Source/core/svg/SVGZoomAndPan.cpp \
244 third_party/WebKit/Source/core/svg/SVGZoomEvent.cpp \
245 third_party/WebKit/Source/core/svg/animation/SMILTime.cpp \
246 third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp \
247 third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp \
248 third_party/WebKit/Source/core/svg/graphics/SVGImageCache.cpp \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000249 third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100250 third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp \
251 third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp \
252 third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp \
253 third_party/WebKit/Source/core/svg/graphics/filters/SVGFilter.cpp \
254 third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp \
Ben Murdoch07a852d2014-03-31 11:51:52 +0100255 third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp \
256 third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.cpp
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100257
258
259# Flags passed to both C and C++ files.
Ben Murdoch591b9582013-07-10 11:41:44 +0100260MY_CFLAGS_Debug := \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100261 -fstack-protector \
262 --param=ssp-buffer-size=4 \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000263 -Werror \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100264 -fno-exceptions \
265 -fno-strict-aliasing \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000266 -Wall \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100267 -Wno-unused-parameter \
268 -Wno-missing-field-initializers \
269 -fvisibility=hidden \
270 -pipe \
271 -fPIC \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100272 -fno-tree-sra \
273 -fuse-ld=gold \
274 -Wno-psabi \
275 -ffunction-sections \
276 -funwind-tables \
277 -g \
278 -fstack-protector \
279 -fno-short-enums \
280 -finline-limit=64 \
281 -Wa,--noexecstack \
282 -U_FORTIFY_SOURCE \
283 -Wno-extra \
284 -Wno-ignored-qualifiers \
285 -Wno-type-limits \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000286 -Wno-unused-but-set-variable \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100287 -Os \
288 -g \
289 -fomit-frame-pointer \
290 -fdata-sections \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000291 -ffunction-sections \
292 -funwind-tables
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100293
Ben Murdoch591b9582013-07-10 11:41:44 +0100294MY_DEFS_Debug := \
Torne (Richard Coles)a854de02013-12-18 16:25:25 +0000295 '-DV8_DEPRECATION_WARNINGS' \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000296 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100297 '-D_FILE_OFFSET_BITS=64' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100298 '-DNO_TCMALLOC' \
299 '-DDISABLE_NACL' \
300 '-DCHROMIUM_BUILD' \
301 '-DUSE_LIBJPEG_TURBO=1' \
302 '-DUSE_PROPRIETARY_CODECS' \
Ben Murdoch83750172013-07-24 10:36:59 +0100303 '-DENABLE_CONFIGURATION_POLICY' \
Torne (Richard Coles)f79f16f2013-10-31 11:16:44 +0000304 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
305 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100306 '-DENABLE_EGLIMAGE=1' \
Torne (Richard Coles)8abfc582013-09-12 12:10:38 +0100307 '-DCLD_VERSION=1' \
Torne (Richard Coles)a854de02013-12-18 16:25:25 +0000308 '-DENABLE_PRINTING=1' \
Torne (Richard Coles)51b29062013-11-28 11:56:03 +0000309 '-DENABLE_MANAGED_USERS=1' \
Torne (Richard Coles)06f816c2013-09-26 13:25:12 +0100310 '-DBLINK_IMPLEMENTATION=1' \
Torne (Richard Coles)1e202182013-10-18 15:46:42 +0100311 '-DINSIDE_BLINK' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100312 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100313 '-DENABLE_SVG_FONTS=1' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100314 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000315 '-DENABLE_FAST_MOBILE_SCROLLING=1' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100316 '-DENABLE_INPUT_SPEECH=0' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100317 '-DENABLE_MEDIA_CAPTURE=1' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100318 '-DENABLE_OPENTYPE_VERTICAL=1' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100319 '-DU_USING_ICU_NAMESPACE=0' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100320 '-DSK_ENABLE_INST_COUNT=0' \
Ben Murdoch83750172013-07-24 10:36:59 +0100321 '-DSK_SUPPORT_GPU=1' \
322 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
Torne (Richard Coles)06f816c2013-09-26 13:25:12 +0100323 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000324 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
Torne (Richard Coles)51b29062013-11-28 11:56:03 +0000325 '-DGR_GL_IGNORE_ES3_MSAA=0' \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000326 '-DSK_SUPPORT_LEGACY_LAYERRASTERIZER_API=1' \
327 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000328 '-DSK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1' \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000329 '-DSK_SUPPORT_LEGACY_GETCLIPTYPE' \
330 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
331 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
Torne (Richard Coles)e5249552013-05-15 11:35:13 +0100332 '-DSK_BUILD_FOR_ANDROID' \
Ben Murdoch83750172013-07-24 10:36:59 +0100333 '-DSK_USE_POSIX_THREADS' \
Ben Murdoch3c9e4ae2013-08-12 14:20:44 +0100334 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100335 '-DCHROME_PNG_WRITE_SUPPORT' \
336 '-DPNG_USER_CONFIG' \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000337 '-DCHROME_PNG_READ_PACK_SUPPORT' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100338 '-DLIBXML_STATIC' \
339 '-DLIBXSLT_STATIC' \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000340 '-DUSE_OPENSSL=1' \
Ben Murdoch07a852d2014-03-31 11:51:52 +0100341 '-DUSE_OPENSSL_CERTS=1' \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000342 '-D__STDC_CONSTANT_MACROS' \
343 '-D__STDC_FORMAT_MACROS' \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100344 '-DANDROID' \
345 '-D__GNU_SOURCE=1' \
346 '-DUSE_STLPORT=1' \
347 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
348 '-DCHROME_BUILD_ID=""' \
349 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
350 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
351 '-D_DEBUG'
352
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100353
354# Include paths placed before CFLAGS/CPPFLAGS
Ben Murdoch591b9582013-07-10 11:41:44 +0100355LOCAL_C_INCLUDES_Debug := \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100356 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
Ben Murdoch3464d022013-07-25 10:06:57 +0100357 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
358 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
Torne (Richard Coles)a854de02013-12-18 16:25:25 +0000359 $(LOCAL_PATH)/third_party/WebKit/Source \
Torne (Richard Coles)51b29062013-11-28 11:56:03 +0000360 $(LOCAL_PATH) \
361 $(LOCAL_PATH)/skia/config \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100362 $(LOCAL_PATH)/third_party/khronos \
363 $(LOCAL_PATH)/gpu \
Torne (Richard Coles)5267f702013-06-11 10:57:24 +0100364 $(LOCAL_PATH)/third_party/WebKit \
Torne (Richard Coles)f5e4ad52013-08-05 13:57:57 +0100365 $(gyp_shared_intermediate_dir)/blink \
366 $(gyp_shared_intermediate_dir)/blink/bindings \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000367 $(LOCAL_PATH)/third_party/angle/include \
Torne (Richard Coles)93ac45c2013-05-29 14:40:20 +0100368 $(PWD)/external/icu4c/common \
369 $(PWD)/external/icu4c/i18n \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100370 $(LOCAL_PATH)/third_party/skia/src/core \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100371 $(LOCAL_PATH)/third_party/skia/include/core \
372 $(LOCAL_PATH)/third_party/skia/include/effects \
373 $(LOCAL_PATH)/third_party/skia/include/pdf \
374 $(LOCAL_PATH)/third_party/skia/include/gpu \
Ben Murdoch591b9582013-07-10 11:41:44 +0100375 $(LOCAL_PATH)/third_party/skia/include/lazy \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100376 $(LOCAL_PATH)/third_party/skia/include/pathops \
377 $(LOCAL_PATH)/third_party/skia/include/pipe \
378 $(LOCAL_PATH)/third_party/skia/include/ports \
379 $(LOCAL_PATH)/third_party/skia/include/utils \
380 $(LOCAL_PATH)/skia/ext \
381 $(LOCAL_PATH)/third_party/iccjpeg \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100382 $(LOCAL_PATH)/third_party/libpng \
Torne (Richard Coles)521d96e2013-06-19 11:58:24 +0100383 $(LOCAL_PATH)/third_party/libwebp \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100384 $(LOCAL_PATH)/third_party/libxml/linux/include \
385 $(LOCAL_PATH)/third_party/libxml/src/include \
386 $(LOCAL_PATH)/third_party/libxslt \
387 $(LOCAL_PATH)/third_party/npapi \
388 $(LOCAL_PATH)/third_party/npapi/bindings \
389 $(LOCAL_PATH)/third_party/ots/include \
390 $(LOCAL_PATH)/third_party/qcms/src \
391 $(LOCAL_PATH)/third_party/sqlite \
392 $(LOCAL_PATH)/third_party/zlib \
393 $(LOCAL_PATH)/v8/include \
Torne (Richard Coles)93ac45c2013-05-29 14:40:20 +0100394 $(PWD)/frameworks/wilhelm/include \
395 $(PWD)/bionic \
396 $(PWD)/external/stlport/stlport
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100397
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100398
399# Flags passed to only C++ (and not C) files.
Ben Murdoch591b9582013-07-10 11:41:44 +0100400LOCAL_CPPFLAGS_Debug := \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100401 -fno-rtti \
402 -fno-threadsafe-statics \
403 -fvisibility-inlines-hidden \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000404 -Wsign-compare \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100405 -Wno-c++0x-compat \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100406 -Wno-abi \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100407 -Wno-non-virtual-dtor \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000408 -Wno-sign-promo
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100409
Ben Murdoch591b9582013-07-10 11:41:44 +0100410
411# Flags passed to both C and C++ files.
412MY_CFLAGS_Release := \
413 -fstack-protector \
414 --param=ssp-buffer-size=4 \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000415 -Werror \
Ben Murdoch591b9582013-07-10 11:41:44 +0100416 -fno-exceptions \
417 -fno-strict-aliasing \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000418 -Wall \
Ben Murdoch591b9582013-07-10 11:41:44 +0100419 -Wno-unused-parameter \
420 -Wno-missing-field-initializers \
421 -fvisibility=hidden \
422 -pipe \
423 -fPIC \
Ben Murdoch591b9582013-07-10 11:41:44 +0100424 -fno-tree-sra \
425 -fuse-ld=gold \
426 -Wno-psabi \
427 -ffunction-sections \
428 -funwind-tables \
429 -g \
430 -fstack-protector \
431 -fno-short-enums \
432 -finline-limit=64 \
433 -Wa,--noexecstack \
434 -U_FORTIFY_SOURCE \
435 -Wno-extra \
436 -Wno-ignored-qualifiers \
437 -Wno-type-limits \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000438 -Wno-unused-but-set-variable \
Ben Murdoch591b9582013-07-10 11:41:44 +0100439 -Os \
440 -fno-ident \
441 -fdata-sections \
442 -ffunction-sections \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000443 -fomit-frame-pointer \
444 -funwind-tables
Ben Murdoch591b9582013-07-10 11:41:44 +0100445
446MY_DEFS_Release := \
Torne (Richard Coles)a854de02013-12-18 16:25:25 +0000447 '-DV8_DEPRECATION_WARNINGS' \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000448 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100449 '-D_FILE_OFFSET_BITS=64' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100450 '-DNO_TCMALLOC' \
451 '-DDISABLE_NACL' \
452 '-DCHROMIUM_BUILD' \
453 '-DUSE_LIBJPEG_TURBO=1' \
454 '-DUSE_PROPRIETARY_CODECS' \
Ben Murdoch83750172013-07-24 10:36:59 +0100455 '-DENABLE_CONFIGURATION_POLICY' \
Torne (Richard Coles)f79f16f2013-10-31 11:16:44 +0000456 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
457 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100458 '-DENABLE_EGLIMAGE=1' \
Torne (Richard Coles)8abfc582013-09-12 12:10:38 +0100459 '-DCLD_VERSION=1' \
Torne (Richard Coles)a854de02013-12-18 16:25:25 +0000460 '-DENABLE_PRINTING=1' \
Torne (Richard Coles)51b29062013-11-28 11:56:03 +0000461 '-DENABLE_MANAGED_USERS=1' \
Torne (Richard Coles)06f816c2013-09-26 13:25:12 +0100462 '-DBLINK_IMPLEMENTATION=1' \
Torne (Richard Coles)1e202182013-10-18 15:46:42 +0100463 '-DINSIDE_BLINK' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100464 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100465 '-DENABLE_SVG_FONTS=1' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100466 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000467 '-DENABLE_FAST_MOBILE_SCROLLING=1' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100468 '-DENABLE_INPUT_SPEECH=0' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100469 '-DENABLE_MEDIA_CAPTURE=1' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100470 '-DENABLE_OPENTYPE_VERTICAL=1' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100471 '-DU_USING_ICU_NAMESPACE=0' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100472 '-DSK_ENABLE_INST_COUNT=0' \
Ben Murdoch83750172013-07-24 10:36:59 +0100473 '-DSK_SUPPORT_GPU=1' \
474 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
Torne (Richard Coles)06f816c2013-09-26 13:25:12 +0100475 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000476 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
Torne (Richard Coles)51b29062013-11-28 11:56:03 +0000477 '-DGR_GL_IGNORE_ES3_MSAA=0' \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000478 '-DSK_SUPPORT_LEGACY_LAYERRASTERIZER_API=1' \
479 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000480 '-DSK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1' \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000481 '-DSK_SUPPORT_LEGACY_GETCLIPTYPE' \
482 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
483 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100484 '-DSK_BUILD_FOR_ANDROID' \
Ben Murdoch83750172013-07-24 10:36:59 +0100485 '-DSK_USE_POSIX_THREADS' \
Ben Murdoch3c9e4ae2013-08-12 14:20:44 +0100486 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100487 '-DCHROME_PNG_WRITE_SUPPORT' \
488 '-DPNG_USER_CONFIG' \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000489 '-DCHROME_PNG_READ_PACK_SUPPORT' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100490 '-DLIBXML_STATIC' \
491 '-DLIBXSLT_STATIC' \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000492 '-DUSE_OPENSSL=1' \
Ben Murdoch07a852d2014-03-31 11:51:52 +0100493 '-DUSE_OPENSSL_CERTS=1' \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000494 '-D__STDC_CONSTANT_MACROS' \
495 '-D__STDC_FORMAT_MACROS' \
Ben Murdoch591b9582013-07-10 11:41:44 +0100496 '-DANDROID' \
497 '-D__GNU_SOURCE=1' \
498 '-DUSE_STLPORT=1' \
499 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
500 '-DCHROME_BUILD_ID=""' \
501 '-DNDEBUG' \
502 '-DNVALGRIND' \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000503 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
504 '-D_FORTIFY_SOURCE=2'
Ben Murdoch591b9582013-07-10 11:41:44 +0100505
506
507# Include paths placed before CFLAGS/CPPFLAGS
508LOCAL_C_INCLUDES_Release := \
Ben Murdoch591b9582013-07-10 11:41:44 +0100509 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
Ben Murdoch3464d022013-07-25 10:06:57 +0100510 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
511 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
Torne (Richard Coles)a854de02013-12-18 16:25:25 +0000512 $(LOCAL_PATH)/third_party/WebKit/Source \
Torne (Richard Coles)51b29062013-11-28 11:56:03 +0000513 $(LOCAL_PATH) \
514 $(LOCAL_PATH)/skia/config \
Ben Murdoch591b9582013-07-10 11:41:44 +0100515 $(LOCAL_PATH)/third_party/khronos \
516 $(LOCAL_PATH)/gpu \
Ben Murdoch591b9582013-07-10 11:41:44 +0100517 $(LOCAL_PATH)/third_party/WebKit \
Torne (Richard Coles)f5e4ad52013-08-05 13:57:57 +0100518 $(gyp_shared_intermediate_dir)/blink \
519 $(gyp_shared_intermediate_dir)/blink/bindings \
Torne (Richard Coles)09380292014-02-21 12:17:33 +0000520 $(LOCAL_PATH)/third_party/angle/include \
Ben Murdoch591b9582013-07-10 11:41:44 +0100521 $(PWD)/external/icu4c/common \
522 $(PWD)/external/icu4c/i18n \
Ben Murdoch591b9582013-07-10 11:41:44 +0100523 $(LOCAL_PATH)/third_party/skia/src/core \
Ben Murdoch591b9582013-07-10 11:41:44 +0100524 $(LOCAL_PATH)/third_party/skia/include/core \
525 $(LOCAL_PATH)/third_party/skia/include/effects \
526 $(LOCAL_PATH)/third_party/skia/include/pdf \
527 $(LOCAL_PATH)/third_party/skia/include/gpu \
Ben Murdoch591b9582013-07-10 11:41:44 +0100528 $(LOCAL_PATH)/third_party/skia/include/lazy \
529 $(LOCAL_PATH)/third_party/skia/include/pathops \
530 $(LOCAL_PATH)/third_party/skia/include/pipe \
531 $(LOCAL_PATH)/third_party/skia/include/ports \
532 $(LOCAL_PATH)/third_party/skia/include/utils \
533 $(LOCAL_PATH)/skia/ext \
534 $(LOCAL_PATH)/third_party/iccjpeg \
535 $(LOCAL_PATH)/third_party/libpng \
536 $(LOCAL_PATH)/third_party/libwebp \
537 $(LOCAL_PATH)/third_party/libxml/linux/include \
538 $(LOCAL_PATH)/third_party/libxml/src/include \
539 $(LOCAL_PATH)/third_party/libxslt \
540 $(LOCAL_PATH)/third_party/npapi \
541 $(LOCAL_PATH)/third_party/npapi/bindings \
542 $(LOCAL_PATH)/third_party/ots/include \
543 $(LOCAL_PATH)/third_party/qcms/src \
544 $(LOCAL_PATH)/third_party/sqlite \
545 $(LOCAL_PATH)/third_party/zlib \
546 $(LOCAL_PATH)/v8/include \
Ben Murdoch591b9582013-07-10 11:41:44 +0100547 $(PWD)/frameworks/wilhelm/include \
548 $(PWD)/bionic \
549 $(PWD)/external/stlport/stlport
550
551
552# Flags passed to only C++ (and not C) files.
553LOCAL_CPPFLAGS_Release := \
554 -fno-rtti \
555 -fno-threadsafe-statics \
556 -fvisibility-inlines-hidden \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000557 -Wsign-compare \
Ben Murdoch591b9582013-07-10 11:41:44 +0100558 -Wno-c++0x-compat \
Ben Murdoch591b9582013-07-10 11:41:44 +0100559 -Wno-abi \
Ben Murdoch591b9582013-07-10 11:41:44 +0100560 -Wno-non-virtual-dtor \
Torne (Richard Coles)19cde672013-11-06 12:28:04 +0000561 -Wno-sign-promo
Ben Murdoch591b9582013-07-10 11:41:44 +0100562
563
564LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
565LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
566LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000567LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100568### Rules for final target.
569
Ben Murdoch591b9582013-07-10 11:41:44 +0100570LOCAL_LDFLAGS_Debug := \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000571 -Wl,--fatal-warnings \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100572 -Wl,-z,now \
573 -Wl,-z,relro \
574 -Wl,-z,noexecstack \
575 -fPIC \
576 -Wl,-z,relro \
577 -Wl,-z,now \
578 -fuse-ld=gold \
579 -nostdlib \
580 -Wl,--no-undefined \
581 -Wl,--exclude-libs=ALL \
582 -Wl,--icf=safe \
583 -Wl,--gc-sections \
Torne (Richard Coles)8abfc582013-09-12 12:10:38 +0100584 -Wl,--warn-shared-textrel \
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100585 -Wl,-O1 \
586 -Wl,--as-needed
587
588
Ben Murdoch591b9582013-07-10 11:41:44 +0100589LOCAL_LDFLAGS_Release := \
Torne (Richard Coles)d5428f32014-03-18 10:21:16 +0000590 -Wl,--fatal-warnings \
Ben Murdoch591b9582013-07-10 11:41:44 +0100591 -Wl,-z,now \
592 -Wl,-z,relro \
593 -Wl,-z,noexecstack \
594 -fPIC \
595 -Wl,-z,relro \
596 -Wl,-z,now \
597 -fuse-ld=gold \
598 -nostdlib \
599 -Wl,--no-undefined \
600 -Wl,--exclude-libs=ALL \
601 -Wl,--icf=safe \
602 -Wl,-O1 \
603 -Wl,--as-needed \
Torne (Richard Coles)8abfc582013-09-12 12:10:38 +0100604 -Wl,--gc-sections \
Torne (Richard Coles)8abfc582013-09-12 12:10:38 +0100605 -Wl,--warn-shared-textrel
Ben Murdoch591b9582013-07-10 11:41:44 +0100606
607
608LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
609
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100610LOCAL_STATIC_LIBRARIES := \
Ben Murdoch83750172013-07-24 10:36:59 +0100611 skia_skia_library_gyp
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100612
613# Enable grouping to fix circular references
614LOCAL_GROUP_STATIC_LIBRARIES := true
615
616LOCAL_SHARED_LIBRARIES := \
617 libstlport \
618 libdl
619
620# Add target alias to "gyp_all_modules" target.
621.PHONY: gyp_all_modules
Torne (Richard Coles)5267f702013-06-11 10:57:24 +0100622gyp_all_modules: third_party_WebKit_Source_core_webcore_svg_gyp
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100623
624# Alias gyp target name.
625.PHONY: webcore_svg
Torne (Richard Coles)5267f702013-06-11 10:57:24 +0100626webcore_svg: third_party_WebKit_Source_core_webcore_svg_gyp
Torne (Richard Coles)53e740f2013-05-09 18:38:43 +0100627
628include $(BUILD_STATIC_LIBRARY)