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 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'most', | 9 'target_name': 'most', |
10 'type': 'none', | 10 'type': 'none', |
11 'dependencies': [ | 11 'dependencies': [ |
12 # The minimal set of static libraries for basic Skia functionality. | 12 # The minimal set of static libraries for basic Skia functionality. |
13 'skia_lib.gyp:skia_lib', | 13 'skia_lib.gyp:skia_lib', |
14 | 14 |
15 'bench.gyp:bench', | 15 'bench.gyp:bench', |
16 'gm.gyp:gm', | 16 'gm.gyp:gm', |
17 'SampleApp.gyp:SampleApp', | 17 'SampleApp.gyp:SampleApp', |
18 'tests.gyp:tests', | 18 'tests.gyp:tests', |
19 'tools.gyp:tools', | 19 'tools.gyp:tools', |
20 'pathops_unittest.gyp:*', | 20 'pathops_unittest.gyp:*', |
21 'skpskgr_test.gyp:*', | 21 'skpskgr_test.gyp:*', |
22 # 'pdfviewer.gyp:pdfviewer', | 22 # 'pdfviewer.gyp:pdfviewer', |
23 ], | 23 ], |
24 'conditions': [ | 24 'conditions': [ |
25 ['skia_os == "android"', { | 25 ['skia_os == "android"', { |
26 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], | 26 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], |
27 }], | 27 }], |
| 28 # DM assumes you've got a GPU. |
| 29 ['skia_gpu == 1', { |
| 30 'dependencies': [ 'dm.gyp:dm' ], |
| 31 }], |
28 ], | 32 ], |
29 }, | 33 }, |
30 ], | 34 ], |
31 } | 35 } |
OLD | NEW |