OLD | NEW |
(Empty) | |
| 1 { |
| 2 'targets' : [ |
| 3 { |
| 4 'target_name': 'SkiaExamples', |
| 5 'type': 'executable', |
| 6 'mac_bundle' : 1, |
| 7 'include_dirs' : [], |
| 8 'includes': [], |
| 9 'sources': [ |
| 10 '../experimental/SkiaExamples/HelloSkiaExample.cpp', |
| 11 '../experimental/SkiaExamples/BaseExample.h', |
| 12 '../experimental/SkiaExamples/BaseExample.cpp', |
| 13 ], |
| 14 'dependencies': [ |
| 15 'skia_lib.gyp:skia_lib', |
| 16 'views.gyp:views', |
| 17 'xml.gyp:xml', |
| 18 ], |
| 19 'conditions' : [ |
| 20 [ 'skia_gpu == 1', { |
| 21 'include_dirs' : [ |
| 22 '../src/gpu', #gl/GrGLUtil.h |
| 23 ] |
| 24 }], |
| 25 [ 'skia_os == "win"', { |
| 26 'sources' : [ |
| 27 '../src/views/win/SkOSWindow_Win.cpp', |
| 28 '../src/views/win/skia_win.cpp', |
| 29 ], |
| 30 }, |
| 31 ], |
| 32 |
| 33 [ 'skia_os == "mac"', { |
| 34 'sources': [ |
| 35 |
| 36 # SkiaExamples specific files |
| 37 '../experimental/SkiaExamples/SkiaExamples-Info.plist', |
| 38 '../experimental/SkiaExamples/SkExampleNSView.h', |
| 39 '../experimental/SkiaExamples/SkExampleNSView.mm', |
| 40 |
| 41 # Mac files |
| 42 '../src/views/mac/SampleAppDelegate.h', |
| 43 '../src/views/mac/SampleAppDelegate.mm', |
| 44 '../src/views/mac/SkEventNotifier.mm', |
| 45 '../src/views/mac/skia_mac.mm', |
| 46 '../src/views/mac/SkNSView.h', |
| 47 '../src/views/mac/SkNSView.mm', |
| 48 '../src/views/mac/SkOptionsTableView.h', |
| 49 '../src/views/mac/SkOptionsTableView.mm', |
| 50 '../src/views/mac/SkOSWindow_Mac.mm', |
| 51 '../src/views/mac/SkTextFieldCell.h', |
| 52 '../src/views/mac/SkTextFieldCell.m', |
| 53 ], |
| 54 'include_dirs' : [ |
| 55 '../src/views/mac/' |
| 56 ], |
| 57 'link_settings': { |
| 58 }, |
| 59 'xcode_settings' : { |
| 60 'INFOPLIST_FILE' : '../experimental/SkiaExamples/SkiaExamples-Info.plist
', |
| 61 }, |
| 62 'mac_bundle_resources' : [ |
| 63 '../experimental/SkiaExamples/SkiaExamples.xib' |
| 64 ], |
| 65 } |
| 66 ], |
| 67 ], |
| 68 } |
| 69 ], |
| 70 } |
| 71 |
| 72 # Local Variables: |
| 73 # tab-width:2 |
| 74 # indent-tabs-mode:nil |
| 75 # End: |
| 76 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |