1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# include this gypi to include all the golden master slides.
{
'include_dirs': [
'../gm',
# include dirs needed by particular GMs
'../src/utils/debugger',
'../src/images',
'../src/lazy',
],
'conditions': [
# 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': [
'<!@(python find.py ../gm "*.c*")',
# Files needed by particular GMs
'../src/gpu/GrTestBatch.h',
'../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',
],
'sources!': [
'../gm/system_preferences_default.cpp',
'../gm/techtalk1.cpp',
],
}],
# TODO: Several GMs are known to cause particular problems on Android, so
# we disable them on Android. See http://skbug.com/2326
[ 'skia_os == "android"', {
'sources!': [
# TODO(borenet): Causes assertion failure on Nexus S.
# See http://skbug.com/705
'../gm/bitmapcopy.cpp',
# SOME of the bitmaprect tests are disabled on Android; see
# ../gm/bitmaprect.cpp
# We skip GPU tests in this GM; see
# ../gm/deviceproperties.cpp
# TODO(bsalomon): Hangs on Xoom and Nexus S. See http://skbug.com/637
'../gm/drawbitmaprect.cpp',
# TODO(epoger): Crashes on Nexus 10. See http://skbug.com/2313
'../gm/imagefilterscropexpand.cpp',
# TODO(borenet): Causes Nexus S to reboot. See http://skbug.com/665
'../gm/shadertext.cpp',
'../gm/shadertext2.cpp',
'../gm/shadertext3.cpp',
# TODO(reed): Allocates more memory than Android devices are capable of
# fulfilling. See http://skbug.com/1978
'../gm/verylargebitmap.cpp',
],
}],
],
}
|