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': [ 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', 18 '../include/views/animated', 19 ], 20 'sources': [ 21 '../include/views/animated/SkBorderView.h', 22 '../include/views/animated/SkImageView.h', 23 '../include/views/animated/SkProgressBarView.h', 24 '../include/views/animated/SkScrollBarView.h', 25 '../include/views/animated/SkWidgetViews.h', 26 27 '../src/views/animated/SkBorderView.cpp', 28 '../src/views/animated/SkImageView.cpp', 29 '../src/views/animated/SkProgressBarView.cpp', 30 '../src/views/animated/SkScrollBarView.cpp', 31 '../src/views/animated/SkStaticTextView.cpp', 32 '../src/views/animated/SkWidgetViews.cpp', 33 ], 34 'conditions': [ 35 [ 'skia_os == "mac"', { 36 'link_settings': { 37 'libraries': [ 38 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', 39 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 40 ], 41 }, 42 }], 43 [ 'skia_os == "android"', { 44 # Android does not support animator so we need to remove all files 45 # that have references to it. 46 'include_dirs!': [ 47 '../include/animator', 48 ], 49 'sources!': [ 50 '../src/views/animated/SkBorderView.cpp', 51 '../src/views/animated/SkImageView.cpp', 52 '../src/views/animated/SkProgressBarView.cpp', 53 '../src/views/animated/SkScrollBarView.cpp', 54 '../src/views/animated/SkStaticTextView.cpp', 55 '../src/views/animated/SkWidgetViews.cpp', 56 ], 57 }], 58 ], 59 'direct_dependent_settings': { 60 'include_dirs': [ 61 '../include/views/animated', 62 ], 63 }, 64 }, 65 ], 66 } 67 68 # Local Variables: 69 # tab-width:2 70 # indent-tabs-mode:nil 71 # End: 72 # vim: set expandtab tabstop=2 shiftwidth=2: 73