3e5622764a
Prevents some PRESUBMIT errors. TBR=mtklein@google.com Review URL: https://codereview.chromium.org/1035523003
69 lines
2.1 KiB
Python
69 lines
2.1 KiB
Python
# Copyright 2015 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#Animated widgets are views which use animator.
|
|
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'views_animated',
|
|
'type': 'static_library',
|
|
'dependencies': [
|
|
'skia_lib.gyp:skia_lib',
|
|
'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',
|
|
],
|
|
},
|
|
},
|
|
],
|
|
}
|