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