b8f3655d49
This is a step toward targets declaring their deps in a sane fashion. This change resolves cycles by forcing core to the root, then everything in skia_lib pointing toward core as best possible, then everything outside skia_lib depending on skia_lib for things in skia_lib. This prevents double definitions where a symbol is provided by both the skia_lib shared object and and a statically linked component of skia_lib. R=djsollen@google.com Review URL: https://codereview.chromium.org/19823003 git-svn-id: http://skia.googlecode.com/svn/trunk@10231 2bbb7eff-a529-9590-31e7-b0007b416f81
72 lines
2.1 KiB
Python
72 lines
2.1 KiB
Python
#Animated widgets are views which use animator.
|
|
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'views_animated',
|
|
'type': 'static_library',
|
|
'dependencies': [
|
|
'skia_lib.gyp:skia_lib',
|
|
'angle.gyp:*',
|
|
'animator.gyp:*',
|
|
'views.gyp:*',
|
|
'xml.gyp:*',
|
|
],
|
|
'include_dirs': [
|
|
'../include/views/animated',
|
|
'../include/views/unix',
|
|
],
|
|
'sources': [
|
|
'../include/views/animated/SkBorderView.h',
|
|
'../include/views/animated/SkImageView.h',
|
|
'../include/views/animated/SkProgressBarView.h',
|
|
'../include/views/animated/SkScrollBarView.h',
|
|
'../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',
|
|
],
|
|
},
|
|
},
|
|
],
|
|
}
|
|
|
|
# Local Variables:
|
|
# tab-width:2
|
|
# indent-tabs-mode:nil
|
|
# End:
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|