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 { |
(...skipping 12 matching lines...) Expand all Loading... |
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 'visualbench.gyp:visualbench', |
31 ], | 31 ], |
32 'conditions': [ | 32 'conditions': [ |
| 33 [ 'skia_gpu == 0', { |
| 34 'dependencies!': [ |
| 35 'visualbench.gyp:visualbench' |
| 36 ] |
| 37 }], |
33 [ 'skia_gpu == 0 or skia_os == "android"', { | 38 [ 'skia_gpu == 0 or skia_os == "android"', { |
34 'dependencies!': [ | 39 'dependencies!': [ |
35 'example.gyp:HelloWorld', | 40 'example.gyp:HelloWorld', |
36 'visualbench.gyp:visualbench', | |
37 ], | 41 ], |
38 }], | 42 }], |
39 ['skia_os == "android"', { | 43 ['skia_os == "android"', { |
40 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], | 44 'dependencies': [ |
| 45 'android_system.gyp:SampleApp_APK', |
| 46 ], |
| 47 'conditions': [ |
| 48 [ 'skia_gpu == 1', { |
| 49 'dependencies': [ |
| 50 'android_system.gyp:VisualBench_APK', |
| 51 ], |
| 52 }], |
| 53 ], |
41 }], | 54 }], |
42 ['skia_os == "ios"', { | 55 ['skia_os == "ios"', { |
43 'dependencies!': [ | 56 'dependencies!': [ |
44 'example.gyp:HelloWorld', | 57 'example.gyp:HelloWorld', |
45 'SampleApp.gyp:SampleApp', | 58 'SampleApp.gyp:SampleApp', |
46 'visualbench.gyp:visualbench', | 59 'visualbench.gyp:visualbench', |
47 ], | 60 ], |
48 'dependencies': ['iOSShell.gyp:iOSShell' ], | 61 'dependencies': ['iOSShell.gyp:iOSShell' ], |
49 }], | 62 }], |
50 ['skia_os == "mac" or skia_os == "linux"', { | 63 ['skia_os == "mac" or skia_os == "linux"', { |
51 'dependencies': [ 'nanomsg.gyp:*' ], | 64 'dependencies': [ 'nanomsg.gyp:*' ], |
52 }], | 65 }], |
53 [ 'skia_skip_gui', | 66 [ 'skia_skip_gui', |
54 { | 67 { |
55 'dependencies!': [ | 68 'dependencies!': [ |
56 'example.gyp:HelloWorld', | 69 'example.gyp:HelloWorld', |
57 'SampleApp.gyp:SampleApp', | 70 'SampleApp.gyp:SampleApp', |
58 'visualbench.gyp:visualbench', | 71 'visualbench.gyp:visualbench', |
59 ] | 72 ] |
60 } | 73 } |
61 ] | 74 ] |
62 ], | 75 ], |
63 }, | 76 }, |
64 ], | 77 ], |
65 } | 78 } |
OLD | NEW |