scroggo@google.com | 7d8013f | 2013-11-20 21:40:57 +0000 | [diff] [blame] | 1 | # GYP file to build experimental directory. |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 2 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 3 | 'targets': [ |
| 4 | { |
| 5 | 'target_name': 'experimental', |
| 6 | 'type': 'static_library', |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 7 | 'include_dirs': [ |
| 8 | '../include/config', |
| 9 | '../include/core', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 10 | ], |
| 11 | 'sources': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 12 | '../experimental/SkSetPoly3To3.cpp', |
| 13 | '../experimental/SkSetPoly3To3_A.cpp', |
| 14 | '../experimental/SkSetPoly3To3_D.cpp', |
| 15 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 16 | 'direct_dependent_settings': { |
| 17 | 'include_dirs': [ |
| 18 | '../experimental', |
| 19 | ], |
| 20 | }, |
| 21 | }, |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 22 | { |
| 23 | 'target_name': 'SkiaExamples', |
| 24 | 'type': 'executable', |
| 25 | 'mac_bundle' : 1, |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 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 | }], |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 43 | [ 'skia_os == "win"', { |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 44 | 'sources' : [ |
| 45 | '../src/views/win/SkOSWindow_Win.cpp', |
| 46 | '../src/views/win/skia_win.cpp', |
| 47 | ], |
| 48 | }], |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 49 | [ 'skia_os == "mac"', { |
| 50 | 'sources': [ |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 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', |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 65 | ], |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 66 | 'include_dirs' : [ |
| 67 | '../src/views/mac/' |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 68 | ], |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 69 | 'xcode_settings' : { |
| 70 | 'INFOPLIST_FILE' : '../experimental/SkiaExamples/SkiaExamples-Info.plist', |
| 71 | }, |
| 72 | 'mac_bundle_resources' : [ |
| 73 | '../experimental/SkiaExamples/SkiaExamples.xib' |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 74 | ], |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 75 | }], |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 76 | ], |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 77 | } |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 78 | ], |
| 79 | } |