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