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 # 'pdfviewer.gyp:pdfviewer', | 28 # 'pdfviewer.gyp:pdfviewer', |
29 'dm.gyp:dm', | 29 'dm.gyp:dm', |
| 30 'visualbench.gyp:visualbench', |
30 ], | 31 ], |
31 'conditions': [ | 32 'conditions': [ |
32 [ 'skia_gpu == 0 or skia_os == "android"', { | 33 [ 'skia_gpu == 0 or skia_os == "android"', { |
33 'dependencies!': [ | 34 'dependencies!': [ |
34 'example.gyp:HelloWorld', | 35 'example.gyp:HelloWorld', |
| 36 'visualbench.gyp:visualbench', |
35 ], | 37 ], |
36 }], | 38 }], |
37 ['skia_os == "android"', { | 39 ['skia_os == "android"', { |
38 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], | 40 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], |
39 }], | 41 }], |
40 ['skia_os == "ios"', { | 42 ['skia_os == "ios"', { |
41 'dependencies!': [ | 43 'dependencies!': [ |
42 'example.gyp:HelloWorld', | 44 'example.gyp:HelloWorld', |
43 'SampleApp.gyp:SampleApp', | 45 'SampleApp.gyp:SampleApp', |
| 46 'visualbench.gyp:visualbench', |
44 ], | 47 ], |
45 'dependencies': ['iOSShell.gyp:iOSShell' ], | 48 'dependencies': ['iOSShell.gyp:iOSShell' ], |
46 }], | 49 }], |
47 ['skia_os == "mac" or skia_os == "linux"', { | 50 ['skia_os == "mac" or skia_os == "linux"', { |
48 'dependencies': [ 'nanomsg.gyp:*' ], | 51 'dependencies': [ 'nanomsg.gyp:*' ], |
49 }], | 52 }], |
50 [ 'skia_skip_gui', | 53 [ 'skia_skip_gui', |
51 { | 54 { |
52 'dependencies!': [ | 55 'dependencies!': [ |
53 'example.gyp:HelloWorld', | 56 'example.gyp:HelloWorld', |
54 'SampleApp.gyp:SampleApp', | 57 'SampleApp.gyp:SampleApp', |
| 58 'visualbench.gyp:visualbench', |
55 ] | 59 ] |
56 } | 60 } |
57 ] | 61 ] |
58 ], | 62 ], |
59 }, | 63 }, |
60 ], | 64 ], |
61 } | 65 } |
OLD | NEW |