blob: c1a1f6b10e8f79731ca5b0656d5f7be7b6cd2f7f [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
joshualitt95964c62015-02-11 13:45:50 -080023 '../src/gpu/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 ],
halcanary2e0303f2015-05-17 06:47:49 -070031 'sources!': [
32 '../gm/system_preferences_default.cpp',
33 '../gm/techtalk1.cpp',
34 ],
mtkleina7e930f2014-08-06 10:08:42 -070035 }],
commit-bot@chromium.org7b789812014-03-24 20:07:44 +000036 # TODO: Several GMs are known to cause particular problems on Android, so
37 # we disable them on Android. See http://skbug.com/2326
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000038 [ 'skia_os == "android"', {
39 'sources!': [
commit-bot@chromium.org7b789812014-03-24 20:07:44 +000040 # TODO(borenet): Causes assertion failure on Nexus S.
41 # See http://skbug.com/705
42 '../gm/bitmapcopy.cpp',
43
44 # SOME of the bitmaprect tests are disabled on Android; see
45 # ../gm/bitmaprect.cpp
46
commit-bot@chromium.org7b789812014-03-24 20:07:44 +000047 # We skip GPU tests in this GM; see
48 # ../gm/deviceproperties.cpp
49
50 # TODO(bsalomon): Hangs on Xoom and Nexus S. See http://skbug.com/637
51 '../gm/drawbitmaprect.cpp',
52
53 # TODO(epoger): Crashes on Nexus 10. See http://skbug.com/2313
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000054 '../gm/imagefilterscropexpand.cpp',
commit-bot@chromium.org7b789812014-03-24 20:07:44 +000055
56 # TODO(borenet): Causes Nexus S to reboot. See http://skbug.com/665
57 '../gm/shadertext.cpp',
58 '../gm/shadertext2.cpp',
59 '../gm/shadertext3.cpp',
60
61 # TODO(reed): Allocates more memory than Android devices are capable of
62 # fulfilling. See http://skbug.com/1978
63 '../gm/verylargebitmap.cpp',
64 ],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000065 }],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000066 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000067}