diff options
author | Brian Osman <brianosman@google.com> | 2018-06-19 16:05:09 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-19 20:30:28 +0000 |
commit | c069a57301a468dbc45f3f3775b623e5532f9398 (patch) | |
tree | 4c067efbba58df8f6333f80b73924ae0f6e24843 /gn | |
parent | 644341af03d22dfe10e8e6c47e0aa21f5346031b (diff) |
added NIMA sample to showcase animations
improved third_party template to include headers as system headers for non-Windows machines
Bug: skia:
Change-Id: Id2fa74fc31b49f9b07cc83e7f60477c7ab4f8d83
Reviewed-on: https://skia-review.googlesource.com/135450
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/samples.gni | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gn/samples.gni b/gn/samples.gni index 1a4002f82c..ce73ab8d84 100644 --- a/gn/samples.gni +++ b/gn/samples.gni @@ -8,6 +8,8 @@ _samplecode = get_path_info("../samplecode", "abspath") samples_sources = [ "$_samplecode/ClockFaceView.cpp", + "$_samplecode/Nima.cpp", + "$_samplecode/Nima.h", "$_samplecode/PerlinPatch.cpp", "$_samplecode/Sample2PtRadial.cpp", "$_samplecode/SampleAAClip.cpp", @@ -64,6 +66,7 @@ samples_sources = [ "$_samplecode/SampleManyRects.cpp", "$_samplecode/SampleMeasure.cpp", "$_samplecode/SampleMegaStroke.cpp", + "$_samplecode/SampleNima.cpp", "$_samplecode/SamplePatch.cpp", "$_samplecode/SamplePath.cpp", "$_samplecode/SamplePathText.cpp", @@ -103,3 +106,11 @@ samples_sources = [ "$_samplecode/SampleXfermodesBlur.cpp", "$_samplecode/vertexdump.cpp", ] + +if (is_win && is_clang) { + samples_sources -= [ + "$_samplecode/Nima.cpp", + "$_samplecode/Nima.h", + "$_samplecode/SampleNima.cpp", + ] +} |