bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 1 | #Animated widgets are views which use animator. |
| 2 | |
| 3 | { |
| 4 | 'targets': [ |
| 5 | { |
| 6 | 'target_name': 'views_animated', |
| 7 | 'type': 'static_library', |
bungeman@google.com | b8f3655 | 2013-07-22 14:39:45 +0000 | [diff] [blame] | 8 | 'dependencies': [ |
| 9 | 'skia_lib.gyp:skia_lib', |
bungeman@google.com | b8f3655 | 2013-07-22 14:39:45 +0000 | [diff] [blame] | 10 | 'animator.gyp:*', |
| 11 | 'views.gyp:*', |
| 12 | 'xml.gyp:*', |
| 13 | ], |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 14 | 'include_dirs': [ |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 15 | '../include/views/animated', |
scroggo@google.com | f8d7d27 | 2013-02-22 21:38:35 +0000 | [diff] [blame] | 16 | '../include/views/unix', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 17 | ], |
| 18 | 'sources': [ |
bungeman@google.com | 37946b5 | 2012-07-10 21:54:31 +0000 | [diff] [blame] | 19 | '../include/views/animated/SkBorderView.h', |
| 20 | '../include/views/animated/SkImageView.h', |
| 21 | '../include/views/animated/SkProgressBarView.h', |
| 22 | '../include/views/animated/SkScrollBarView.h', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 23 | '../include/views/animated/SkWidgetViews.h', |
| 24 | |
| 25 | '../src/views/animated/SkBorderView.cpp', |
| 26 | '../src/views/animated/SkImageView.cpp', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 27 | '../src/views/animated/SkProgressBarView.cpp', |
| 28 | '../src/views/animated/SkScrollBarView.cpp', |
| 29 | '../src/views/animated/SkStaticTextView.cpp', |
| 30 | '../src/views/animated/SkWidgetViews.cpp', |
| 31 | ], |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 32 | 'conditions': [ |
| 33 | [ 'skia_os == "mac"', { |
| 34 | 'link_settings': { |
| 35 | 'libraries': [ |
| 36 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 37 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 38 | ], |
| 39 | }, |
| 40 | }], |
| 41 | [ 'skia_os == "android"', { |
| 42 | # Android does not support animator so we need to remove all files |
| 43 | # that have references to it. |
| 44 | 'include_dirs!': [ |
| 45 | '../include/animator', |
| 46 | ], |
| 47 | 'sources!': [ |
| 48 | '../src/views/animated/SkBorderView.cpp', |
| 49 | '../src/views/animated/SkImageView.cpp', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 50 | '../src/views/animated/SkProgressBarView.cpp', |
| 51 | '../src/views/animated/SkScrollBarView.cpp', |
| 52 | '../src/views/animated/SkStaticTextView.cpp', |
| 53 | '../src/views/animated/SkWidgetViews.cpp', |
| 54 | ], |
| 55 | }], |
| 56 | ], |
| 57 | 'direct_dependent_settings': { |
| 58 | 'include_dirs': [ |
| 59 | '../include/views/animated', |
| 60 | ], |
| 61 | }, |
| 62 | }, |
| 63 | ], |
| 64 | } |