blob: 4bfcb284128a89acc2ecdc8f6c25272f2c38cdd3 [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',
bungeman@google.comb8f36552013-07-22 14:39:45 +00008 'dependencies': [
9 'skia_lib.gyp:skia_lib',
10 'angle.gyp:*',
11 'animator.gyp:*',
12 'views.gyp:*',
13 'xml.gyp:*',
14 ],
bungeman@google.com5e41b372012-03-23 14:11:43 +000015 'include_dirs': [
bungeman@google.com5e41b372012-03-23 14:11:43 +000016 '../include/views/animated',
scroggo@google.comf8d7d272013-02-22 21:38:35 +000017 '../include/views/unix',
bungeman@google.com5e41b372012-03-23 14:11:43 +000018 ],
19 'sources': [
bungeman@google.com37946b52012-07-10 21:54:31 +000020 '../include/views/animated/SkBorderView.h',
21 '../include/views/animated/SkImageView.h',
22 '../include/views/animated/SkProgressBarView.h',
23 '../include/views/animated/SkScrollBarView.h',
bungeman@google.com5e41b372012-03-23 14:11:43 +000024 '../include/views/animated/SkWidgetViews.h',
25
26 '../src/views/animated/SkBorderView.cpp',
27 '../src/views/animated/SkImageView.cpp',
bungeman@google.com5e41b372012-03-23 14:11:43 +000028 '../src/views/animated/SkProgressBarView.cpp',
29 '../src/views/animated/SkScrollBarView.cpp',
30 '../src/views/animated/SkStaticTextView.cpp',
31 '../src/views/animated/SkWidgetViews.cpp',
32 ],
bungeman@google.com5e41b372012-03-23 14:11:43 +000033 'conditions': [
34 [ 'skia_os == "mac"', {
35 'link_settings': {
36 'libraries': [
37 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
38 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
39 ],
40 },
41 }],
42 [ 'skia_os == "android"', {
43 # Android does not support animator so we need to remove all files
44 # that have references to it.
45 'include_dirs!': [
46 '../include/animator',
47 ],
48 'sources!': [
49 '../src/views/animated/SkBorderView.cpp',
50 '../src/views/animated/SkImageView.cpp',
bungeman@google.com5e41b372012-03-23 14:11:43 +000051 '../src/views/animated/SkProgressBarView.cpp',
52 '../src/views/animated/SkScrollBarView.cpp',
53 '../src/views/animated/SkStaticTextView.cpp',
54 '../src/views/animated/SkWidgetViews.cpp',
55 ],
56 }],
57 ],
58 'direct_dependent_settings': {
59 'include_dirs': [
60 '../include/views/animated',
61 ],
62 },
63 },
64 ],
65}
66
67# Local Variables:
68# tab-width:2
69# indent-tabs-mode:nil
70# End:
71# vim: set expandtab tabstop=2 shiftwidth=2: