epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 1 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'experimental', |
| 5 | 'type': 'static_library', |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 6 | 'include_dirs': [ |
| 7 | '../include/config', |
| 8 | '../include/core', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 9 | ], |
| 10 | 'sources': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 11 | '../experimental/SkSetPoly3To3.cpp', |
| 12 | '../experimental/SkSetPoly3To3_A.cpp', |
| 13 | '../experimental/SkSetPoly3To3_D.cpp', |
| 14 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 15 | 'direct_dependent_settings': { |
| 16 | 'include_dirs': [ |
| 17 | '../experimental', |
| 18 | ], |
| 19 | }, |
| 20 | }, |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 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.plist', |
| 82 | }, |
| 83 | 'mac_bundle_resources' : [ |
| 84 | '../experimental/SkiaExamples/SkiaExamples.xib' |
| 85 | ], |
| 86 | } |
| 87 | ], |
| 88 | ], |
| 89 | } |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 90 | ], |
| 91 | } |
| 92 | |
| 93 | # Local Variables: |
| 94 | # tab-width:2 |
| 95 | # indent-tabs-mode:nil |
| 96 | # End: |
| 97 | # vim: set expandtab tabstop=2 shiftwidth=2: |