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': [ |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 9 | '../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.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 18 | '../include/views/animated', |
| 19 | ], |
| 20 | 'sources': [ |
bungeman@google.com | 37946b5 | 2012-07-10 21:54:31 +0000 | [diff] [blame] | 21 | '../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.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 25 | '../include/views/animated/SkWidgetViews.h', |
| 26 | |
| 27 | '../src/views/animated/SkBorderView.cpp', |
| 28 | '../src/views/animated/SkImageView.cpp', |
bungeman@google.com | 37946b5 | 2012-07-10 21:54:31 +0000 | [diff] [blame] | 29 | '../src/views/animated/SkListView.cpp', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 30 | '../src/views/animated/SkListWidget.cpp', |
| 31 | '../src/views/animated/SkProgressBarView.cpp', |
| 32 | '../src/views/animated/SkScrollBarView.cpp', |
| 33 | '../src/views/animated/SkStaticTextView.cpp', |
| 34 | '../src/views/animated/SkWidgetViews.cpp', |
| 35 | ], |
| 36 | 'sources!' : [ |
| 37 | '../src/views/animated/SkListView.cpp', #depends on missing SkListSource implementation |
| 38 | '../src/views/animated/SkListWidget.cpp', #depends on missing SkListSource implementation |
| 39 | ], |
| 40 | 'conditions': [ |
| 41 | [ 'skia_os == "mac"', { |
| 42 | 'link_settings': { |
| 43 | 'libraries': [ |
| 44 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 45 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 46 | ], |
| 47 | }, |
| 48 | }], |
| 49 | [ 'skia_os == "android"', { |
| 50 | # Android does not support animator so we need to remove all files |
| 51 | # that have references to it. |
| 52 | 'include_dirs!': [ |
| 53 | '../include/animator', |
| 54 | ], |
| 55 | 'sources!': [ |
| 56 | '../src/views/animated/SkBorderView.cpp', |
| 57 | '../src/views/animated/SkImageView.cpp', |
| 58 | '../src/views/animated/SkListWidget.cpp', |
| 59 | '../src/views/animated/SkProgressBarView.cpp', |
| 60 | '../src/views/animated/SkScrollBarView.cpp', |
| 61 | '../src/views/animated/SkStaticTextView.cpp', |
| 62 | '../src/views/animated/SkWidgetViews.cpp', |
| 63 | ], |
| 64 | }], |
| 65 | ], |
| 66 | 'direct_dependent_settings': { |
| 67 | 'include_dirs': [ |
| 68 | '../include/views/animated', |
| 69 | ], |
| 70 | }, |
| 71 | }, |
| 72 | ], |
| 73 | } |
| 74 | |
| 75 | # Local Variables: |
| 76 | # tab-width:2 |
| 77 | # indent-tabs-mode:nil |
| 78 | # End: |
| 79 | # vim: set expandtab tabstop=2 shiftwidth=2: |