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