blob: 832c1803bf76d9b7b365858210ba565f49abcb47 [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
epoger@google.comae85aea2011-05-31 13:50:51 +00002 'targets': [
3 {
4 'target_name': 'views',
5 'type': 'static_library',
6 'include_dirs': [
7 '../include/config',
8 '../include/core',
9 '../include/views',
10 '../include/xml',
11 '../include/utils',
12 '../include/images',
13 '../include/animator',
14 '../include/effects',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000015 '../include/views/unix',
epoger@google.comae85aea2011-05-31 13:50:51 +000016 ],
17 'sources': [
18 '../include/views/SkApplication.h',
19 '../include/views/SkBGViewArtist.h',
20 '../include/views/SkBorderView.h',
21 '../include/views/SkEvent.h',
22 '../include/views/SkEventSink.h',
23 '../include/views/SkImageView.h',
24 '../include/views/SkKey.h',
25 '../include/views/SkOSMenu.h',
26 '../include/views/SkOSWindow_Mac.h',
27 '../include/views/SkOSWindow_SDL.h',
28 '../include/views/SkOSWindow_Unix.h',
29 '../include/views/SkOSWindow_Win.h',
30 #'../include/views/SkOSWindow_wxwidgets.h',
31 '../include/views/SkProgressBarView.h',
32 '../include/views/SkScrollBarView.h',
33 '../include/views/SkStackViewLayout.h',
34 '../include/views/SkSystemEventTypes.h',
35 '../include/views/SkTouchGesture.h',
36 '../include/views/SkView.h',
37 '../include/views/SkViewInflate.h',
38 '../include/views/SkWidget.h',
39 '../include/views/SkWidgetViews.h',
40 '../include/views/SkWindow.h',
41
42 '../src/views/SkBGViewArtist.cpp',
43 '../src/views/SkBorderView.cpp',
44 '../src/views/SkEvent.cpp',
45 '../src/views/SkEventSink.cpp',
46 '../src/views/SkImageView.cpp',
47 '../src/views/SkListView.cpp',
48 '../src/views/SkListWidget.cpp',
49 '../src/views/SkOSMenu.cpp',
50 '../src/views/SkParsePaint.cpp',
51 '../src/views/SkProgressBarView.cpp',
52 '../src/views/SkProgressView.cpp',
53 '../src/views/SkScrollBarView.cpp',
54 '../src/views/SkStackViewLayout.cpp',
55 '../src/views/SkStaticTextView.cpp',
56 '../src/views/SkTagList.cpp',
57 '../src/views/SkTagList.h',
58 '../src/views/SkTextBox.cpp',
59 '../src/views/SkTouchGesture.cpp',
60 '../src/views/SkView.cpp',
61 '../src/views/SkViewInflate.cpp',
62 '../src/views/SkViewPriv.cpp',
63 '../src/views/SkViewPriv.h',
64 '../src/views/SkWidget.cpp',
65 '../src/views/SkWidgets.cpp',
66 '../src/views/SkWidgetViews.cpp',
67 '../src/views/SkWindow.cpp',
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000068
69 #mac
70 '../src/views/mac/SkOSWindow_Mac.mm',
71 '../src/views/mac/skia_mac.mm',
72
73 #sdl
74 '../src/views/SDL/SkOSWindow_SDL.cpp',
75
76 #*nix
77 '../src/views/unix/SkOSWindow_Unix.cpp',
78 '../src/views/unix/keysym2ucs.c',
79
80 #windows
81 '../src/views/win/SkOSWindow_win.cpp',
82 '../src/views/win/skia_win.cpp',
83
epoger@google.comae85aea2011-05-31 13:50:51 +000084 ],
85 'sources!' : [
86 '../src/views/SkListView.cpp', #depends on missing SkListSource implementation
87 '../src/views/SkListWidget.cpp', #depends on missing SkListSource implementation
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000088 '../src/views/SDL/SkOSWindow_SDL.cpp',
epoger@google.comae85aea2011-05-31 13:50:51 +000089 ],
90 'conditions': [
epoger@google.com8846cb22011-07-01 20:20:07 +000091 [ 'skia_os == "mac"', {
epoger@google.comae85aea2011-05-31 13:50:51 +000092 'link_settings': {
93 'libraries': [
yangsu@google.coma8540412011-08-30 14:40:49 +000094 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
95 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
epoger@google.comae85aea2011-05-31 13:50:51 +000096 ],
97 },
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000098 },{
99 'sources!': [
100 '../src/views/mac/SkOSWindow_Mac.mm',
101 '../src/views/mac/skia_mac.mm',
102 ],
epoger@google.comae85aea2011-05-31 13:50:51 +0000103 }],
epoger@google.com8846cb22011-07-01 20:20:07 +0000104 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
epoger@google.comae85aea2011-05-31 13:50:51 +0000105 'sources': [
epoger@google.comae85aea2011-05-31 13:50:51 +0000106 '../unix_test_app/main.cpp',
107 ],
bungeman@google.comcbd76ae2012-03-21 20:59:49 +0000108 },{
109 'sources!': [
110 '../src/views/unix/SkOSWindow_Unix.cpp',
111 '../src/views/unix/keysym2ucs.c',
112 ],
113 }],
114 [ 'skia_os == "win"', {
115 },{
116 'sources!': [
117 '../src/views/win/SkOSWindow_win.cpp',
118 '../src/views/win/skia_win.cpp',
119 ],
epoger@google.comae85aea2011-05-31 13:50:51 +0000120 }],
djsollen@google.com6ff82552011-11-07 15:43:57 +0000121 [ 'skia_os == "android"', {
122 # Android does not support animator so we need to remove all files
123 # that have references to it.
124 'include_dirs!': [
125 '../include/animator',
126 ],
127 'sources!': [
128 '../src/views/SkBorderView.cpp',
129 '../src/views/SkImageView.cpp',
130 '../src/views/SkProgressBarView.cpp',
131 '../src/views/SkScrollBarView.cpp',
132 '../src/views/SkStaticTextView.cpp',
133 '../src/views/SkWidgetViews.cpp',
134 ],
135 }],
epoger@google.comae85aea2011-05-31 13:50:51 +0000136 ],
137 'direct_dependent_settings': {
138 'include_dirs': [
139 '../include/views',
140 ],
141 },
142 },
143 ],
144}
145
146# Local Variables:
147# tab-width:2
148# indent-tabs-mode:nil
149# End:
150# vim: set expandtab tabstop=2 shiftwidth=2: