blob: 17955841bba4fe5bd0d5376ad4890ce6e3459bcc [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",
Florin Malitaf2965062019-02-15 13:49:01 -050065 "$_samplecode/SampleMixer.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040066 "$_samplecode/SamplePatch.cpp",
67 "$_samplecode/SamplePath.cpp",
csmartdaltoned4984b2017-02-13 14:57:28 -070068 "$_samplecode/SamplePathText.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040069 "$_samplecode/SamplePathClip.cpp",
70 "$_samplecode/SamplePathEffects.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040071 "$_samplecode/SamplePathFuzz.cpp",
72 "$_samplecode/SamplePathOverstroke.cpp",
73 "$_samplecode/SamplePdfFileViewer.cpp",
74 "$_samplecode/SamplePoints.cpp",
75 "$_samplecode/SamplePolyToPoly.cpp",
76 "$_samplecode/SampleQuadStroker.cpp",
77 "$_samplecode/SampleRectanizer.cpp",
78 "$_samplecode/SampleRegion.cpp",
79 "$_samplecode/SampleRepeatTile.cpp",
Mike Reedec80d902019-02-12 11:31:27 -050080 "$_samplecode/SampleSG.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040081 "$_samplecode/SampleShaders.cpp",
Jim Van Verth34d6e4b2017-06-09 11:09:03 -040082 "$_samplecode/SampleShadowColor.cpp",
Jim Van Verth623fadf2017-05-23 13:50:58 -040083 "$_samplecode/SampleShadowReference.cpp",
Jim Van Verthe7705782017-05-04 14:00:59 -040084 "$_samplecode/SampleShadowUtils.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040085 "$_samplecode/SampleShip.cpp",
86 "$_samplecode/SampleSlides.cpp",
87 "$_samplecode/SampleStringArt.cpp",
88 "$_samplecode/SampleStrokePath.cpp",
89 "$_samplecode/SampleStrokeRect.cpp",
90 "$_samplecode/SampleSubpixelTranslate.cpp",
91 "$_samplecode/SampleSVGFile.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040092 "$_samplecode/SampleTextBox.cpp",
Ben Wagnerb2c4ea62018-08-08 11:36:17 -040093 "$_samplecode/SampleTextEffects.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040094 "$_samplecode/SampleTextureDomain.cpp",
Michael Ludwigd20cf332019-01-30 14:38:59 -050095 "$_samplecode/SampleThinAA.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040096 "$_samplecode/SampleTiling.cpp",
Mike Klein6e744122016-10-27 12:21:40 -040097 "$_samplecode/SampleUnpremul.cpp",
98 "$_samplecode/SampleVertices.cpp",
99 "$_samplecode/SampleWritePixels.cpp",
100 "$_samplecode/SampleXfer.cpp",
101 "$_samplecode/SampleXfermodesBlur.cpp",
102 "$_samplecode/vertexdump.cpp",
103]
Brian Osmanc069a572018-06-19 16:05:09 -0400104
105if (is_win && is_clang) {
Kevin Lubickd9699322018-10-30 15:08:53 -0400106 samples_sources -= [ "$_samplecode/SampleNima.cpp" ]
Brian Osmanc069a572018-06-19 16:05:09 -0400107}