blob: 0dfc0bd63e87d3b37c91ff1118d8f04c608636a0 [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
joshualitt2771b562015-08-07 12:46:26 -070025 '../src/gpu/batches/GrTestBatch.h',
ethannicholas3cb95422016-02-09 12:44:06 -080026 '../tools/debugger/SkDrawCommand.h',
27 '../tools/debugger/SkDrawCommand.cpp',
28 '../tools/debugger/SkDebugCanvas.h',
29 '../tools/debugger/SkDebugCanvas.cpp',
brianosmanfad98562016-05-04 11:06:28 -070030 '../tools/debugger/SkJsonWriteBuffer.h',
31 '../tools/debugger/SkJsonWriteBuffer.cpp',
ethannicholas3cb95422016-02-09 12:44:06 -080032 '../tools/debugger/SkObjectParser.h',
33 '../tools/debugger/SkObjectParser.cpp',
34 '../tools/debugger/SkOverdrawMode.h',
35 '../tools/debugger/SkOverdrawMode.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070036 ],
ethannicholasf67531f2016-03-21 10:19:39 -070037 'dependencies': [
38 'libpng.gyp:libpng',
msaretta5cf4f42016-06-30 10:06:51 -070039 'tools.gyp:picture_utils',
ethannicholasf67531f2016-03-21 10:19:39 -070040 ]
mtkleina7e930f2014-08-06 10:08:42 -070041 }],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000042 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000043}