blob: e91b28eb80e67aecde02bece4f778cb6cc1b28ca [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
2 'includes': [
epoger@google.com5351b372011-07-01 17:16:26 +00003 'common.gypi',
epoger@google.comae85aea2011-05-31 13:50:51 +00004 ],
5 'targets': [
6 {
7 'target_name': 'views',
8 'type': 'static_library',
9 'include_dirs': [
10 '../include/config',
11 '../include/core',
12 '../include/views',
13 '../include/xml',
14 '../include/utils',
15 '../include/images',
16 '../include/animator',
17 '../include/effects',
18 ],
19 'sources': [
20 '../include/views/SkApplication.h',
21 '../include/views/SkBGViewArtist.h',
22 '../include/views/SkBorderView.h',
23 '../include/views/SkEvent.h',
24 '../include/views/SkEventSink.h',
25 '../include/views/SkImageView.h',
26 '../include/views/SkKey.h',
27 '../include/views/SkOSMenu.h',
28 '../include/views/SkOSWindow_Mac.h',
29 '../include/views/SkOSWindow_SDL.h',
30 '../include/views/SkOSWindow_Unix.h',
31 '../include/views/SkOSWindow_Win.h',
32 #'../include/views/SkOSWindow_wxwidgets.h',
33 '../include/views/SkProgressBarView.h',
34 '../include/views/SkScrollBarView.h',
35 '../include/views/SkStackViewLayout.h',
36 '../include/views/SkSystemEventTypes.h',
37 '../include/views/SkTouchGesture.h',
38 '../include/views/SkView.h',
39 '../include/views/SkViewInflate.h',
40 '../include/views/SkWidget.h',
41 '../include/views/SkWidgetViews.h',
42 '../include/views/SkWindow.h',
43
44 '../src/views/SkBGViewArtist.cpp',
45 '../src/views/SkBorderView.cpp',
46 '../src/views/SkEvent.cpp',
47 '../src/views/SkEventSink.cpp',
48 '../src/views/SkImageView.cpp',
49 '../src/views/SkListView.cpp',
50 '../src/views/SkListWidget.cpp',
51 '../src/views/SkOSMenu.cpp',
52 '../src/views/SkParsePaint.cpp',
53 '../src/views/SkProgressBarView.cpp',
54 '../src/views/SkProgressView.cpp',
55 '../src/views/SkScrollBarView.cpp',
56 '../src/views/SkStackViewLayout.cpp',
57 '../src/views/SkStaticTextView.cpp',
58 '../src/views/SkTagList.cpp',
59 '../src/views/SkTagList.h',
60 '../src/views/SkTextBox.cpp',
61 '../src/views/SkTouchGesture.cpp',
62 '../src/views/SkView.cpp',
63 '../src/views/SkViewInflate.cpp',
64 '../src/views/SkViewPriv.cpp',
65 '../src/views/SkViewPriv.h',
66 '../src/views/SkWidget.cpp',
67 '../src/views/SkWidgets.cpp',
68 '../src/views/SkWidgetViews.cpp',
69 '../src/views/SkWindow.cpp',
70 ],
71 'sources!' : [
72 '../src/views/SkListView.cpp', #depends on missing SkListSource implementation
73 '../src/views/SkListWidget.cpp', #depends on missing SkListSource implementation
74 ],
75 'conditions': [
epoger@google.com8846cb22011-07-01 20:20:07 +000076 [ 'skia_os == "mac"', {
epoger@google.comae85aea2011-05-31 13:50:51 +000077 'link_settings': {
78 'libraries': [
yangsu@google.coma8540412011-08-30 14:40:49 +000079 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
80 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
epoger@google.comae85aea2011-05-31 13:50:51 +000081 ],
82 },
83 }],
epoger@google.com8846cb22011-07-01 20:20:07 +000084 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
epoger@google.comae85aea2011-05-31 13:50:51 +000085 'sources': [
epoger@google.comae85aea2011-05-31 13:50:51 +000086 '../unix_test_app/main.cpp',
87 ],
88 }],
djsollen@google.com6ff82552011-11-07 15:43:57 +000089 [ 'skia_os == "android"', {
90 # Android does not support animator so we need to remove all files
91 # that have references to it.
92 'include_dirs!': [
93 '../include/animator',
94 ],
95 'sources!': [
96 '../src/views/SkBorderView.cpp',
97 '../src/views/SkImageView.cpp',
98 '../src/views/SkProgressBarView.cpp',
99 '../src/views/SkScrollBarView.cpp',
100 '../src/views/SkStaticTextView.cpp',
101 '../src/views/SkWidgetViews.cpp',
102 ],
103 }],
epoger@google.comae85aea2011-05-31 13:50:51 +0000104 ],
105 'direct_dependent_settings': {
106 'include_dirs': [
107 '../include/views',
108 ],
109 },
110 },
111 ],
112}
113
114# Local Variables:
115# tab-width:2
116# indent-tabs-mode:nil
117# End:
118# vim: set expandtab tabstop=2 shiftwidth=2: