Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 1 | # 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 | |
| 9 | samples_sources = [ |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 10 | "$_samplecode/PerlinPatch.cpp", |
Ben Wagner | b2c4ea6 | 2018-08-08 11:36:17 -0400 | [diff] [blame] | 11 | "$_samplecode/Sample.cpp", |
| 12 | "$_samplecode/Sample.h", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 13 | "$_samplecode/Sample2PtRadial.cpp", |
| 14 | "$_samplecode/SampleAAClip.cpp", |
| 15 | "$_samplecode/SampleAAGeometry.cpp", |
| 16 | "$_samplecode/SampleAARectModes.cpp", |
| 17 | "$_samplecode/SampleAARects.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 18 | "$_samplecode/SampleAndroidShadows.cpp", |
Leon Scroggins III | 7a10b33 | 2018-01-12 11:24:30 -0500 | [diff] [blame] | 19 | "$_samplecode/SampleAnimatedImage.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 20 | "$_samplecode/SampleAnimatedText.cpp", |
| 21 | "$_samplecode/SampleAnimBlur.cpp", |
| 22 | "$_samplecode/SampleArc.cpp", |
| 23 | "$_samplecode/SampleAtlas.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 24 | "$_samplecode/SampleBigBlur.cpp", |
| 25 | "$_samplecode/SampleBigGradient.cpp", |
| 26 | "$_samplecode/SampleBitmapRect.cpp", |
Chris Dalton | 1a325d2 | 2017-07-14 15:17:41 -0600 | [diff] [blame] | 27 | "$_samplecode/SampleCCPRGeometry.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 28 | "$_samplecode/SampleCamera.cpp", |
| 29 | "$_samplecode/SampleChart.cpp", |
Robert Phillips | 4c72b26 | 2017-08-15 13:28:42 -0400 | [diff] [blame] | 30 | "$_samplecode/SampleChineseFling.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 31 | "$_samplecode/SampleCircle.cpp", |
| 32 | "$_samplecode/SampleClip.cpp", |
| 33 | "$_samplecode/SampleClipDrawMatch.cpp", |
| 34 | "$_samplecode/SampleClock.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 35 | "$_samplecode/SampleColorFilter.cpp", |
| 36 | "$_samplecode/SampleComplexClip.cpp", |
| 37 | "$_samplecode/SampleConcavePaths.cpp", |
Jim Van Verth | 712fe73 | 2017-09-25 16:53:49 -0400 | [diff] [blame] | 38 | "$_samplecode/SampleCowboy.cpp", |
Cary Clark | db16001 | 2018-08-31 15:07:51 -0400 | [diff] [blame] | 39 | "$_samplecode/SampleCusp.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 40 | "$_samplecode/SampleDegenerateTwoPtRadials.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 41 | "$_samplecode/SampleEffects.cpp", |
| 42 | "$_samplecode/SampleEmboss.cpp", |
| 43 | "$_samplecode/SampleFatBits.cpp", |
| 44 | "$_samplecode/SampleFillType.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 45 | "$_samplecode/SampleFilter2.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 46 | "$_samplecode/SampleFilterQuality.cpp", |
Jim Van Verth | fc4f768 | 2018-01-25 16:26:25 -0500 | [diff] [blame] | 47 | "$_samplecode/SampleFlutterAnimate.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 48 | "$_samplecode/SampleFuzz.cpp", |
Jim Van Verth | 7027691 | 2018-06-01 13:46:46 -0400 | [diff] [blame] | 49 | "$_samplecode/SampleGlyphTransform.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 50 | "$_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 Phillips | a8cdbd7 | 2018-07-17 12:30:40 -0400 | [diff] [blame] | 59 | "$_samplecode/SampleLighting.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 60 | "$_samplecode/SampleLines.cpp", |
Robert Phillips | a8cdbd7 | 2018-07-17 12:30:40 -0400 | [diff] [blame] | 61 | "$_samplecode/SampleLitAtlas.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 62 | "$_samplecode/SampleManyRects.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 63 | "$_samplecode/SampleMegaStroke.cpp", |
Brian Osman | c069a57 | 2018-06-19 16:05:09 -0400 | [diff] [blame] | 64 | "$_samplecode/SampleNima.cpp", |
Florin Malita | f296506 | 2019-02-15 13:49:01 -0500 | [diff] [blame] | 65 | "$_samplecode/SampleMixer.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 66 | "$_samplecode/SamplePatch.cpp", |
| 67 | "$_samplecode/SamplePath.cpp", |
csmartdalton | ed4984b | 2017-02-13 14:57:28 -0700 | [diff] [blame] | 68 | "$_samplecode/SamplePathText.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 69 | "$_samplecode/SamplePathClip.cpp", |
| 70 | "$_samplecode/SamplePathEffects.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 71 | "$_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 Reed | ec80d90 | 2019-02-12 11:31:27 -0500 | [diff] [blame] | 80 | "$_samplecode/SampleSG.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 81 | "$_samplecode/SampleShaders.cpp", |
Jim Van Verth | 34d6e4b | 2017-06-09 11:09:03 -0400 | [diff] [blame] | 82 | "$_samplecode/SampleShadowColor.cpp", |
Jim Van Verth | 623fadf | 2017-05-23 13:50:58 -0400 | [diff] [blame] | 83 | "$_samplecode/SampleShadowReference.cpp", |
Jim Van Verth | e770578 | 2017-05-04 14:00:59 -0400 | [diff] [blame] | 84 | "$_samplecode/SampleShadowUtils.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 85 | "$_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 Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 92 | "$_samplecode/SampleTextBox.cpp", |
Ben Wagner | b2c4ea6 | 2018-08-08 11:36:17 -0400 | [diff] [blame] | 93 | "$_samplecode/SampleTextEffects.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 94 | "$_samplecode/SampleTextureDomain.cpp", |
Michael Ludwig | d20cf33 | 2019-01-30 14:38:59 -0500 | [diff] [blame] | 95 | "$_samplecode/SampleThinAA.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 96 | "$_samplecode/SampleTiling.cpp", |
Mike Klein | 6e74412 | 2016-10-27 12:21:40 -0400 | [diff] [blame] | 97 | "$_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 Osman | c069a57 | 2018-06-19 16:05:09 -0400 | [diff] [blame] | 104 | |
| 105 | if (is_win && is_clang) { |
Kevin Lubick | d969932 | 2018-10-30 15:08:53 -0400 | [diff] [blame] | 106 | samples_sources -= [ "$_samplecode/SampleNima.cpp" ] |
Brian Osman | c069a57 | 2018-06-19 16:05:09 -0400 | [diff] [blame] | 107 | } |