Home | History | Annotate | Download | only in gyp
      1 # GYP file to build experimental directory.
      2 {
      3   'targets': [
      4     {
      5       'target_name': 'experimental',
      6       'type': 'static_library',
      7       'include_dirs': [
      8         '../include/config',
      9         '../include/core',
     10       ],
     11       'sources': [
     12         '../experimental/SkSetPoly3To3.cpp',
     13         '../experimental/SkSetPoly3To3_A.cpp',
     14         '../experimental/SkSetPoly3To3_D.cpp',
     15       ],
     16       'direct_dependent_settings': {
     17         'include_dirs': [
     18           '../experimental',
     19         ],
     20       },
     21     },
     22     {
     23       'target_name': 'SkiaExamples',
     24       'type': 'executable',
     25       'mac_bundle' : 1,
     26       'sources': [
     27         '../experimental/SkiaExamples/SkExample.h',
     28         '../experimental/SkiaExamples/SkExample.cpp',
     29         '../experimental/SkiaExamples/HelloSkiaExample.cpp',
     30       ],
     31       'dependencies': [
     32         'flags.gyp:flags',
     33         'skia_lib.gyp:skia_lib',
     34         'views.gyp:views',
     35         'xml.gyp:xml',
     36       ],
     37       'conditions' : [
     38         [ 'skia_gpu == 1', {
     39           'include_dirs' : [
     40             '../src/gpu',
     41           ],
     42         }],
     43         [ 'skia_os == "win"', {
     44           'sources' : [
     45             '../src/views/win/SkOSWindow_Win.cpp',
     46             '../src/views/win/skia_win.cpp',
     47           ],
     48         }],
     49         [ 'skia_os == "mac"', {
     50           'sources': [
     51             '../experimental/SkiaExamples/SkiaExamples-Info.plist',
     52             '../experimental/SkiaExamples/SkExampleNSView.h',
     53             '../experimental/SkiaExamples/SkExampleNSView.mm',
     54             '../src/views/mac/SampleAppDelegate.h',
     55             '../src/views/mac/SampleAppDelegate.mm',
     56             '../src/views/mac/SkEventNotifier.mm',
     57             '../src/views/mac/skia_mac.mm',
     58             '../src/views/mac/SkNSView.h',
     59             '../src/views/mac/SkNSView.mm',
     60             '../src/views/mac/SkOptionsTableView.h',
     61             '../src/views/mac/SkOptionsTableView.mm',
     62             '../src/views/mac/SkOSWindow_Mac.mm',
     63             '../src/views/mac/SkTextFieldCell.h',
     64             '../src/views/mac/SkTextFieldCell.m',
     65           ],
     66           'include_dirs' : [
     67             '../src/views/mac/'
     68           ],
     69           'xcode_settings' : {
     70             'INFOPLIST_FILE' : '../experimental/SkiaExamples/SkiaExamples-Info.plist',
     71           },
     72           'mac_bundle_resources' : [
     73             '../experimental/SkiaExamples/SkiaExamples.xib'
     74           ],
     75         }],
     76       ],
     77     }
     78   ],
     79 }
     80