blob: 7998cd79d9a2050cfe32594bf86c16813bdb6384 [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': [
13 '../include/config',
14 '../include/core',
15 '../include/views',
16 '../include/xml',
17 '../include/utils',
18 '../include/images',
epoger@google.comae85aea2011-05-31 13:50:51 +000019 '../include/effects',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000020 '../include/views/unix',
epoger@google.comae85aea2011-05-31 13:50:51 +000021 ],
22 'sources': [
23 '../include/views/SkApplication.h',
24 '../include/views/SkBGViewArtist.h',
25 '../include/views/SkBorderView.h',
26 '../include/views/SkEvent.h',
27 '../include/views/SkEventSink.h',
28 '../include/views/SkImageView.h',
29 '../include/views/SkKey.h',
30 '../include/views/SkOSMenu.h',
31 '../include/views/SkOSWindow_Mac.h',
32 '../include/views/SkOSWindow_SDL.h',
33 '../include/views/SkOSWindow_Unix.h',
34 '../include/views/SkOSWindow_Win.h',
35 #'../include/views/SkOSWindow_wxwidgets.h',
36 '../include/views/SkProgressBarView.h',
37 '../include/views/SkScrollBarView.h',
38 '../include/views/SkStackViewLayout.h',
39 '../include/views/SkSystemEventTypes.h',
bungeman@google.com802eee92012-03-28 20:01:06 +000040 '../include/views/SkTextBox.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000041 '../include/views/SkTouchGesture.h',
42 '../include/views/SkView.h',
43 '../include/views/SkViewInflate.h',
44 '../include/views/SkWidget.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000045 '../include/views/SkWindow.h',
46
47 '../src/views/SkBGViewArtist.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000048 '../src/views/SkEvent.cpp',
49 '../src/views/SkEventSink.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000050 '../src/views/SkListView.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000051 '../src/views/SkOSMenu.cpp',
52 '../src/views/SkParsePaint.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000053 '../src/views/SkProgressView.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000054 '../src/views/SkStackViewLayout.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000055 '../src/views/SkTagList.cpp',
56 '../src/views/SkTagList.h',
57 '../src/views/SkTextBox.cpp',
58 '../src/views/SkTouchGesture.cpp',
59 '../src/views/SkView.cpp',
60 '../src/views/SkViewInflate.cpp',
61 '../src/views/SkViewPriv.cpp',
62 '../src/views/SkViewPriv.h',
63 '../src/views/SkWidget.cpp',
64 '../src/views/SkWidgets.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000065 '../src/views/SkWindow.cpp',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000066
67 #mac
68 '../src/views/mac/SkOSWindow_Mac.mm',
69 '../src/views/mac/skia_mac.mm',
70
71 #sdl
72 '../src/views/SDL/SkOSWindow_SDL.cpp',
73
74 #*nix
75 '../src/views/unix/SkOSWindow_Unix.cpp',
76 '../src/views/unix/keysym2ucs.c',
epoger@google.comc62923d2012-03-22 15:37:22 +000077 '../src/views/unix/skia_unix.cpp',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000078
79 #windows
80 '../src/views/win/SkOSWindow_win.cpp',
81 '../src/views/win/skia_win.cpp',
82
epoger@google.comae85aea2011-05-31 13:50:51 +000083 ],
84 'sources!' : [
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000085 '../src/views/SDL/SkOSWindow_SDL.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000086 ],
87 'conditions': [
epoger@google.com8846cb22011-07-01 20:20:07 +000088 [ 'skia_os == "mac"', {
epoger@google.comae85aea2011-05-31 13:50:51 +000089 'link_settings': {
90 'libraries': [
yangsu@google.coma8540412011-08-30 14:40:49 +000091 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
92 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
epoger@google.comae85aea2011-05-31 13:50:51 +000093 ],
94 },
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000095 },{
96 'sources!': [
97 '../src/views/mac/SkOSWindow_Mac.mm',
98 '../src/views/mac/skia_mac.mm',
99 ],
epoger@google.comae85aea2011-05-31 13:50:51 +0000100 }],
epoger@google.com8846cb22011-07-01 20:20:07 +0000101 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
bungeman@google.comcbd76ae2012-03-21 20:59:49 +0000102 },{
103 'sources!': [
104 '../src/views/unix/SkOSWindow_Unix.cpp',
105 '../src/views/unix/keysym2ucs.c',
epoger@google.comc62923d2012-03-22 15:37:22 +0000106 '../src/views/unix/skia_unix.cpp',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +0000107 ],
108 }],
109 [ 'skia_os == "win"', {
110 },{
111 'sources!': [
112 '../src/views/win/SkOSWindow_win.cpp',
113 '../src/views/win/skia_win.cpp',
114 ],
epoger@google.comae85aea2011-05-31 13:50:51 +0000115 }],
epoger@google.comae85aea2011-05-31 13:50:51 +0000116 ],
117 'direct_dependent_settings': {
118 'include_dirs': [
119 '../include/views',
120 ],
121 },
122 },
123 ],
124}
125
126# Local Variables:
127# tab-width:2
128# indent-tabs-mode:nil
129# End:
130# vim: set expandtab tabstop=2 shiftwidth=2: