2012-03-23 14:11:43 +00:00
|
|
|
#Views is the Skia windowing toolkit.
|
|
|
|
#It provides
|
|
|
|
# * a portable means of creating native windows
|
|
|
|
# * events
|
|
|
|
# * basic widgets and controls
|
|
|
|
|
2011-05-31 13:50:51 +00:00
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'views',
|
|
|
|
'type': 'static_library',
|
2012-03-29 14:28:59 +00:00
|
|
|
'dependencies': [
|
|
|
|
'core.gyp:core',
|
|
|
|
'effects.gyp:effects',
|
|
|
|
'images.gyp:images',
|
|
|
|
'ports.gyp:ports',
|
|
|
|
'utils.gyp:utils',
|
|
|
|
'xml.gyp:xml',
|
|
|
|
],
|
2011-05-31 13:50:51 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'../include/views',
|
2012-03-21 20:59:49 +00:00
|
|
|
'../include/views/unix',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../include/views/SkApplication.h',
|
|
|
|
'../include/views/SkBGViewArtist.h',
|
|
|
|
'../include/views/SkBorderView.h',
|
|
|
|
'../include/views/SkEvent.h',
|
|
|
|
'../include/views/SkEventSink.h',
|
|
|
|
'../include/views/SkImageView.h',
|
|
|
|
'../include/views/SkKey.h',
|
|
|
|
'../include/views/SkOSMenu.h',
|
|
|
|
'../include/views/SkOSWindow_Mac.h',
|
|
|
|
'../include/views/SkOSWindow_SDL.h',
|
|
|
|
'../include/views/SkOSWindow_Unix.h',
|
|
|
|
'../include/views/SkOSWindow_Win.h',
|
|
|
|
#'../include/views/SkOSWindow_wxwidgets.h',
|
|
|
|
'../include/views/SkProgressBarView.h',
|
|
|
|
'../include/views/SkScrollBarView.h',
|
|
|
|
'../include/views/SkStackViewLayout.h',
|
|
|
|
'../include/views/SkSystemEventTypes.h',
|
2012-03-28 20:01:06 +00:00
|
|
|
'../include/views/SkTextBox.h',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../include/views/SkTouchGesture.h',
|
|
|
|
'../include/views/SkView.h',
|
|
|
|
'../include/views/SkViewInflate.h',
|
|
|
|
'../include/views/SkWidget.h',
|
|
|
|
'../include/views/SkWindow.h',
|
|
|
|
|
|
|
|
'../src/views/SkBGViewArtist.cpp',
|
|
|
|
'../src/views/SkEvent.cpp',
|
|
|
|
'../src/views/SkEventSink.cpp',
|
|
|
|
'../src/views/SkListView.cpp',
|
|
|
|
'../src/views/SkOSMenu.cpp',
|
|
|
|
'../src/views/SkParsePaint.cpp',
|
|
|
|
'../src/views/SkProgressView.cpp',
|
|
|
|
'../src/views/SkStackViewLayout.cpp',
|
|
|
|
'../src/views/SkTagList.cpp',
|
|
|
|
'../src/views/SkTagList.h',
|
|
|
|
'../src/views/SkTextBox.cpp',
|
|
|
|
'../src/views/SkTouchGesture.cpp',
|
|
|
|
'../src/views/SkView.cpp',
|
|
|
|
'../src/views/SkViewInflate.cpp',
|
|
|
|
'../src/views/SkViewPriv.cpp',
|
|
|
|
'../src/views/SkViewPriv.h',
|
|
|
|
'../src/views/SkWidget.cpp',
|
|
|
|
'../src/views/SkWidgets.cpp',
|
|
|
|
'../src/views/SkWindow.cpp',
|
2012-03-21 20:59:49 +00:00
|
|
|
|
|
|
|
#mac
|
|
|
|
'../src/views/mac/SkOSWindow_Mac.mm',
|
|
|
|
'../src/views/mac/skia_mac.mm',
|
|
|
|
|
|
|
|
#sdl
|
|
|
|
'../src/views/SDL/SkOSWindow_SDL.cpp',
|
|
|
|
|
|
|
|
#*nix
|
|
|
|
'../src/views/unix/SkOSWindow_Unix.cpp',
|
|
|
|
'../src/views/unix/keysym2ucs.c',
|
2012-03-22 15:37:22 +00:00
|
|
|
'../src/views/unix/skia_unix.cpp',
|
2012-03-21 20:59:49 +00:00
|
|
|
|
|
|
|
#windows
|
|
|
|
'../src/views/win/SkOSWindow_win.cpp',
|
|
|
|
'../src/views/win/skia_win.cpp',
|
|
|
|
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'sources!' : [
|
2012-03-21 20:59:49 +00:00
|
|
|
'../src/views/SDL/SkOSWindow_SDL.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
2011-07-01 20:20:07 +00:00
|
|
|
[ 'skia_os == "mac"', {
|
2011-05-31 13:50:51 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2011-08-30 14:40:49 +00:00
|
|
|
'$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
},
|
2012-03-21 20:59:49 +00:00
|
|
|
},{
|
|
|
|
'sources!': [
|
|
|
|
'../src/views/mac/SkOSWindow_Mac.mm',
|
|
|
|
'../src/views/mac/skia_mac.mm',
|
|
|
|
],
|
2011-05-31 13:50:51 +00:00
|
|
|
}],
|
2011-07-01 20:20:07 +00:00
|
|
|
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
|
2012-03-21 20:59:49 +00:00
|
|
|
},{
|
|
|
|
'sources!': [
|
|
|
|
'../src/views/unix/SkOSWindow_Unix.cpp',
|
|
|
|
'../src/views/unix/keysym2ucs.c',
|
2012-03-22 15:37:22 +00:00
|
|
|
'../src/views/unix/skia_unix.cpp',
|
2012-03-21 20:59:49 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "win"', {
|
|
|
|
},{
|
|
|
|
'sources!': [
|
|
|
|
'../src/views/win/SkOSWindow_win.cpp',
|
|
|
|
'../src/views/win/skia_win.cpp',
|
|
|
|
],
|
2011-05-31 13:50:51 +00:00
|
|
|
}],
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/views',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|