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', |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 35 | ], |
| 36 | 'conditions' : [ |
| 37 | [ 'skia_gpu == 1', { |
| 38 | 'include_dirs' : [ |
| 39 | '../src/gpu', |
| 40 | ], |
| 41 | }], |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 42 | [ 'skia_os == "win"', { |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 43 | 'sources' : [ |
| 44 | '../src/views/win/SkOSWindow_Win.cpp', |
| 45 | '../src/views/win/skia_win.cpp', |
| 46 | ], |
| 47 | }], |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 48 | [ 'skia_os == "mac"', { |
| 49 | 'sources': [ |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 50 | '../experimental/SkiaExamples/SkiaExamples-Info.plist', |
| 51 | '../experimental/SkiaExamples/SkExampleNSView.h', |
| 52 | '../experimental/SkiaExamples/SkExampleNSView.mm', |
| 53 | '../src/views/mac/SampleAppDelegate.h', |
| 54 | '../src/views/mac/SampleAppDelegate.mm', |
| 55 | '../src/views/mac/SkEventNotifier.mm', |
| 56 | '../src/views/mac/skia_mac.mm', |
| 57 | '../src/views/mac/SkNSView.h', |
| 58 | '../src/views/mac/SkNSView.mm', |
| 59 | '../src/views/mac/SkOptionsTableView.h', |
| 60 | '../src/views/mac/SkOptionsTableView.mm', |
| 61 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 62 | '../src/views/mac/SkTextFieldCell.h', |
| 63 | '../src/views/mac/SkTextFieldCell.m', |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 64 | ], |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 65 | 'include_dirs' : [ |
| 66 | '../src/views/mac/' |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 67 | ], |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 68 | 'xcode_settings' : { |
| 69 | 'INFOPLIST_FILE' : '../experimental/SkiaExamples/SkiaExamples-Info.plist', |
| 70 | }, |
| 71 | 'mac_bundle_resources' : [ |
| 72 | '../experimental/SkiaExamples/SkiaExamples.xib' |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 73 | ], |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 74 | }], |
sglez@google.com | 43f2b2c | 2013-07-24 17:48:03 +0000 | [diff] [blame] | 75 | ], |
halcanary | 742cacd | 2014-12-01 12:21:25 -0800 | [diff] [blame] | 76 | }, |
| 77 | { |
| 78 | 'target_name': 'multipage_pdf_profiler', |
| 79 | 'type': 'executable', |
| 80 | 'sources': [ |
| 81 | '../experimental/tools/multipage_pdf_profiler.cpp', |
halcanary | 84bc52a | 2014-12-02 14:01:46 -0800 | [diff] [blame] | 82 | '../experimental/tools/PageCachingDocument.cpp', |
halcanary | 742cacd | 2014-12-01 12:21:25 -0800 | [diff] [blame] | 83 | ], |
| 84 | 'dependencies': [ |
| 85 | 'skia_lib.gyp:skia_lib', |
| 86 | 'pdf.gyp:pdf', |
| 87 | 'tools.gyp:proc_stats', |
| 88 | 'tools.gyp:sk_tool_utils', |
| 89 | ], |
| 90 | }, |
| 91 | { |
| 92 | 'target_name': 'gmtoskp', |
| 93 | 'type': 'executable', |
| 94 | 'sources': [ |
| 95 | '../experimental/tools/gmtoskp.cpp', |
| 96 | '../gm/gm.cpp', |
| 97 | ], |
| 98 | 'include_dirs': [ |
| 99 | '../tools', |
| 100 | '../src/effects', |
| 101 | '../src/core', |
| 102 | '../src/gpu', |
| 103 | '../third_party/etc1', |
| 104 | ], |
| 105 | 'dependencies': [ |
| 106 | 'skia_lib.gyp:skia_lib', |
| 107 | 'tools.gyp:resources', |
| 108 | 'tools.gyp:sk_tool_utils', |
| 109 | 'gputest.gyp:skgputest', |
| 110 | ], |
| 111 | 'includes': [ 'gmslides.gypi', ], |
| 112 | }, |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 113 | ], |
| 114 | } |