2016-10-27 16:21:40 +00:00
|
|
|
# Copyright 2016 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
# Things are easiest for everyone if these source paths are absolute.
|
|
|
|
_samplecode = get_path_info("../samplecode", "abspath")
|
|
|
|
|
|
|
|
samples_sources = [
|
|
|
|
"$_samplecode/PerlinPatch.cpp",
|
2018-08-08 15:36:17 +00:00
|
|
|
"$_samplecode/Sample.cpp",
|
|
|
|
"$_samplecode/Sample.h",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/Sample2PtRadial.cpp",
|
|
|
|
"$_samplecode/SampleAAClip.cpp",
|
|
|
|
"$_samplecode/SampleAAGeometry.cpp",
|
|
|
|
"$_samplecode/SampleAARectModes.cpp",
|
|
|
|
"$_samplecode/SampleAARects.cpp",
|
|
|
|
"$_samplecode/SampleAll.cpp",
|
|
|
|
"$_samplecode/SampleAndroidShadows.cpp",
|
2018-01-12 16:24:30 +00:00
|
|
|
"$_samplecode/SampleAnimatedImage.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleAnimatedText.cpp",
|
|
|
|
"$_samplecode/SampleAnimBlur.cpp",
|
|
|
|
"$_samplecode/SampleArc.cpp",
|
|
|
|
"$_samplecode/SampleAtlas.cpp",
|
|
|
|
"$_samplecode/SampleBigBlur.cpp",
|
|
|
|
"$_samplecode/SampleBigGradient.cpp",
|
|
|
|
"$_samplecode/SampleBitmapRect.cpp",
|
|
|
|
"$_samplecode/SampleBlur.cpp",
|
2017-07-14 21:17:41 +00:00
|
|
|
"$_samplecode/SampleCCPRGeometry.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleCamera.cpp",
|
|
|
|
"$_samplecode/SampleChart.cpp",
|
2017-08-15 17:28:42 +00:00
|
|
|
"$_samplecode/SampleChineseFling.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleCircle.cpp",
|
|
|
|
"$_samplecode/SampleClip.cpp",
|
|
|
|
"$_samplecode/SampleClipDrawMatch.cpp",
|
|
|
|
"$_samplecode/SampleClock.cpp",
|
|
|
|
"$_samplecode/SampleColorFilter.cpp",
|
|
|
|
"$_samplecode/SampleComplexClip.cpp",
|
|
|
|
"$_samplecode/SampleConcavePaths.cpp",
|
2017-09-25 20:53:49 +00:00
|
|
|
"$_samplecode/SampleCowboy.cpp",
|
2018-08-31 19:07:51 +00:00
|
|
|
"$_samplecode/SampleCusp.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleDegenerateTwoPtRadials.cpp",
|
|
|
|
"$_samplecode/SampleEffects.cpp",
|
|
|
|
"$_samplecode/SampleEmboss.cpp",
|
|
|
|
"$_samplecode/SampleFatBits.cpp",
|
|
|
|
"$_samplecode/SampleFillType.cpp",
|
|
|
|
"$_samplecode/SampleFilter2.cpp",
|
|
|
|
"$_samplecode/SampleFilterFuzz.cpp",
|
|
|
|
"$_samplecode/SampleFilterQuality.cpp",
|
2018-01-25 21:26:25 +00:00
|
|
|
"$_samplecode/SampleFlutterAnimate.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleFontScalerTest.cpp",
|
|
|
|
"$_samplecode/SampleFuzz.cpp",
|
2018-06-01 17:46:46 +00:00
|
|
|
"$_samplecode/SampleGlyphTransform.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleGradients.cpp",
|
|
|
|
"$_samplecode/SampleHairCurves.cpp",
|
|
|
|
"$_samplecode/SampleHairline.cpp",
|
|
|
|
"$_samplecode/SampleHairModes.cpp",
|
|
|
|
"$_samplecode/SampleHT.cpp",
|
|
|
|
"$_samplecode/SampleIdentityScale.cpp",
|
|
|
|
"$_samplecode/SampleLayerMask.cpp",
|
|
|
|
"$_samplecode/SampleLayers.cpp",
|
|
|
|
"$_samplecode/SampleLCD.cpp",
|
2018-07-17 16:30:40 +00:00
|
|
|
"$_samplecode/SampleLighting.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleLines.cpp",
|
2018-07-17 16:30:40 +00:00
|
|
|
"$_samplecode/SampleLitAtlas.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleManyRects.cpp",
|
|
|
|
"$_samplecode/SampleMeasure.cpp",
|
|
|
|
"$_samplecode/SampleMegaStroke.cpp",
|
2018-06-19 20:05:09 +00:00
|
|
|
"$_samplecode/SampleNima.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SamplePatch.cpp",
|
|
|
|
"$_samplecode/SamplePath.cpp",
|
2017-02-13 21:57:28 +00:00
|
|
|
"$_samplecode/SamplePathText.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SamplePathClip.cpp",
|
|
|
|
"$_samplecode/SamplePathEffects.cpp",
|
|
|
|
"$_samplecode/SamplePathFuzz.cpp",
|
|
|
|
"$_samplecode/SamplePathOverstroke.cpp",
|
|
|
|
"$_samplecode/SamplePdfFileViewer.cpp",
|
|
|
|
"$_samplecode/SamplePoints.cpp",
|
|
|
|
"$_samplecode/SamplePolyToPoly.cpp",
|
|
|
|
"$_samplecode/SampleQuadStroker.cpp",
|
|
|
|
"$_samplecode/SampleRectanizer.cpp",
|
|
|
|
"$_samplecode/SampleRegion.cpp",
|
|
|
|
"$_samplecode/SampleRepeatTile.cpp",
|
|
|
|
"$_samplecode/SampleShaders.cpp",
|
2017-06-09 15:09:03 +00:00
|
|
|
"$_samplecode/SampleShadowColor.cpp",
|
2017-05-23 17:50:58 +00:00
|
|
|
"$_samplecode/SampleShadowReference.cpp",
|
2017-05-04 18:00:59 +00:00
|
|
|
"$_samplecode/SampleShadowUtils.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleShip.cpp",
|
|
|
|
"$_samplecode/SampleSlides.cpp",
|
|
|
|
"$_samplecode/SampleStringArt.cpp",
|
|
|
|
"$_samplecode/SampleStrokePath.cpp",
|
|
|
|
"$_samplecode/SampleStrokeRect.cpp",
|
|
|
|
"$_samplecode/SampleSubpixelTranslate.cpp",
|
|
|
|
"$_samplecode/SampleSVGFile.cpp",
|
|
|
|
"$_samplecode/SampleText.cpp",
|
|
|
|
"$_samplecode/SampleTextAlpha.cpp",
|
|
|
|
"$_samplecode/SampleTextBox.cpp",
|
2018-08-08 15:36:17 +00:00
|
|
|
"$_samplecode/SampleTextEffects.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_samplecode/SampleTextureDomain.cpp",
|
|
|
|
"$_samplecode/SampleTiling.cpp",
|
|
|
|
"$_samplecode/SampleUnpremul.cpp",
|
|
|
|
"$_samplecode/SampleVertices.cpp",
|
|
|
|
"$_samplecode/SampleWritePixels.cpp",
|
|
|
|
"$_samplecode/SampleXfer.cpp",
|
|
|
|
"$_samplecode/SampleXfermodesBlur.cpp",
|
|
|
|
"$_samplecode/vertexdump.cpp",
|
|
|
|
]
|
2018-06-19 20:05:09 +00:00
|
|
|
|
|
|
|
if (is_win && is_clang) {
|
2018-10-30 19:08:53 +00:00
|
|
|
samples_sources -= [ "$_samplecode/SampleNima.cpp" ]
|
2018-06-19 20:05:09 +00:00
|
|
|
}
|