2015-03-25 17:22:41 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
2011-10-31 14:18:20 +00:00
|
|
|
# include this gypi to include all the golden master slides.
|
|
|
|
{
|
2014-02-03 14:48:17 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'../gm',
|
|
|
|
# include dirs needed by particular GMs
|
2016-02-01 12:54:14 +00:00
|
|
|
'../include/client/android',
|
2016-02-09 20:44:06 +00:00
|
|
|
'../tools/debugger',
|
2016-02-22 17:12:33 +00:00
|
|
|
'../src/effects/gradients',
|
2014-02-03 14:48:17 +00:00
|
|
|
'../src/images',
|
|
|
|
'../src/lazy',
|
|
|
|
],
|
2014-03-23 23:08:18 +00:00
|
|
|
'conditions': [
|
2014-08-06 17:08:42 +00:00
|
|
|
# If we're building SampleApp on the bots, no need to link in the GM slides.
|
|
|
|
# We're not going to run it; we're only making sure it still builds.
|
|
|
|
# It'd be nice to do this in SampleApp.gypi, but I can't find a way to make it work.
|
|
|
|
[ 'not ("<(_target_name)" == "SampleApp" and skia_is_bot)', {
|
|
|
|
'sources': [
|
2016-08-02 21:28:26 +00:00
|
|
|
'<!@(python find.py "*.c*" ../gm)',
|
2014-08-06 17:08:42 +00:00
|
|
|
|
|
|
|
# Files needed by particular GMs
|
2015-08-07 19:46:26 +00:00
|
|
|
'../src/gpu/batches/GrTestBatch.h',
|
2016-02-09 20:44:06 +00:00
|
|
|
'../tools/debugger/SkDrawCommand.h',
|
|
|
|
'../tools/debugger/SkDrawCommand.cpp',
|
|
|
|
'../tools/debugger/SkDebugCanvas.h',
|
|
|
|
'../tools/debugger/SkDebugCanvas.cpp',
|
2016-05-04 18:06:28 +00:00
|
|
|
'../tools/debugger/SkJsonWriteBuffer.h',
|
|
|
|
'../tools/debugger/SkJsonWriteBuffer.cpp',
|
2016-02-09 20:44:06 +00:00
|
|
|
'../tools/debugger/SkObjectParser.h',
|
|
|
|
'../tools/debugger/SkObjectParser.cpp',
|
2014-08-06 17:08:42 +00:00
|
|
|
],
|
2016-03-21 17:19:39 +00:00
|
|
|
'dependencies': [
|
|
|
|
'libpng.gyp:libpng',
|
2016-06-30 17:06:51 +00:00
|
|
|
'tools.gyp:picture_utils',
|
2016-03-21 17:19:39 +00:00
|
|
|
]
|
2014-08-06 17:08:42 +00:00
|
|
|
}],
|
2014-03-23 23:08:18 +00:00
|
|
|
],
|
2011-10-31 14:18:20 +00:00
|
|
|
}
|