blob: 7412ba71ca779ed4a42a8951ec9eaa16d3c417df [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': [
halcanary2e0303f2015-05-17 06:47:49 -070022 '<!@(python find.py ../gm "*.c*")',
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',
39 ]
mtkleina7e930f2014-08-06 10:08:42 -070040 }],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000041 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000042}