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