OLD | NEW |
1 # Build ALMOST everything provided by Skia; this should be the default target. | 1 # Build ALMOST everything provided by Skia; this should be the default target. |
2 # | 2 # |
3 # This omits the following targets that many developers won't want to build: | 3 # This omits the following targets that many developers won't want to build: |
4 # - debugger: this requires QT to build | 4 # - debugger: this requires QT to build |
5 # | 5 # |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 'skia_skip_gui%': 0, | 8 'skia_skip_gui%': 0, |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'most', | 12 'target_name': 'most', |
13 'type': 'none', | 13 'type': 'none', |
14 'dependencies': [ | 14 'dependencies': [ |
15 # The minimal set of static libraries for basic Skia functionality. | 15 # The minimal set of static libraries for basic Skia functionality. |
16 'skia_lib.gyp:skia_lib', | 16 'skia_lib.gyp:skia_lib', |
17 | 17 |
18 'bench.gyp:*', | 18 'bench.gyp:*', |
19 'gm.gyp:gm', | 19 'gm.gyp:gm', |
20 'SampleApp.gyp:SampleApp', | 20 'SampleApp.gyp:SampleApp', |
21 'tests.gyp:tests', | |
22 'tools.gyp:tools', | 21 'tools.gyp:tools', |
23 'pathops_unittest.gyp:*', | 22 'pathops_unittest.gyp:*', |
24 'pathops_skpclip.gyp:*', | 23 'pathops_skpclip.gyp:*', |
25 # 'pdfviewer.gyp:pdfviewer', | 24 # 'pdfviewer.gyp:pdfviewer', |
26 'dm.gyp:dm', | 25 'dm.gyp:dm', |
27 ], | 26 ], |
28 'conditions': [ | 27 'conditions': [ |
29 ['skia_os == "android"', { | 28 ['skia_os == "android"', { |
30 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], | 29 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], |
31 }], | 30 }], |
32 ['skia_os == "ios"', { | 31 ['skia_os == "ios"', { |
33 'dependencies!': [ 'SampleApp.gyp:SampleApp' ], | 32 'dependencies!': [ 'SampleApp.gyp:SampleApp' ], |
34 'dependencies': ['iOSShell.gyp:iOSShell' ], | 33 'dependencies': ['iOSShell.gyp:iOSShell' ], |
35 }], | 34 }], |
36 ['skia_os == "mac" or skia_os == "linux"', { | 35 ['skia_os == "mac" or skia_os == "linux"', { |
37 'dependencies': [ 'nanomsg.gyp:*' ], | 36 'dependencies': [ 'nanomsg.gyp:*' ], |
38 }], | 37 }], |
39 [ 'skia_skip_gui', | 38 [ 'skia_skip_gui', |
40 { | 39 { |
41 'dependencies!': [ | 40 'dependencies!': [ |
42 'SampleApp.gyp:SampleApp', | 41 'SampleApp.gyp:SampleApp', |
43 ] | 42 ] |
44 } | 43 } |
45 ] | 44 ] |
46 ], | 45 ], |
47 }, | 46 }, |
48 ], | 47 ], |
49 } | 48 } |
OLD | NEW |