skia_library.target.darwin-x86.mk revision 0f1bc08d4cfcc34181b0b5cbf065c40f687bf740
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := skia_skia_library_gyp
7LOCAL_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 := \
14	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_skia_config_gyp)/blink_skia_config.stamp \
15	$(call intermediates-dir-for,GYP,third_party_expat_expat_gyp)/expat.stamp
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/skia/src/core/SkFlate.cpp \
28	third_party/skia/src/core/SkPaintOptionsAndroid.cpp \
29	third_party/skia/src/ports/SkImageDecoder_empty.cpp \
30	third_party/skia/src/images/SkScaledBitmapSampler.cpp \
31	third_party/skia/src/opts/opts_check_SSE2.cpp \
32	third_party/skia/src/ports/SkPurgeableMemoryBlock_none.cpp \
33	third_party/skia/src/ports/SkFontConfigInterface_android.cpp \
34	third_party/skia/src/ports/SkFontHost_fontconfig.cpp \
35	third_party/skia/src/ports/SkFontHost_FreeType.cpp \
36	third_party/skia/src/ports/SkFontHost_FreeType_common.cpp \
37	third_party/skia/src/ports/SkFontConfigParser_android.cpp \
38	third_party/skia/src/ports/SkGlobalInitialization_chromium.cpp \
39	third_party/skia/src/ports/SkOSFile_posix.cpp \
40	third_party/skia/src/ports/SkOSFile_stdio.cpp \
41	third_party/skia/src/ports/SkThread_pthread.cpp \
42	third_party/skia/src/ports/SkTime_Unix.cpp \
43	third_party/skia/src/ports/SkTLS_pthread.cpp \
44	third_party/skia/src/sfnt/SkOTTable_name.cpp \
45	third_party/skia/src/sfnt/SkOTUtils.cpp \
46	third_party/skia/src/utils/debugger/SkDebugCanvas.cpp \
47	third_party/skia/src/utils/debugger/SkDrawCommand.cpp \
48	third_party/skia/src/utils/debugger/SkObjectParser.cpp \
49	third_party/skia/src/utils/SkBase64.cpp \
50	third_party/skia/src/utils/SkBitSet.cpp \
51	third_party/skia/src/utils/SkCanvasStack.cpp \
52	third_party/skia/src/utils/SkCanvasStateUtils.cpp \
53	third_party/skia/src/utils/SkDeferredCanvas.cpp \
54	third_party/skia/src/utils/SkMatrix44.cpp \
55	third_party/skia/src/utils/SkNullCanvas.cpp \
56	third_party/skia/src/utils/SkNWayCanvas.cpp \
57	third_party/skia/src/utils/SkPictureUtils.cpp \
58	third_party/skia/src/utils/SkProxyCanvas.cpp \
59	third_party/skia/src/utils/SkRTConf.cpp \
60	third_party/skia/src/core/Sk64.cpp \
61	third_party/skia/src/core/SkAAClip.cpp \
62	third_party/skia/src/core/SkAnnotation.cpp \
63	third_party/skia/src/core/SkAdvancedTypefaceMetrics.cpp \
64	third_party/skia/src/core/SkAlphaRuns.cpp \
65	third_party/skia/src/core/SkBBoxHierarchy.cpp \
66	third_party/skia/src/core/SkBBoxRecord.cpp \
67	third_party/skia/src/core/SkBBoxHierarchyRecord.cpp \
68	third_party/skia/src/core/SkBitmap.cpp \
69	third_party/skia/src/core/SkBitmapDevice.cpp \
70	third_party/skia/src/core/SkBitmapFilter.cpp \
71	third_party/skia/src/core/SkBitmapHeap.cpp \
72	third_party/skia/src/core/SkBitmapProcShader.cpp \
73	third_party/skia/src/core/SkBitmapProcState.cpp \
74	third_party/skia/src/core/SkBitmapProcState_matrixProcs.cpp \
75	third_party/skia/src/core/SkBitmapScaler.cpp \
76	third_party/skia/src/core/SkBitmap_scroll.cpp \
77	third_party/skia/src/core/SkBlitMask_D32.cpp \
78	third_party/skia/src/core/SkBlitRow_D16.cpp \
79	third_party/skia/src/core/SkBlitRow_D32.cpp \
80	third_party/skia/src/core/SkBlitter.cpp \
81	third_party/skia/src/core/SkBlitter_A1.cpp \
82	third_party/skia/src/core/SkBlitter_A8.cpp \
83	third_party/skia/src/core/SkBlitter_ARGB32.cpp \
84	third_party/skia/src/core/SkBlitter_RGB16.cpp \
85	third_party/skia/src/core/SkBlitter_Sprite.cpp \
86	third_party/skia/src/core/SkBuffer.cpp \
87	third_party/skia/src/core/SkCanvas.cpp \
88	third_party/skia/src/core/SkChunkAlloc.cpp \
89	third_party/skia/src/core/SkClipStack.cpp \
90	third_party/skia/src/core/SkColor.cpp \
91	third_party/skia/src/core/SkColorFilter.cpp \
92	third_party/skia/src/core/SkColorTable.cpp \
93	third_party/skia/src/core/SkComposeShader.cpp \
94	third_party/skia/src/core/SkConfig8888.cpp \
95	third_party/skia/src/core/SkConvolver.cpp \
96	third_party/skia/src/core/SkCordic.cpp \
97	third_party/skia/src/core/SkCubicClipper.cpp \
98	third_party/skia/src/core/SkData.cpp \
99	third_party/skia/src/core/SkDataTable.cpp \
100	third_party/skia/src/core/SkDebug.cpp \
101	third_party/skia/src/core/SkDeque.cpp \
102	third_party/skia/src/core/SkDevice.cpp \
103	third_party/skia/src/core/SkDeviceLooper.cpp \
104	third_party/skia/src/core/SkDeviceProfile.cpp \
105	third_party/skia/src/core/SkDither.cpp \
106	third_party/skia/src/core/SkDraw.cpp \
107	third_party/skia/src/core/SkDrawLooper.cpp \
108	third_party/skia/src/core/SkEdgeBuilder.cpp \
109	third_party/skia/src/core/SkEdgeClipper.cpp \
110	third_party/skia/src/core/SkEdge.cpp \
111	third_party/skia/src/core/SkError.cpp \
112	third_party/skia/src/core/SkFilterProc.cpp \
113	third_party/skia/src/core/SkFilterShader.cpp \
114	third_party/skia/src/core/SkFlattenable.cpp \
115	third_party/skia/src/core/SkFlattenableBuffers.cpp \
116	third_party/skia/src/core/SkFlattenableSerialization.cpp \
117	third_party/skia/src/core/SkFloat.cpp \
118	third_party/skia/src/core/SkFloatBits.cpp \
119	third_party/skia/src/core/SkFontHost.cpp \
120	third_party/skia/src/core/SkFontDescriptor.cpp \
121	third_party/skia/src/core/SkFontStream.cpp \
122	third_party/skia/src/core/SkGeometry.cpp \
123	third_party/skia/src/core/SkGlyphCache.cpp \
124	third_party/skia/src/core/SkGraphics.cpp \
125	third_party/skia/src/core/SkInstCnt.cpp \
126	third_party/skia/src/core/SkImageFilter.cpp \
127	third_party/skia/src/core/SkImageFilterUtils.cpp \
128	third_party/skia/src/core/SkLineClipper.cpp \
129	third_party/skia/src/core/SkMallocPixelRef.cpp \
130	third_party/skia/src/core/SkMask.cpp \
131	third_party/skia/src/core/SkMaskFilter.cpp \
132	third_party/skia/src/core/SkMaskGamma.cpp \
133	third_party/skia/src/core/SkMath.cpp \
134	third_party/skia/src/core/SkMatrix.cpp \
135	third_party/skia/src/core/SkMetaData.cpp \
136	third_party/skia/src/core/SkMipMap.cpp \
137	third_party/skia/src/core/SkOrderedReadBuffer.cpp \
138	third_party/skia/src/core/SkOrderedWriteBuffer.cpp \
139	third_party/skia/src/core/SkPackBits.cpp \
140	third_party/skia/src/core/SkPaint.cpp \
141	third_party/skia/src/core/SkPaintPriv.cpp \
142	third_party/skia/src/core/SkPath.cpp \
143	third_party/skia/src/core/SkPathEffect.cpp \
144	third_party/skia/src/core/SkPathHeap.cpp \
145	third_party/skia/src/core/SkPathMeasure.cpp \
146	third_party/skia/src/core/SkPathRef.cpp \
147	third_party/skia/src/core/SkPicture.cpp \
148	third_party/skia/src/core/SkPictureFlat.cpp \
149	third_party/skia/src/core/SkPicturePlayback.cpp \
150	third_party/skia/src/core/SkPictureRecord.cpp \
151	third_party/skia/src/core/SkPictureStateTree.cpp \
152	third_party/skia/src/core/SkPixelRef.cpp \
153	third_party/skia/src/core/SkPoint.cpp \
154	third_party/skia/src/core/SkProcSpriteBlitter.cpp \
155	third_party/skia/src/core/SkPtrRecorder.cpp \
156	third_party/skia/src/core/SkQuadClipper.cpp \
157	third_party/skia/src/core/SkRasterClip.cpp \
158	third_party/skia/src/core/SkRasterizer.cpp \
159	third_party/skia/src/core/SkRect.cpp \
160	third_party/skia/src/core/SkRefCnt.cpp \
161	third_party/skia/src/core/SkRefDict.cpp \
162	third_party/skia/src/core/SkRegion.cpp \
163	third_party/skia/src/core/SkRegion_path.cpp \
164	third_party/skia/src/core/SkRRect.cpp \
165	third_party/skia/src/core/SkRTree.cpp \
166	third_party/skia/src/core/SkScaledImageCache.cpp \
167	third_party/skia/src/core/SkScalar.cpp \
168	third_party/skia/src/core/SkScalerContext.cpp \
169	third_party/skia/src/core/SkScan.cpp \
170	third_party/skia/src/core/SkScan_AntiPath.cpp \
171	third_party/skia/src/core/SkScan_Antihair.cpp \
172	third_party/skia/src/core/SkScan_Hairline.cpp \
173	third_party/skia/src/core/SkScan_Path.cpp \
174	third_party/skia/src/core/SkShader.cpp \
175	third_party/skia/src/core/SkSpriteBlitter_ARGB32.cpp \
176	third_party/skia/src/core/SkSpriteBlitter_RGB16.cpp \
177	third_party/skia/src/core/SkStream.cpp \
178	third_party/skia/src/core/SkString.cpp \
179	third_party/skia/src/core/SkStringUtils.cpp \
180	third_party/skia/src/core/SkStroke.cpp \
181	third_party/skia/src/core/SkStrokeRec.cpp \
182	third_party/skia/src/core/SkStrokerPriv.cpp \
183	third_party/skia/src/core/SkTileGrid.cpp \
184	third_party/skia/src/core/SkTileGridPicture.cpp \
185	third_party/skia/src/core/SkTLS.cpp \
186	third_party/skia/src/core/SkTSearch.cpp \
187	third_party/skia/src/core/SkTypeface.cpp \
188	third_party/skia/src/core/SkTypefaceCache.cpp \
189	third_party/skia/src/core/SkUnPreMultiply.cpp \
190	third_party/skia/src/core/SkUtils.cpp \
191	third_party/skia/src/core/SkValidatingReadBuffer.cpp \
192	third_party/skia/src/core/SkWriter32.cpp \
193	third_party/skia/src/core/SkXfermode.cpp \
194	third_party/skia/src/doc/SkDocument.cpp \
195	third_party/skia/src/image/SkDataPixelRef.cpp \
196	third_party/skia/src/image/SkImage.cpp \
197	third_party/skia/src/image/SkImagePriv.cpp \
198	third_party/skia/src/image/SkImage_Codec.cpp \
199	third_party/skia/src/image/SkImage_Picture.cpp \
200	third_party/skia/src/image/SkImage_Raster.cpp \
201	third_party/skia/src/image/SkSurface.cpp \
202	third_party/skia/src/image/SkSurface_Picture.cpp \
203	third_party/skia/src/image/SkSurface_Raster.cpp \
204	third_party/skia/src/pipe/SkGPipeRead.cpp \
205	third_party/skia/src/pipe/SkGPipeWrite.cpp \
206	third_party/skia/src/lazy/SkBitmapFactory.cpp \
207	third_party/skia/src/lazy/SkLazyPixelRef.cpp \
208	third_party/skia/src/lazy/SkLruImageCache.cpp \
209	third_party/skia/src/lazy/SkPurgeableMemoryBlock_common.cpp \
210	third_party/skia/src/lazy/SkPurgeableImageCache.cpp \
211	third_party/skia/src/pathops/SkAddIntersections.cpp \
212	third_party/skia/src/pathops/SkDCubicIntersection.cpp \
213	third_party/skia/src/pathops/SkDCubicLineIntersection.cpp \
214	third_party/skia/src/pathops/SkDCubicToQuads.cpp \
215	third_party/skia/src/pathops/SkDLineIntersection.cpp \
216	third_party/skia/src/pathops/SkDQuadImplicit.cpp \
217	third_party/skia/src/pathops/SkDQuadIntersection.cpp \
218	third_party/skia/src/pathops/SkDQuadLineIntersection.cpp \
219	third_party/skia/src/pathops/SkIntersections.cpp \
220	third_party/skia/src/pathops/SkOpAngle.cpp \
221	third_party/skia/src/pathops/SkOpContour.cpp \
222	third_party/skia/src/pathops/SkOpEdgeBuilder.cpp \
223	third_party/skia/src/pathops/SkOpSegment.cpp \
224	third_party/skia/src/pathops/SkPathOpsBounds.cpp \
225	third_party/skia/src/pathops/SkPathOpsCommon.cpp \
226	third_party/skia/src/pathops/SkPathOpsCubic.cpp \
227	third_party/skia/src/pathops/SkPathOpsDebug.cpp \
228	third_party/skia/src/pathops/SkPathOpsLine.cpp \
229	third_party/skia/src/pathops/SkPathOpsOp.cpp \
230	third_party/skia/src/pathops/SkPathOpsPoint.cpp \
231	third_party/skia/src/pathops/SkPathOpsQuad.cpp \
232	third_party/skia/src/pathops/SkPathOpsRect.cpp \
233	third_party/skia/src/pathops/SkPathOpsSimplify.cpp \
234	third_party/skia/src/pathops/SkPathOpsTriangle.cpp \
235	third_party/skia/src/pathops/SkPathOpsTypes.cpp \
236	third_party/skia/src/pathops/SkPathWriter.cpp \
237	third_party/skia/src/pathops/SkQuarticRoot.cpp \
238	third_party/skia/src/pathops/SkReduceOrder.cpp \
239	third_party/skia/src/effects/Sk1DPathEffect.cpp \
240	third_party/skia/src/effects/Sk2DPathEffect.cpp \
241	third_party/skia/src/effects/SkArithmeticMode.cpp \
242	third_party/skia/src/effects/SkAvoidXfermode.cpp \
243	third_party/skia/src/effects/SkBicubicImageFilter.cpp \
244	third_party/skia/src/effects/SkBitmapAlphaThresholdShader.cpp \
245	third_party/skia/src/effects/SkBitmapSource.cpp \
246	third_party/skia/src/effects/SkBlurDrawLooper.cpp \
247	third_party/skia/src/effects/SkBlurMask.cpp \
248	third_party/skia/src/effects/SkBlurImageFilter.cpp \
249	third_party/skia/src/effects/SkBlurMaskFilter.cpp \
250	third_party/skia/src/effects/SkColorFilters.cpp \
251	third_party/skia/src/effects/SkColorFilterImageFilter.cpp \
252	third_party/skia/src/effects/SkColorMatrix.cpp \
253	third_party/skia/src/effects/SkColorMatrixFilter.cpp \
254	third_party/skia/src/effects/SkComposeImageFilter.cpp \
255	third_party/skia/src/effects/SkCornerPathEffect.cpp \
256	third_party/skia/src/effects/SkDashPathEffect.cpp \
257	third_party/skia/src/effects/SkDiscretePathEffect.cpp \
258	third_party/skia/src/effects/SkDisplacementMapEffect.cpp \
259	third_party/skia/src/effects/SkDropShadowImageFilter.cpp \
260	third_party/skia/src/effects/SkEmbossMask.cpp \
261	third_party/skia/src/effects/SkEmbossMaskFilter.cpp \
262	third_party/skia/src/effects/SkGpuBlurUtils.cpp \
263	third_party/skia/src/effects/SkKernel33MaskFilter.cpp \
264	third_party/skia/src/effects/SkLayerDrawLooper.cpp \
265	third_party/skia/src/effects/SkLayerRasterizer.cpp \
266	third_party/skia/src/effects/SkLerpXfermode.cpp \
267	third_party/skia/src/effects/SkLightingImageFilter.cpp \
268	third_party/skia/src/effects/SkLumaColorFilter.cpp \
269	third_party/skia/src/effects/SkMagnifierImageFilter.cpp \
270	third_party/skia/src/effects/SkMatrixConvolutionImageFilter.cpp \
271	third_party/skia/src/effects/SkMergeImageFilter.cpp \
272	third_party/skia/src/effects/SkMorphologyImageFilter.cpp \
273	third_party/skia/src/effects/SkOffsetImageFilter.cpp \
274	third_party/skia/src/effects/SkPaintFlagsDrawFilter.cpp \
275	third_party/skia/src/effects/SkPerlinNoiseShader.cpp \
276	third_party/skia/src/effects/SkPixelXorXfermode.cpp \
277	third_party/skia/src/effects/SkPorterDuff.cpp \
278	third_party/skia/src/effects/SkRectShaderImageFilter.cpp \
279	third_party/skia/src/effects/SkStippleMaskFilter.cpp \
280	third_party/skia/src/effects/SkTableColorFilter.cpp \
281	third_party/skia/src/effects/SkTableMaskFilter.cpp \
282	third_party/skia/src/effects/SkTestImageFilters.cpp \
283	third_party/skia/src/effects/SkTileImageFilter.cpp \
284	third_party/skia/src/effects/SkTransparentShader.cpp \
285	third_party/skia/src/effects/SkXfermodeImageFilter.cpp \
286	third_party/skia/src/effects/gradients/SkBitmapCache.cpp \
287	third_party/skia/src/effects/gradients/SkClampRange.cpp \
288	third_party/skia/src/effects/gradients/SkGradientShader.cpp \
289	third_party/skia/src/effects/gradients/SkLinearGradient.cpp \
290	third_party/skia/src/effects/gradients/SkRadialGradient.cpp \
291	third_party/skia/src/effects/gradients/SkTwoPointRadialGradient.cpp \
292	third_party/skia/src/effects/gradients/SkTwoPointConicalGradient.cpp \
293	third_party/skia/src/effects/gradients/SkSweepGradient.cpp \
294	third_party/skia/src/gpu/GrAAHairLinePathRenderer.cpp \
295	third_party/skia/src/gpu/GrAAConvexPathRenderer.cpp \
296	third_party/skia/src/gpu/GrAARectRenderer.cpp \
297	third_party/skia/src/gpu/GrAddPathRenderers_default.cpp \
298	third_party/skia/src/gpu/GrAllocPool.cpp \
299	third_party/skia/src/gpu/GrAtlas.cpp \
300	third_party/skia/src/gpu/GrBitmapTextContext.cpp \
301	third_party/skia/src/gpu/GrBlend.cpp \
302	third_party/skia/src/gpu/GrBufferAllocPool.cpp \
303	third_party/skia/src/gpu/GrCacheID.cpp \
304	third_party/skia/src/gpu/GrClipData.cpp \
305	third_party/skia/src/gpu/GrContext.cpp \
306	third_party/skia/src/gpu/GrDefaultPathRenderer.cpp \
307	third_party/skia/src/gpu/GrDrawState.cpp \
308	third_party/skia/src/gpu/GrDrawTarget.cpp \
309	third_party/skia/src/gpu/GrEffect.cpp \
310	third_party/skia/src/gpu/GrGeometryBuffer.cpp \
311	third_party/skia/src/gpu/GrClipMaskCache.cpp \
312	third_party/skia/src/gpu/GrClipMaskManager.cpp \
313	third_party/skia/src/gpu/GrGpu.cpp \
314	third_party/skia/src/gpu/GrGpuFactory.cpp \
315	third_party/skia/src/gpu/GrInOrderDrawBuffer.cpp \
316	third_party/skia/src/gpu/GrMemoryPool.cpp \
317	third_party/skia/src/gpu/GrOvalRenderer.cpp \
318	third_party/skia/src/gpu/GrPaint.cpp \
319	third_party/skia/src/gpu/GrPath.cpp \
320	third_party/skia/src/gpu/GrPathRendererChain.cpp \
321	third_party/skia/src/gpu/GrPathRenderer.cpp \
322	third_party/skia/src/gpu/GrPathUtils.cpp \
323	third_party/skia/src/gpu/GrRectanizer.cpp \
324	third_party/skia/src/gpu/GrRectanizer_skyline.cpp \
325	third_party/skia/src/gpu/GrRenderTarget.cpp \
326	third_party/skia/src/gpu/GrReducedClip.cpp \
327	third_party/skia/src/gpu/GrResource.cpp \
328	third_party/skia/src/gpu/GrResourceCache.cpp \
329	third_party/skia/src/gpu/GrStencil.cpp \
330	third_party/skia/src/gpu/GrStencilAndCoverPathRenderer.cpp \
331	third_party/skia/src/gpu/GrStencilBuffer.cpp \
332	third_party/skia/src/gpu/GrSWMaskHelper.cpp \
333	third_party/skia/src/gpu/GrSoftwarePathRenderer.cpp \
334	third_party/skia/src/gpu/GrSurface.cpp \
335	third_party/skia/src/gpu/GrTextContext.cpp \
336	third_party/skia/src/gpu/GrTextStrike.cpp \
337	third_party/skia/src/gpu/GrTexture.cpp \
338	third_party/skia/src/gpu/GrTextureAccess.cpp \
339	third_party/skia/src/gpu/gr_unittests.cpp \
340	third_party/skia/src/gpu/effects/GrConfigConversionEffect.cpp \
341	third_party/skia/src/gpu/effects/GrBezierEffect.cpp \
342	third_party/skia/src/gpu/effects/GrConvolutionEffect.cpp \
343	third_party/skia/src/gpu/effects/GrBicubicEffect.cpp \
344	third_party/skia/src/gpu/effects/GrCustomCoordsTextureEffect.cpp \
345	third_party/skia/src/gpu/effects/GrSimpleTextureEffect.cpp \
346	third_party/skia/src/gpu/effects/GrSingleTextureEffect.cpp \
347	third_party/skia/src/gpu/effects/GrTextureDomainEffect.cpp \
348	third_party/skia/src/gpu/effects/GrTextureStripAtlas.cpp \
349	third_party/skia/src/gpu/gl/GrGLBufferImpl.cpp \
350	third_party/skia/src/gpu/gl/GrGLCaps.cpp \
351	third_party/skia/src/gpu/gl/GrGLContext.cpp \
352	third_party/skia/src/gpu/gl/GrGLCreateNativeInterface_none.cpp \
353	third_party/skia/src/gpu/gl/GrGLDefaultInterface_none.cpp \
354	third_party/skia/src/gpu/gl/GrGLExtensions.cpp \
355	third_party/skia/src/gpu/gl/GrGLIndexBuffer.cpp \
356	third_party/skia/src/gpu/gl/GrGLInterface.cpp \
357	third_party/skia/src/gpu/gl/GrGLNoOpInterface.cpp \
358	third_party/skia/src/gpu/gl/GrGLPath.cpp \
359	third_party/skia/src/gpu/gl/GrGLProgram.cpp \
360	third_party/skia/src/gpu/gl/GrGLProgramDesc.cpp \
361	third_party/skia/src/gpu/gl/GrGLProgramEffects.cpp \
362	third_party/skia/src/gpu/gl/GrGLRenderTarget.cpp \
363	third_party/skia/src/gpu/gl/GrGLShaderBuilder.cpp \
364	third_party/skia/src/gpu/gl/GrGLSL.cpp \
365	third_party/skia/src/gpu/gl/GrGLStencilBuffer.cpp \
366	third_party/skia/src/gpu/gl/GrGLTexture.cpp \
367	third_party/skia/src/gpu/gl/GrGLUtil.cpp \
368	third_party/skia/src/gpu/gl/GrGLUniformManager.cpp \
369	third_party/skia/src/gpu/gl/GrGLVertexArray.cpp \
370	third_party/skia/src/gpu/gl/GrGLVertexBuffer.cpp \
371	third_party/skia/src/gpu/gl/GrGpuGL.cpp \
372	third_party/skia/src/gpu/gl/GrGpuGL_program.cpp \
373	third_party/skia/src/gpu/SkGpuDevice.cpp \
374	third_party/skia/src/gpu/SkGr.cpp \
375	third_party/skia/src/gpu/SkGrFontScaler.cpp \
376	third_party/skia/src/gpu/SkGrPixelRef.cpp \
377	third_party/skia/src/gpu/SkGrTexturePixelRef.cpp \
378	third_party/skia/src/image/SkImage_Gpu.cpp \
379	third_party/skia/src/image/SkSurface_Gpu.cpp \
380	third_party/skia/src/gpu/gl/SkGLContextHelper.cpp
381
382
383# Flags passed to both C and C++ files.
384MY_CFLAGS_Debug := \
385	--param=ssp-buffer-size=4 \
386	-fno-exceptions \
387	-fno-strict-aliasing \
388	-Wno-unused-parameter \
389	-Wno-missing-field-initializers \
390	-fvisibility=hidden \
391	-pipe \
392	-fPIC \
393	-Wno-format \
394	-m32 \
395	-mmmx \
396	-march=pentium4 \
397	-msse2 \
398	-mfpmath=sse \
399	-fuse-ld=gold \
400	-ffunction-sections \
401	-funwind-tables \
402	-g \
403	-fno-short-enums \
404	-finline-limit=64 \
405	-Wa,--noexecstack \
406	-U_FORTIFY_SOURCE \
407	-Wno-extra \
408	-Wno-ignored-qualifiers \
409	-Wno-type-limits \
410	-fno-stack-protector \
411	-Wno-address \
412	-Wno-format-security \
413	-Wno-return-type \
414	-Wno-sequence-point \
415	-Os \
416	-g \
417	-fomit-frame-pointer \
418	-fdata-sections \
419	-ffunction-sections
420
421MY_DEFS_Debug := \
422	'-DANGLE_DX11' \
423	'-D_FILE_OFFSET_BITS=64' \
424	'-DNO_TCMALLOC' \
425	'-DDISABLE_NACL' \
426	'-DCHROMIUM_BUILD' \
427	'-DUSE_LIBJPEG_TURBO=1' \
428	'-DUSE_PROPRIETARY_CODECS' \
429	'-DENABLE_CONFIGURATION_POLICY' \
430	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
431	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
432	'-DUSE_OPENSSL=1' \
433	'-DENABLE_EGLIMAGE=1' \
434	'-DCLD_VERSION=1' \
435	'-DSK_ENABLE_INST_COUNT=0' \
436	'-DSK_SUPPORT_GPU=1' \
437	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
438	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
439	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
440	'-DSK_SUPPORT_LEGACY_COLORTYPE=1' \
441	'-DSK_BUILD_FOR_ANDROID' \
442	'-DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0' \
443	'-DSK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION' \
444	'-DSK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK' \
445	'-DIGNORE_ROT_AA_RECT_OPT' \
446	'-DSK_IGNORE_QUAD_RR_CORNERS_OPT' \
447	'-DSKIA_IGNORE_GPU_MIPMAPS' \
448	'-DSK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS' \
449	'-DSK_DEFAULT_FONT_CACHE_LIMIT=(1*1024*1024)' \
450	'-DSK_GAMMA_APPLY_TO_A8' \
451	'-DSK_GAMMA_EXPONENT=1.4' \
452	'-DSK_GAMMA_CONTRAST=0.0' \
453	'-DSK_USE_POSIX_THREADS' \
454	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
455	'-DANDROID' \
456	'-D__GNU_SOURCE=1' \
457	'-DUSE_STLPORT=1' \
458	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
459	'-DCHROME_BUILD_ID=""' \
460	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
461	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
462	'-D_DEBUG'
463
464
465# Include paths placed before CFLAGS/CPPFLAGS
466LOCAL_C_INCLUDES_Debug := \
467	$(LOCAL_PATH)/third_party/skia/include/core \
468	$(LOCAL_PATH)/third_party/skia/include/effects \
469	$(LOCAL_PATH)/third_party/skia/include/images \
470	$(LOCAL_PATH)/third_party/skia/include/lazy \
471	$(LOCAL_PATH)/third_party/skia/include/pathops \
472	$(LOCAL_PATH)/third_party/skia/include/pdf \
473	$(LOCAL_PATH)/third_party/skia/include/pipe \
474	$(LOCAL_PATH)/third_party/skia/include/ports \
475	$(LOCAL_PATH)/third_party/skia/include/utils \
476	$(LOCAL_PATH)/third_party/skia/src/core \
477	$(LOCAL_PATH)/third_party/skia/src/opts \
478	$(LOCAL_PATH)/third_party/skia/src/image \
479	$(LOCAL_PATH)/third_party/skia/src/ports \
480	$(LOCAL_PATH)/third_party/skia/src/sfnt \
481	$(LOCAL_PATH)/third_party/skia/src/utils \
482	$(LOCAL_PATH)/third_party/skia/src/lazy \
483	$(LOCAL_PATH) \
484	$(LOCAL_PATH)/skia/config \
485	$(LOCAL_PATH)/third_party/skia/include/gpu \
486	$(LOCAL_PATH)/third_party/skia/src/gpu \
487	$(LOCAL_PATH)/third_party/expat/files/lib \
488	$(LOCAL_PATH)/third_party/zlib \
489	$(PWD)/external/expat/lib \
490	$(LOCAL_PATH)/third_party/freetype/include \
491	$(PWD)/frameworks/wilhelm/include \
492	$(PWD)/bionic \
493	$(PWD)/external/stlport/stlport
494
495
496# Flags passed to only C++ (and not C) files.
497LOCAL_CPPFLAGS_Debug := \
498	-fno-rtti \
499	-fno-threadsafe-statics \
500	-fvisibility-inlines-hidden \
501	-Wno-deprecated \
502	-Wno-error=c++0x-compat \
503	-Wno-non-virtual-dtor \
504	-Wno-sign-promo \
505	-Wno-non-virtual-dtor
506
507
508# Flags passed to both C and C++ files.
509MY_CFLAGS_Release := \
510	--param=ssp-buffer-size=4 \
511	-fno-exceptions \
512	-fno-strict-aliasing \
513	-Wno-unused-parameter \
514	-Wno-missing-field-initializers \
515	-fvisibility=hidden \
516	-pipe \
517	-fPIC \
518	-Wno-format \
519	-m32 \
520	-mmmx \
521	-march=pentium4 \
522	-msse2 \
523	-mfpmath=sse \
524	-fuse-ld=gold \
525	-ffunction-sections \
526	-funwind-tables \
527	-g \
528	-fno-short-enums \
529	-finline-limit=64 \
530	-Wa,--noexecstack \
531	-U_FORTIFY_SOURCE \
532	-Wno-extra \
533	-Wno-ignored-qualifiers \
534	-Wno-type-limits \
535	-fno-stack-protector \
536	-Wno-address \
537	-Wno-format-security \
538	-Wno-return-type \
539	-Wno-sequence-point \
540	-Os \
541	-fno-ident \
542	-fdata-sections \
543	-ffunction-sections \
544	-fomit-frame-pointer \
545	-fno-unwind-tables \
546	-fno-asynchronous-unwind-tables
547
548MY_DEFS_Release := \
549	'-DANGLE_DX11' \
550	'-D_FILE_OFFSET_BITS=64' \
551	'-DNO_TCMALLOC' \
552	'-DDISABLE_NACL' \
553	'-DCHROMIUM_BUILD' \
554	'-DUSE_LIBJPEG_TURBO=1' \
555	'-DUSE_PROPRIETARY_CODECS' \
556	'-DENABLE_CONFIGURATION_POLICY' \
557	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
558	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
559	'-DUSE_OPENSSL=1' \
560	'-DENABLE_EGLIMAGE=1' \
561	'-DCLD_VERSION=1' \
562	'-DSK_ENABLE_INST_COUNT=0' \
563	'-DSK_SUPPORT_GPU=1' \
564	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
565	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
566	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
567	'-DSK_SUPPORT_LEGACY_COLORTYPE=1' \
568	'-DSK_BUILD_FOR_ANDROID' \
569	'-DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0' \
570	'-DSK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION' \
571	'-DSK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK' \
572	'-DIGNORE_ROT_AA_RECT_OPT' \
573	'-DSK_IGNORE_QUAD_RR_CORNERS_OPT' \
574	'-DSKIA_IGNORE_GPU_MIPMAPS' \
575	'-DSK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS' \
576	'-DSK_DEFAULT_FONT_CACHE_LIMIT=(1*1024*1024)' \
577	'-DSK_GAMMA_APPLY_TO_A8' \
578	'-DSK_GAMMA_EXPONENT=1.4' \
579	'-DSK_GAMMA_CONTRAST=0.0' \
580	'-DSK_USE_POSIX_THREADS' \
581	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
582	'-DANDROID' \
583	'-D__GNU_SOURCE=1' \
584	'-DUSE_STLPORT=1' \
585	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
586	'-DCHROME_BUILD_ID=""' \
587	'-DNDEBUG' \
588	'-DNVALGRIND' \
589	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
590
591
592# Include paths placed before CFLAGS/CPPFLAGS
593LOCAL_C_INCLUDES_Release := \
594	$(LOCAL_PATH)/third_party/skia/include/core \
595	$(LOCAL_PATH)/third_party/skia/include/effects \
596	$(LOCAL_PATH)/third_party/skia/include/images \
597	$(LOCAL_PATH)/third_party/skia/include/lazy \
598	$(LOCAL_PATH)/third_party/skia/include/pathops \
599	$(LOCAL_PATH)/third_party/skia/include/pdf \
600	$(LOCAL_PATH)/third_party/skia/include/pipe \
601	$(LOCAL_PATH)/third_party/skia/include/ports \
602	$(LOCAL_PATH)/third_party/skia/include/utils \
603	$(LOCAL_PATH)/third_party/skia/src/core \
604	$(LOCAL_PATH)/third_party/skia/src/opts \
605	$(LOCAL_PATH)/third_party/skia/src/image \
606	$(LOCAL_PATH)/third_party/skia/src/ports \
607	$(LOCAL_PATH)/third_party/skia/src/sfnt \
608	$(LOCAL_PATH)/third_party/skia/src/utils \
609	$(LOCAL_PATH)/third_party/skia/src/lazy \
610	$(LOCAL_PATH) \
611	$(LOCAL_PATH)/skia/config \
612	$(LOCAL_PATH)/third_party/skia/include/gpu \
613	$(LOCAL_PATH)/third_party/skia/src/gpu \
614	$(LOCAL_PATH)/third_party/expat/files/lib \
615	$(LOCAL_PATH)/third_party/zlib \
616	$(PWD)/external/expat/lib \
617	$(LOCAL_PATH)/third_party/freetype/include \
618	$(PWD)/frameworks/wilhelm/include \
619	$(PWD)/bionic \
620	$(PWD)/external/stlport/stlport
621
622
623# Flags passed to only C++ (and not C) files.
624LOCAL_CPPFLAGS_Release := \
625	-fno-rtti \
626	-fno-threadsafe-statics \
627	-fvisibility-inlines-hidden \
628	-Wno-deprecated \
629	-Wno-error=c++0x-compat \
630	-Wno-non-virtual-dtor \
631	-Wno-sign-promo \
632	-Wno-non-virtual-dtor
633
634
635LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
636LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
637LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
638### Rules for final target.
639
640LOCAL_LDFLAGS_Debug := \
641	-Wl,-z,now \
642	-Wl,-z,relro \
643	-Wl,-z,noexecstack \
644	-fPIC \
645	-m32 \
646	-fuse-ld=gold \
647	-nostdlib \
648	-Wl,--no-undefined \
649	-Wl,--exclude-libs=ALL \
650	-Wl,--fatal-warnings \
651	-Wl,--gc-sections \
652	-Wl,--warn-shared-textrel \
653	-Wl,-O1 \
654	-Wl,--as-needed
655
656
657LOCAL_LDFLAGS_Release := \
658	-Wl,-z,now \
659	-Wl,-z,relro \
660	-Wl,-z,noexecstack \
661	-fPIC \
662	-m32 \
663	-fuse-ld=gold \
664	-nostdlib \
665	-Wl,--no-undefined \
666	-Wl,--exclude-libs=ALL \
667	-Wl,-O1 \
668	-Wl,--as-needed \
669	-Wl,--gc-sections \
670	-Wl,--fatal-warnings \
671	-Wl,--warn-shared-textrel
672
673
674LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
675
676LOCAL_STATIC_LIBRARIES :=
677
678# Enable grouping to fix circular references
679LOCAL_GROUP_STATIC_LIBRARIES := true
680
681LOCAL_SHARED_LIBRARIES := \
682	libstlport \
683	libdl
684
685# Add target alias to "gyp_all_modules" target.
686.PHONY: gyp_all_modules
687gyp_all_modules: skia_skia_library_gyp
688
689# Alias gyp target name.
690.PHONY: skia_library
691skia_library: skia_skia_library_gyp
692
693include $(BUILD_STATIC_LIBRARY)
694