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