blob: d098dcd641561aed16cebd6ab540c05d13ae238d [file] [log] [blame]
Mike Klein6e744122016-10-27 12:21:40 -04001# Copyright 2016 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6# Things are easiest for everyone if these source paths are absolute.
7_samplecode = get_path_info("../samplecode", "abspath")
8
9samples_sources = [
Mike Klein6e744122016-10-27 12:21:40 -040010 "$_samplecode/PerlinPatch.cpp",
Ben Wagnerb2c4ea62018-08-08 11:36:17 -040011 "$_samplecode/Sample.cpp",
12 "$_samplecode/Sample.h",
Mike Klein6e744122016-10-27 12:21:40 -040013 "$_samplecode/Sample2PtRadial.cpp",
14 "$_samplecode/SampleAAClip.cpp",
15 "$_samplecode/SampleAAGeometry.cpp",
16 "$_samplecode/SampleAARectModes.cpp",
17 "$_samplecode/SampleAARects.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040018 "$_samplecode/SampleAndroidShadows.cpp",
Leon Scroggins III7a10b332018-01-12 11:24:30 -050019 "$_samplecode/SampleAnimatedImage.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040020 "$_samplecode/SampleAnimatedText.cpp",
21 "$_samplecode/SampleAnimBlur.cpp",
22 "$_samplecode/SampleArc.cpp",
23 "$_samplecode/SampleAtlas.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040024 "$_samplecode/SampleBigBlur.cpp",
25 "$_samplecode/SampleBigGradient.cpp",
26 "$_samplecode/SampleBitmapRect.cpp",
Chris Dalton1a325d22017-07-14 15:17:41 -060027 "$_samplecode/SampleCCPRGeometry.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040028 "$_samplecode/SampleCamera.cpp",
29 "$_samplecode/SampleChart.cpp",
Robert Phillips4c72b262017-08-15 13:28:42 -040030 "$_samplecode/SampleChineseFling.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040031 "$_samplecode/SampleCircle.cpp",
32 "$_samplecode/SampleClip.cpp",
33 "$_samplecode/SampleClipDrawMatch.cpp",
34 "$_samplecode/SampleClock.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040035 "$_samplecode/SampleColorFilter.cpp",
36 "$_samplecode/SampleComplexClip.cpp",
37 "$_samplecode/SampleConcavePaths.cpp",
Jim Van Verth712fe732017-09-25 16:53:49 -040038 "$_samplecode/SampleCowboy.cpp",
Cary Clarkdb160012018-08-31 15:07:51 -040039 "$_samplecode/SampleCusp.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040040 "$_samplecode/SampleDegenerateTwoPtRadials.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040041 "$_samplecode/SampleEffects.cpp",
42 "$_samplecode/SampleEmboss.cpp",
43 "$_samplecode/SampleFatBits.cpp",
44 "$_samplecode/SampleFillType.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040045 "$_samplecode/SampleFilter2.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040046 "$_samplecode/SampleFilterQuality.cpp",
Jim Van Verthfc4f7682018-01-25 16:26:25 -050047 "$_samplecode/SampleFlutterAnimate.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040048 "$_samplecode/SampleFuzz.cpp",
Jim Van Verth70276912018-06-01 13:46:46 -040049 "$_samplecode/SampleGlyphTransform.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040050 "$_samplecode/SampleGradients.cpp",
51 "$_samplecode/SampleHairCurves.cpp",
52 "$_samplecode/SampleHairline.cpp",
53 "$_samplecode/SampleHairModes.cpp",
54 "$_samplecode/SampleHT.cpp",
55 "$_samplecode/SampleIdentityScale.cpp",
56 "$_samplecode/SampleLayerMask.cpp",
57 "$_samplecode/SampleLayers.cpp",
58 "$_samplecode/SampleLCD.cpp",
Robert Phillipsa8cdbd72018-07-17 12:30:40 -040059 "$_samplecode/SampleLighting.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040060 "$_samplecode/SampleLines.cpp",
Robert Phillipsa8cdbd72018-07-17 12:30:40 -040061 "$_samplecode/SampleLitAtlas.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040062 "$_samplecode/SampleManyRects.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040063 "$_samplecode/SampleMegaStroke.cpp",
Brian Osmanc069a572018-06-19 16:05:09 -040064 "$_samplecode/SampleNima.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040065 "$_samplecode/SamplePatch.cpp",
66 "$_samplecode/SamplePath.cpp",
csmartdaltoned4984b2017-02-13 14:57:28 -070067 "$_samplecode/SamplePathText.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040068 "$_samplecode/SamplePathClip.cpp",
69 "$_samplecode/SamplePathEffects.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040070 "$_samplecode/SamplePathFuzz.cpp",
71 "$_samplecode/SamplePathOverstroke.cpp",
72 "$_samplecode/SamplePdfFileViewer.cpp",
73 "$_samplecode/SamplePoints.cpp",
74 "$_samplecode/SamplePolyToPoly.cpp",
75 "$_samplecode/SampleQuadStroker.cpp",
76 "$_samplecode/SampleRectanizer.cpp",
77 "$_samplecode/SampleRegion.cpp",
78 "$_samplecode/SampleRepeatTile.cpp",
79 "$_samplecode/SampleShaders.cpp",
Jim Van Verth34d6e4b2017-06-09 11:09:03 -040080 "$_samplecode/SampleShadowColor.cpp",
Jim Van Verth623fadf2017-05-23 13:50:58 -040081 "$_samplecode/SampleShadowReference.cpp",
Jim Van Verthe7705782017-05-04 14:00:59 -040082 "$_samplecode/SampleShadowUtils.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040083 "$_samplecode/SampleShip.cpp",
84 "$_samplecode/SampleSlides.cpp",
85 "$_samplecode/SampleStringArt.cpp",
86 "$_samplecode/SampleStrokePath.cpp",
87 "$_samplecode/SampleStrokeRect.cpp",
88 "$_samplecode/SampleSubpixelTranslate.cpp",
89 "$_samplecode/SampleSVGFile.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040090 "$_samplecode/SampleTextBox.cpp",
Ben Wagnerb2c4ea62018-08-08 11:36:17 -040091 "$_samplecode/SampleTextEffects.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040092 "$_samplecode/SampleTextureDomain.cpp",
93 "$_samplecode/SampleTiling.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040094 "$_samplecode/SampleUnpremul.cpp",
95 "$_samplecode/SampleVertices.cpp",
96 "$_samplecode/SampleWritePixels.cpp",
97 "$_samplecode/SampleXfer.cpp",
98 "$_samplecode/SampleXfermodesBlur.cpp",
99 "$_samplecode/vertexdump.cpp",
100]
Brian Osmanc069a572018-06-19 16:05:09 -0400101
102if (is_win && is_clang) {
Kevin Lubickd9699322018-10-30 15:08:53 -0400103 samples_sources -= [ "$_samplecode/SampleNima.cpp" ]
Brian Osmanc069a572018-06-19 16:05:09 -0400104}