blob: f7cd05202dd77277ca6823c027ba594b5d1f4f82 [file] [log] [blame]
bungeman@google.com5e41b372012-03-23 14:11:43 +00001#Animated widgets are views which use animator.
2
3{
4 'targets': [
5 {
6 'target_name': 'views_animated',
7 'type': 'static_library',
8 'include_dirs': [
9 '../include/config',
10 '../include/core',
11 '../include/views',
12 '../include/xml',
13 '../include/utils',
14 '../include/images',
15 '../include/animator',
16 '../include/effects',
17 '../include/views/unix',
18 '../include/views/animated',
19 ],
20 'sources': [
21 '../include/views/animated/SkWidgetViews.h',
22
23 '../src/views/animated/SkBorderView.cpp',
24 '../src/views/animated/SkImageView.cpp',
25 '../src/views/animated/SkListWidget.cpp',
26 '../src/views/animated/SkProgressBarView.cpp',
27 '../src/views/animated/SkScrollBarView.cpp',
28 '../src/views/animated/SkStaticTextView.cpp',
29 '../src/views/animated/SkWidgetViews.cpp',
30 ],
31 'sources!' : [
32 '../src/views/animated/SkListView.cpp', #depends on missing SkListSource implementation
33 '../src/views/animated/SkListWidget.cpp', #depends on missing SkListSource implementation
34 ],
35 'conditions': [
36 [ 'skia_os == "mac"', {
37 'link_settings': {
38 'libraries': [
39 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
40 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
41 ],
42 },
43 }],
44 [ 'skia_os == "android"', {
45 # Android does not support animator so we need to remove all files
46 # that have references to it.
47 'include_dirs!': [
48 '../include/animator',
49 ],
50 'sources!': [
51 '../src/views/animated/SkBorderView.cpp',
52 '../src/views/animated/SkImageView.cpp',
53 '../src/views/animated/SkListWidget.cpp',
54 '../src/views/animated/SkProgressBarView.cpp',
55 '../src/views/animated/SkScrollBarView.cpp',
56 '../src/views/animated/SkStaticTextView.cpp',
57 '../src/views/animated/SkWidgetViews.cpp',
58 ],
59 }],
60 ],
61 'direct_dependent_settings': {
62 'include_dirs': [
63 '../include/views/animated',
64 ],
65 },
66 },
67 ],
68}
69
70# Local Variables:
71# tab-width:2
72# indent-tabs-mode:nil
73# End:
74# vim: set expandtab tabstop=2 shiftwidth=2: