blob: f3d3759f7d93f869e1cf0da09771d3f41267e572 [file] [log] [blame]
bungeman@google.com5e41b372012-03-23 14:11:43 +00001#Views is the Skia windowing toolkit.
2#It provides
3# * a portable means of creating native windows
4# * events
5# * basic widgets and controls
6
epoger@google.comae85aea2011-05-31 13:50:51 +00007{
epoger@google.comae85aea2011-05-31 13:50:51 +00008 'targets': [
9 {
10 'target_name': 'views',
11 'type': 'static_library',
12 'include_dirs': [
bungeman@google.com5a64e582012-03-29 14:51:56 +000013 '../include/config',
14 '../include/core',
epoger@google.comae85aea2011-05-31 13:50:51 +000015 '../include/views',
bungeman@google.com5a64e582012-03-29 14:51:56 +000016 '../include/xml',
17 '../include/utils',
18 '../include/images',
19 '../include/effects',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000020 '../include/views/unix',
robertphillips@google.com021bce92012-04-02 20:42:26 +000021 '../include/gpu',
22 ],
23 'dependencies': [
24 'angle.gyp:*',
epoger@google.comae85aea2011-05-31 13:50:51 +000025 ],
26 'sources': [
27 '../include/views/SkApplication.h',
28 '../include/views/SkBGViewArtist.h',
29 '../include/views/SkBorderView.h',
30 '../include/views/SkEvent.h',
31 '../include/views/SkEventSink.h',
32 '../include/views/SkImageView.h',
33 '../include/views/SkKey.h',
34 '../include/views/SkOSMenu.h',
35 '../include/views/SkOSWindow_Mac.h',
36 '../include/views/SkOSWindow_SDL.h',
37 '../include/views/SkOSWindow_Unix.h',
38 '../include/views/SkOSWindow_Win.h',
39 #'../include/views/SkOSWindow_wxwidgets.h',
40 '../include/views/SkProgressBarView.h',
41 '../include/views/SkScrollBarView.h',
42 '../include/views/SkStackViewLayout.h',
43 '../include/views/SkSystemEventTypes.h',
bungeman@google.com802eee92012-03-28 20:01:06 +000044 '../include/views/SkTextBox.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000045 '../include/views/SkTouchGesture.h',
46 '../include/views/SkView.h',
47 '../include/views/SkViewInflate.h',
48 '../include/views/SkWidget.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000049 '../include/views/SkWindow.h',
50
51 '../src/views/SkBGViewArtist.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000052 '../src/views/SkEvent.cpp',
53 '../src/views/SkEventSink.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000054 '../src/views/SkListView.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000055 '../src/views/SkOSMenu.cpp',
56 '../src/views/SkParsePaint.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000057 '../src/views/SkProgressView.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000058 '../src/views/SkStackViewLayout.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000059 '../src/views/SkTagList.cpp',
60 '../src/views/SkTagList.h',
61 '../src/views/SkTextBox.cpp',
62 '../src/views/SkTouchGesture.cpp',
63 '../src/views/SkView.cpp',
64 '../src/views/SkViewInflate.cpp',
65 '../src/views/SkViewPriv.cpp',
66 '../src/views/SkViewPriv.h',
67 '../src/views/SkWidget.cpp',
68 '../src/views/SkWidgets.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000069 '../src/views/SkWindow.cpp',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000070
71 #mac
72 '../src/views/mac/SkOSWindow_Mac.mm',
73 '../src/views/mac/skia_mac.mm',
74
75 #sdl
76 '../src/views/SDL/SkOSWindow_SDL.cpp',
77
78 #*nix
79 '../src/views/unix/SkOSWindow_Unix.cpp',
80 '../src/views/unix/keysym2ucs.c',
epoger@google.comc62923d2012-03-22 15:37:22 +000081 '../src/views/unix/skia_unix.cpp',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000082
83 #windows
84 '../src/views/win/SkOSWindow_win.cpp',
85 '../src/views/win/skia_win.cpp',
86
epoger@google.comae85aea2011-05-31 13:50:51 +000087 ],
88 'sources!' : [
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000089 '../src/views/SDL/SkOSWindow_SDL.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000090 ],
91 'conditions': [
epoger@google.com8846cb22011-07-01 20:20:07 +000092 [ 'skia_os == "mac"', {
epoger@google.comae85aea2011-05-31 13:50:51 +000093 'link_settings': {
94 'libraries': [
yangsu@google.coma8540412011-08-30 14:40:49 +000095 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
96 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
epoger@google.comae85aea2011-05-31 13:50:51 +000097 ],
98 },
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000099 },{
100 'sources!': [
101 '../src/views/mac/SkOSWindow_Mac.mm',
102 '../src/views/mac/skia_mac.mm',
103 ],
epoger@google.comae85aea2011-05-31 13:50:51 +0000104 }],
epoger@google.com8846cb22011-07-01 20:20:07 +0000105 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
bungeman@google.comcbd76ae2012-03-21 20:59:49 +0000106 },{
107 'sources!': [
108 '../src/views/unix/SkOSWindow_Unix.cpp',
109 '../src/views/unix/keysym2ucs.c',
epoger@google.comc62923d2012-03-22 15:37:22 +0000110 '../src/views/unix/skia_unix.cpp',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +0000111 ],
112 }],
113 [ 'skia_os == "win"', {
114 },{
115 'sources!': [
116 '../src/views/win/SkOSWindow_win.cpp',
117 '../src/views/win/skia_win.cpp',
118 ],
epoger@google.comae85aea2011-05-31 13:50:51 +0000119 }],
epoger@google.comae85aea2011-05-31 13:50:51 +0000120 ],
121 'direct_dependent_settings': {
122 'include_dirs': [
123 '../include/views',
124 ],
125 },
126 },
127 ],
128}
129
130# Local Variables:
131# tab-width:2
132# indent-tabs-mode:nil
133# End:
134# vim: set expandtab tabstop=2 shiftwidth=2: