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', |
| 8 | 'include_dirs': [ |
scroggo@google.com | f8d7d27 | 2013-02-22 21:38:35 +0000 | [diff] [blame] | 9 | '../include/animator', |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 10 | '../include/config', |
| 11 | '../include/core', |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 12 | '../include/effects', |
scroggo@google.com | f8d7d27 | 2013-02-22 21:38:35 +0000 | [diff] [blame] | 13 | '../include/images', |
| 14 | '../include/lazy', |
| 15 | '../include/utils', |
| 16 | '../include/views', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 17 | '../include/views/animated', |
scroggo@google.com | f8d7d27 | 2013-02-22 21:38:35 +0000 | [diff] [blame] | 18 | '../include/views/unix', |
| 19 | '../include/xml', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 20 | ], |
| 21 | 'sources': [ |
bungeman@google.com | 37946b5 | 2012-07-10 21:54:31 +0000 | [diff] [blame] | 22 | '../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.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 26 | '../include/views/animated/SkWidgetViews.h', |
| 27 | |
| 28 | '../src/views/animated/SkBorderView.cpp', |
| 29 | '../src/views/animated/SkImageView.cpp', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 30 | '../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.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 35 | '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.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 53 | '../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: |