blob: 90d5351f29c1ec2ebfdb376dbddb6cf5738b4eb3 [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': [
bungeman@google.com5a64e582012-03-29 14:51:56 +00009 '../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',
bungeman@google.com5e41b372012-03-23 14:11:43 +000018 '../include/views/animated',
19 ],
20 'sources': [
bungeman@google.com37946b52012-07-10 21:54:31 +000021 '../include/views/animated/SkBorderView.h',
22 '../include/views/animated/SkImageView.h',
23 '../include/views/animated/SkProgressBarView.h',
24 '../include/views/animated/SkScrollBarView.h',
bungeman@google.com5e41b372012-03-23 14:11:43 +000025 '../include/views/animated/SkWidgetViews.h',
26
27 '../src/views/animated/SkBorderView.cpp',
28 '../src/views/animated/SkImageView.cpp',
bungeman@google.com37946b52012-07-10 21:54:31 +000029 '../src/views/animated/SkListView.cpp',
bungeman@google.com5e41b372012-03-23 14:11:43 +000030 '../src/views/animated/SkListWidget.cpp',
31 '../src/views/animated/SkProgressBarView.cpp',
32 '../src/views/animated/SkScrollBarView.cpp',
33 '../src/views/animated/SkStaticTextView.cpp',
34 '../src/views/animated/SkWidgetViews.cpp',
35 ],
36 'sources!' : [
37 '../src/views/animated/SkListView.cpp', #depends on missing SkListSource implementation
38 '../src/views/animated/SkListWidget.cpp', #depends on missing SkListSource implementation
39 ],
40 'conditions': [
41 [ 'skia_os == "mac"', {
42 'link_settings': {
43 'libraries': [
44 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
45 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
46 ],
47 },
48 }],
49 [ 'skia_os == "android"', {
50 # Android does not support animator so we need to remove all files
51 # that have references to it.
52 'include_dirs!': [
53 '../include/animator',
54 ],
55 'sources!': [
56 '../src/views/animated/SkBorderView.cpp',
57 '../src/views/animated/SkImageView.cpp',
58 '../src/views/animated/SkListWidget.cpp',
59 '../src/views/animated/SkProgressBarView.cpp',
60 '../src/views/animated/SkScrollBarView.cpp',
61 '../src/views/animated/SkStaticTextView.cpp',
62 '../src/views/animated/SkWidgetViews.cpp',
63 ],
64 }],
65 ],
66 'direct_dependent_settings': {
67 'include_dirs': [
68 '../include/views/animated',
69 ],
70 },
71 },
72 ],
73}
74
75# Local Variables:
76# tab-width:2
77# indent-tabs-mode:nil
78# End:
79# vim: set expandtab tabstop=2 shiftwidth=2: