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