OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # Build ALMOST everything provided by Skia; this should be the default target. | 5 # Build ALMOST everything provided by Skia; this should be the default target. |
6 # | 6 # |
7 # This omits the following targets that many developers won't want to build: | 7 # This omits the following targets that many developers won't want to build: |
8 # - debugger: this requires QT to build | 8 # - debugger: this requires QT to build |
9 # | 9 # |
10 { | 10 { |
11 'variables': { | 11 'variables': { |
12 'skia_skip_gui%': 0, | 12 'skia_skip_gui%': 0, |
13 }, | 13 }, |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 'target_name': 'most', | 16 'target_name': 'most', |
17 'type': 'none', | 17 'type': 'none', |
18 'dependencies': [ | 18 'dependencies': [ |
19 # The minimal set of static libraries for basic Skia functionality. | 19 # The minimal set of static libraries for basic Skia functionality. |
20 'skia_lib.gyp:skia_lib', | 20 'skia_lib.gyp:skia_lib', |
21 | 21 |
22 'bench.gyp:*', | 22 'bench.gyp:*', |
23 'example.gyp:HelloWorld', | 23 'example.gyp:HelloWorld', |
24 'SampleApp.gyp:SampleApp', | 24 'SampleApp.gyp:SampleApp', |
25 'tools.gyp:tools', | 25 'tools.gyp:tools', |
26 'pathops_unittest.gyp:*', | 26 'pathops_unittest.gyp:*', |
27 'pathops_skpclip.gyp:*', | 27 'pathops_skpclip.gyp:*', |
28 'dm.gyp:dm', | 28 'dm.gyp:dm', |
29 'fuzz.gyp:fuzz', | 29 'fuzz.gyp:fuzz', |
30 'viewer.gyp:viewer', | |
31 ], | 30 ], |
32 'conditions': [ | 31 'conditions': [ |
33 [ 'skia_gpu == 0', { | 32 [ 'skia_gpu == 0', { |
34 'dependencies!': [ | 33 'dependencies!': [ |
35 'viewer.gyp:viewer', | 34 'viewer.gyp:viewer', |
36 ] | 35 ] |
37 }], | 36 }], |
38 [ 'skia_gpu == 0 or skia_os == "android"', { | 37 [ 'skia_gpu == 0 or skia_os == "android"', { |
39 'dependencies!': [ | 38 'dependencies!': [ |
40 'example.gyp:HelloWorld', | 39 'example.gyp:HelloWorld', |
(...skipping 14 matching lines...) Expand all Loading... |
55 ['skia_os == "mac" or skia_os == "linux"', { | 54 ['skia_os == "mac" or skia_os == "linux"', { |
56 'dependencies': [ | 55 'dependencies': [ |
57 'nanomsg.gyp:*' , | 56 'nanomsg.gyp:*' , |
58 ], | 57 ], |
59 }], | 58 }], |
60 ['skia_os in ["linux", "mac", "win"]', { | 59 ['skia_os in ["linux", "mac", "win"]', { |
61 'dependencies': [ | 60 'dependencies': [ |
62 'skiaserve.gyp:skiaserve', | 61 'skiaserve.gyp:skiaserve', |
63 ], | 62 ], |
64 }], | 63 }], |
65 [ 'skia_vulkan == 0 or (skia_os != "win" and skia_os != "android")', { | 64 [ 'skia_os in ["win", "linux", "android"]', { |
66 'dependencies!': [ | 65 'dependencies': [ |
67 'viewer.gyp:viewer', | 66 'viewer.gyp:viewer', |
68 ], | 67 ], |
69 }], | 68 }], |
70 [ 'skia_skip_gui', | 69 [ 'skia_skip_gui', |
71 { | 70 { |
72 'dependencies!': [ | 71 'dependencies!': [ |
73 'example.gyp:HelloWorld', | 72 'example.gyp:HelloWorld', |
74 'SampleApp.gyp:SampleApp', | 73 'SampleApp.gyp:SampleApp', |
75 ] | 74 ] |
76 } | 75 } |
77 ], | 76 ], |
78 ], | 77 ], |
79 }, | 78 }, |
80 ], | 79 ], |
81 } | 80 } |
OLD | NEW |