Chromium Code Reviews| 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 'all_tests', |
| 13 'skia_lib.gyp:skia_lib', | |
| 14 | |
| 15 'bench.gyp:bench', | |
| 16 'gm.gyp:gm', | |
| 17 'SampleApp.gyp:SampleApp', | 13 'SampleApp.gyp:SampleApp', |
| 18 'tests.gyp:tests', | |
| 19 'tools.gyp:tools', | |
| 20 'pathops_unittest.gyp:*', | |
| 21 'skpskgr_test.gyp:*', | 14 'skpskgr_test.gyp:*', |
| 22 # 'pdfviewer.gyp:pdfviewer', | 15 # 'pdfviewer.gyp:pdfviewer', |
| 23 ], | 16 ], |
| 24 'conditions': [ | 17 'conditions': [ |
| 25 ['skia_os == "android"', { | 18 ['skia_os == "android"', { |
| 26 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], | 19 'dependencies': [ 'android_system.gyp:SampleApp_APK' ], |
| 27 }], | 20 }], |
| 28 # DM assumes you've got a GPU. | 21 # DM assumes you've got a GPU. |
| 29 ['skia_gpu == 1', { | 22 ['skia_gpu == 1', { |
| 30 'dependencies': [ 'dm.gyp:dm' ], | 23 'dependencies': [ 'dm.gyp:dm' ], |
| 31 }], | 24 }], |
| 32 ], | 25 ], |
| 33 }, | 26 }, |
| 27 { | |
| 28 # Target for systems that can't run SampleApp. | |
| 29 'target_name': 'all_tests', | |
| 30 'type': 'none', | |
| 31 'dependencies': [ | |
| 32 'skia_lib.gyp:skia_lib', | |
|
scroggo
2014/02/18 21:46:24
skia_lib is not really a test. Better name for all
borenet
2014/02/18 22:15:36
I'm not sure why we need this target anyway, and I
hal.canary
2014/02/19 15:21:03
True. I don't need it here since all of these dep
hal.canary
2014/02/19 15:21:03
I added a variable to disable by default building
| |
| 33 'tests.gyp:tests', | |
| 34 'tools.gyp:tools', | |
| 35 'bench.gyp:bench', | |
| 36 'gm.gyp:gm', | |
| 37 'pathops_unittest.gyp:pathops_unittest', | |
| 38 ] | |
| 39 }, | |
| 34 ], | 40 ], |
| 35 } | 41 } |
| OLD | NEW |