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