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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Build ALMOST everything provided by Skia; this should be the default target.
#
# This omits the following targets that many developers won't want to build:
# - debugger: this requires QT to build
#
{
'variables': {
'skia_skip_gui%': 0,
},
'targets': [
{
'target_name': 'most',
'type': 'none',
'dependencies': [
# The minimal set of static libraries for basic Skia functionality.
'skia_lib.gyp:skia_lib',
'bench.gyp:*',
'example.gyp:HelloWorld',
'SampleApp.gyp:SampleApp',
'tools.gyp:tools',
'pathops_unittest.gyp:*',
'pathops_skpclip.gyp:*',
'dm.gyp:dm',
'fuzz.gyp:fuzz',
'skslc.gyp:skslc',
],
'conditions': [
[ 'skia_gpu == 0', {
'dependencies!': [
'viewer.gyp:viewer',
]
}],
[ 'skia_gpu == 0 or skia_os == "android"', {
'dependencies!': [
'example.gyp:HelloWorld',
],
}],
['skia_os == "android" and skia_vulkan == 1', {
'dependencies': [
'android_system.gyp:Viewer_APK',
],
}],
['skia_os == "android"', {
'dependencies!': [
'SampleApp.gyp:SampleApp',
],
}],
['skia_os == "ios"', {
'dependencies!': [
'example.gyp:HelloWorld',
'SampleApp.gyp:SampleApp',
],
'dependencies': ['iOSShell.gyp:iOSShell' ],
}],
['skia_os in ["linux", "mac", "win"]', {
'dependencies': [
'skiaserve.gyp:skiaserve',
],
}],
[ 'skia_os in ["win", "linux", "android", "mac"]', {
'dependencies': [
'viewer.gyp:viewer',
],
}],
[ 'skia_skip_gui',
{
'dependencies!': [
'example.gyp:HelloWorld',
'SampleApp.gyp:SampleApp',
]
}
],
],
},
],
}
|