blob: 1767fe1a1b267c3bcba3e369ff515ed9dc11f71f [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.com5e41b372012-03-23 14:11:43 +000029 '../src/views/animated/SkProgressBarView.cpp',
30 '../src/views/animated/SkScrollBarView.cpp',
31 '../src/views/animated/SkStaticTextView.cpp',
32 '../src/views/animated/SkWidgetViews.cpp',
33 ],
bungeman@google.com5e41b372012-03-23 14:11:43 +000034 'conditions': [
35 [ 'skia_os == "mac"', {
36 'link_settings': {
37 'libraries': [
38 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
39 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
40 ],
41 },
42 }],
43 [ 'skia_os == "android"', {
44 # Android does not support animator so we need to remove all files
45 # that have references to it.
46 'include_dirs!': [
47 '../include/animator',
48 ],
49 'sources!': [
50 '../src/views/animated/SkBorderView.cpp',
51 '../src/views/animated/SkImageView.cpp',
bungeman@google.com5e41b372012-03-23 14:11:43 +000052 '../src/views/animated/SkProgressBarView.cpp',
53 '../src/views/animated/SkScrollBarView.cpp',
54 '../src/views/animated/SkStaticTextView.cpp',
55 '../src/views/animated/SkWidgetViews.cpp',
56 ],
57 }],
58 ],
59 'direct_dependent_settings': {
60 'include_dirs': [
61 '../include/views/animated',
62 ],
63 },
64 },
65 ],
66}
67
68# Local Variables:
69# tab-width:2
70# indent-tabs-mode:nil
71# End:
72# vim: set expandtab tabstop=2 shiftwidth=2: