scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # 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.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 5 | # include this gypi to include all the golden master slides. |
| 6 | { |
commit-bot@chromium.org | 6adce67 | 2014-02-03 14:48:17 +0000 | [diff] [blame] | 7 | '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.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 14 | 'conditions': [ |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 15 | # 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': [ |
halcanary | 2e0303f | 2015-05-17 06:47:49 -0700 | [diff] [blame] | 20 | '<!@(python find.py ../gm "*.c*")', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 21 | |
| 22 | # Files needed by particular GMs |
joshualitt | 95964c6 | 2015-02-11 13:45:50 -0800 | [diff] [blame] | 23 | '../src/gpu/GrTestBatch.h', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 24 | '../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 | ], |
halcanary | 2e0303f | 2015-05-17 06:47:49 -0700 | [diff] [blame] | 31 | 'sources!': [ |
| 32 | '../gm/system_preferences_default.cpp', |
| 33 | '../gm/techtalk1.cpp', |
| 34 | ], |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 35 | }], |
commit-bot@chromium.org | 7b78981 | 2014-03-24 20:07:44 +0000 | [diff] [blame] | 36 | # 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.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 38 | [ 'skia_os == "android"', { |
| 39 | 'sources!': [ |
commit-bot@chromium.org | 7b78981 | 2014-03-24 20:07:44 +0000 | [diff] [blame] | 40 | # 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.org | 7b78981 | 2014-03-24 20:07:44 +0000 | [diff] [blame] | 47 | # 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.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 54 | '../gm/imagefilterscropexpand.cpp', |
commit-bot@chromium.org | 7b78981 | 2014-03-24 20:07:44 +0000 | [diff] [blame] | 55 | |
| 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.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 65 | }], |
commit-bot@chromium.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 66 | ], |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 67 | } |