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
|
|
|
|
'../src/utils/debugger',
|
|
|
|
'../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': [
|
2015-05-17 13:47:49 +00:00
|
|
|
'<!@(python find.py ../gm "*.c*")',
|
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',
|
2014-08-06 17:08:42 +00:00
|
|
|
'../src/utils/debugger/SkDrawCommand.h',
|
|
|
|
'../src/utils/debugger/SkDrawCommand.cpp',
|
|
|
|
'../src/utils/debugger/SkDebugCanvas.h',
|
|
|
|
'../src/utils/debugger/SkDebugCanvas.cpp',
|
|
|
|
'../src/utils/debugger/SkObjectParser.h',
|
|
|
|
'../src/utils/debugger/SkObjectParser.cpp',
|
|
|
|
],
|
2015-05-17 13:47:49 +00:00
|
|
|
'sources!': [
|
2015-07-29 12:27:47 +00:00
|
|
|
'../gm/annotated_text.cpp',
|
2015-05-17 13:47:49 +00:00
|
|
|
'../gm/system_preferences_default.cpp',
|
|
|
|
'../gm/techtalk1.cpp',
|
|
|
|
],
|
2014-08-06 17:08:42 +00:00
|
|
|
}],
|
2014-03-23 23:08:18 +00:00
|
|
|
],
|
2011-10-31 14:18:20 +00:00
|
|
|
}
|