blob: 29e981d15581fc2ed7d968144cb00208b05f5bfc [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': [
scroggo@google.comf8d7d272013-02-22 21:38:35 +00009 '../include/animator',
bungeman@google.com5a64e582012-03-29 14:51:56 +000010 '../include/config',
11 '../include/core',
bungeman@google.com5a64e582012-03-29 14:51:56 +000012 '../include/effects',
scroggo@google.comf8d7d272013-02-22 21:38:35 +000013 '../include/images',
14 '../include/lazy',
15 '../include/utils',
16 '../include/views',
bungeman@google.com5e41b372012-03-23 14:11:43 +000017 '../include/views/animated',
scroggo@google.comf8d7d272013-02-22 21:38:35 +000018 '../include/views/unix',
19 '../include/xml',
bungeman@google.com5e41b372012-03-23 14:11:43 +000020 ],
21 'sources': [
bungeman@google.com37946b52012-07-10 21:54:31 +000022 '../include/views/animated/SkBorderView.h',
23 '../include/views/animated/SkImageView.h',
24 '../include/views/animated/SkProgressBarView.h',
25 '../include/views/animated/SkScrollBarView.h',
bungeman@google.com5e41b372012-03-23 14:11:43 +000026 '../include/views/animated/SkWidgetViews.h',
27
28 '../src/views/animated/SkBorderView.cpp',
29 '../src/views/animated/SkImageView.cpp',
bungeman@google.com5e41b372012-03-23 14:11:43 +000030 '../src/views/animated/SkProgressBarView.cpp',
31 '../src/views/animated/SkScrollBarView.cpp',
32 '../src/views/animated/SkStaticTextView.cpp',
33 '../src/views/animated/SkWidgetViews.cpp',
34 ],
bungeman@google.com5e41b372012-03-23 14:11:43 +000035 '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',
bungeman@google.com5e41b372012-03-23 14:11:43 +000053 '../src/views/animated/SkProgressBarView.cpp',
54 '../src/views/animated/SkScrollBarView.cpp',
55 '../src/views/animated/SkStaticTextView.cpp',
56 '../src/views/animated/SkWidgetViews.cpp',
57 ],
58 }],
59 ],
60 'direct_dependent_settings': {
61 'include_dirs': [
62 '../include/views/animated',
63 ],
64 },
65 },
66 ],
67}
68
69# Local Variables:
70# tab-width:2
71# indent-tabs-mode:nil
72# End:
73# vim: set expandtab tabstop=2 shiftwidth=2: