2012-03-23 14:11:43 +00:00
|
|
|
#Animated widgets are views which use animator.
|
|
|
|
|
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'views_animated',
|
|
|
|
'type': 'static_library',
|
2013-07-22 14:39:45 +00:00
|
|
|
'dependencies': [
|
|
|
|
'skia_lib.gyp:skia_lib',
|
|
|
|
'animator.gyp:*',
|
|
|
|
'views.gyp:*',
|
|
|
|
'xml.gyp:*',
|
|
|
|
],
|
2012-03-23 14:11:43 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'../include/views/animated',
|
2013-02-22 21:38:35 +00:00
|
|
|
'../include/views/unix',
|
2012-03-23 14:11:43 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
2012-07-10 21:54:31 +00:00
|
|
|
'../include/views/animated/SkBorderView.h',
|
|
|
|
'../include/views/animated/SkImageView.h',
|
|
|
|
'../include/views/animated/SkProgressBarView.h',
|
|
|
|
'../include/views/animated/SkScrollBarView.h',
|
2012-03-23 14:11:43 +00:00
|
|
|
'../include/views/animated/SkWidgetViews.h',
|
|
|
|
|
|
|
|
'../src/views/animated/SkBorderView.cpp',
|
|
|
|
'../src/views/animated/SkImageView.cpp',
|
|
|
|
'../src/views/animated/SkProgressBarView.cpp',
|
|
|
|
'../src/views/animated/SkScrollBarView.cpp',
|
|
|
|
'../src/views/animated/SkStaticTextView.cpp',
|
|
|
|
'../src/views/animated/SkWidgetViews.cpp',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_os == "mac"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "android"', {
|
|
|
|
# Android does not support animator so we need to remove all files
|
|
|
|
# that have references to it.
|
|
|
|
'include_dirs!': [
|
|
|
|
'../include/animator',
|
|
|
|
],
|
|
|
|
'sources!': [
|
|
|
|
'../src/views/animated/SkBorderView.cpp',
|
|
|
|
'../src/views/animated/SkImageView.cpp',
|
|
|
|
'../src/views/animated/SkProgressBarView.cpp',
|
|
|
|
'../src/views/animated/SkScrollBarView.cpp',
|
|
|
|
'../src/views/animated/SkStaticTextView.cpp',
|
|
|
|
'../src/views/animated/SkWidgetViews.cpp',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/views/animated',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|