blob: 87910e5698a8345906dd56b53175ee3adc82031e [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
10 '../src/utils/debugger',
11 '../src/images',
12 '../src/lazy',
13 ],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000014 'conditions': [
mtkleina7e930f2014-08-06 10:08:42 -070015 # If we're building SampleApp on the bots, no need to link in the GM slides.
16 # We're not going to run it; we're only making sure it still builds.
17 # It'd be nice to do this in SampleApp.gypi, but I can't find a way to make it work.
18 [ 'not ("<(_target_name)" == "SampleApp" and skia_is_bot)', {
19 'sources': [
halcanary2e0303f2015-05-17 06:47:49 -070020 '<!@(python find.py ../gm "*.c*")',
mtkleina7e930f2014-08-06 10:08:42 -070021
22 # Files needed by particular GMs
joshualitt2771b562015-08-07 12:46:26 -070023 '../src/gpu/batches/GrTestBatch.h',
mtkleina7e930f2014-08-06 10:08:42 -070024 '../src/utils/debugger/SkDrawCommand.h',
25 '../src/utils/debugger/SkDrawCommand.cpp',
26 '../src/utils/debugger/SkDebugCanvas.h',
27 '../src/utils/debugger/SkDebugCanvas.cpp',
28 '../src/utils/debugger/SkObjectParser.h',
29 '../src/utils/debugger/SkObjectParser.cpp',
30 ],
31 }],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000032 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000033}