blob: 66cfc6cc3956bda2e7cd403ab88ac26578a3019a [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# Copyright 2015 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.
bsalomon@google.com48dd1a22011-10-31 14:18:20 +00005# include this gypi to include all the golden master slides.
6{
commit-bot@chromium.org6adce672014-02-03 14:48:17 +00007 'include_dirs': [
8 '../gm',
9 # include dirs needed by particular GMs
robertphillips188d44c2016-02-01 04:54:14 -080010 '../include/client/android',
ethannicholas3cb95422016-02-09 12:44:06 -080011 '../tools/debugger',
fmalitabc590c02016-02-22 09:12:33 -080012 '../src/effects/gradients',
commit-bot@chromium.org6adce672014-02-03 14:48:17 +000013 '../src/images',
14 '../src/lazy',
15 ],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000016 'conditions': [
mtkleina7e930f2014-08-06 10:08:42 -070017 # If we're building SampleApp on the bots, no need to link in the GM slides.
18 # We're not going to run it; we're only making sure it still builds.
19 # It'd be nice to do this in SampleApp.gypi, but I can't find a way to make it work.
20 [ 'not ("<(_target_name)" == "SampleApp" and skia_is_bot)', {
21 'sources': [
mtkleinada5a442016-08-02 14:28:26 -070022 '<!@(python find.py "*.c*" ../gm)',
mtkleina7e930f2014-08-06 10:08:42 -070023
24 # Files needed by particular GMs
ethannicholas3cb95422016-02-09 12:44:06 -080025 '../tools/debugger/SkDrawCommand.h',
26 '../tools/debugger/SkDrawCommand.cpp',
27 '../tools/debugger/SkDebugCanvas.h',
28 '../tools/debugger/SkDebugCanvas.cpp',
brianosmanfad98562016-05-04 11:06:28 -070029 '../tools/debugger/SkJsonWriteBuffer.h',
30 '../tools/debugger/SkJsonWriteBuffer.cpp',
ethannicholas3cb95422016-02-09 12:44:06 -080031 '../tools/debugger/SkObjectParser.h',
32 '../tools/debugger/SkObjectParser.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070033 ],
ethannicholasf67531f2016-03-21 10:19:39 -070034 'dependencies': [
35 'libpng.gyp:libpng',
msaretta5cf4f42016-06-30 10:06:51 -070036 'tools.gyp:picture_utils',
ethannicholasf67531f2016-03-21 10:19:39 -070037 ]
mtkleina7e930f2014-08-06 10:08:42 -070038 }],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000039 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000040}