blob: 87fe920371787092ac91817d8f8233f67d7f9969 [file] [log] [blame]
scroggo@google.com7d8013f2013-11-20 21:40:57 +00001# GYP file to build experimental directory.
epoger@google.comae85aea2011-05-31 13:50:51 +00002{
epoger@google.comae85aea2011-05-31 13:50:51 +00003 'targets': [
4 {
5 'target_name': 'experimental',
6 'type': 'static_library',
bungeman@google.com5a64e582012-03-29 14:51:56 +00007 'include_dirs': [
8 '../include/config',
9 '../include/core',
epoger@google.comae85aea2011-05-31 13:50:51 +000010 ],
11 'sources': [
epoger@google.comae85aea2011-05-31 13:50:51 +000012 '../experimental/SkSetPoly3To3.cpp',
13 '../experimental/SkSetPoly3To3_A.cpp',
14 '../experimental/SkSetPoly3To3_D.cpp',
15 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000016 'direct_dependent_settings': {
17 'include_dirs': [
18 '../experimental',
19 ],
20 },
21 },
sglez@google.com43f2b2c2013-07-24 17:48:03 +000022 {
23 'target_name': 'SkiaExamples',
24 'type': 'executable',
25 'mac_bundle' : 1,
tfarina1c4d5782014-06-22 16:13:00 -070026 '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',
tfarina1c4d5782014-06-22 16:13:00 -070035 ],
36 'conditions' : [
37 [ 'skia_gpu == 1', {
38 'include_dirs' : [
39 '../src/gpu',
40 ],
41 }],
sglez@google.com43f2b2c2013-07-24 17:48:03 +000042 [ 'skia_os == "win"', {
tfarina1c4d5782014-06-22 16:13:00 -070043 'sources' : [
44 '../src/views/win/SkOSWindow_Win.cpp',
45 '../src/views/win/skia_win.cpp',
46 ],
47 }],
sglez@google.com43f2b2c2013-07-24 17:48:03 +000048 [ 'skia_os == "mac"', {
49 'sources': [
tfarina1c4d5782014-06-22 16:13:00 -070050 '../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.com43f2b2c2013-07-24 17:48:03 +000064 ],
tfarina1c4d5782014-06-22 16:13:00 -070065 'include_dirs' : [
66 '../src/views/mac/'
sglez@google.com43f2b2c2013-07-24 17:48:03 +000067 ],
tfarina1c4d5782014-06-22 16:13:00 -070068 'xcode_settings' : {
69 'INFOPLIST_FILE' : '../experimental/SkiaExamples/SkiaExamples-Info.plist',
70 },
71 'mac_bundle_resources' : [
72 '../experimental/SkiaExamples/SkiaExamples.xib'
sglez@google.com43f2b2c2013-07-24 17:48:03 +000073 ],
tfarina1c4d5782014-06-22 16:13:00 -070074 }],
sglez@google.com43f2b2c2013-07-24 17:48:03 +000075 ],
halcanary742cacd2014-12-01 12:21:25 -080076 },
77 {
78 'target_name': 'multipage_pdf_profiler',
79 'type': 'executable',
80 'sources': [
81 '../experimental/tools/multipage_pdf_profiler.cpp',
halcanary84bc52a2014-12-02 14:01:46 -080082 '../experimental/tools/PageCachingDocument.cpp',
halcanary742cacd2014-12-01 12:21:25 -080083 ],
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.comae85aea2011-05-31 13:50:51 +0000113 ],
114}