2012-09-27 13:44:57 +00:00
|
|
|
# Views is the Skia windowing toolkit.
|
|
|
|
# It provides:
|
|
|
|
# * A portable means of creating native windows.
|
|
|
|
# * Events.
|
|
|
|
# * Basic widgets and controls.
|
2012-03-23 14:11:43 +00:00
|
|
|
|
2011-05-31 13:50:51 +00:00
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'views',
|
2012-10-10 19:45:51 +00:00
|
|
|
'product_name': 'skia_views',
|
2011-05-31 13:50:51 +00:00
|
|
|
'type': 'static_library',
|
2012-10-10 19:45:51 +00:00
|
|
|
'standalone_static_library': 1,
|
2011-05-31 13:50:51 +00:00
|
|
|
'include_dirs': [
|
2012-03-29 14:51:56 +00:00
|
|
|
'../include/config',
|
|
|
|
'../include/core',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../include/views',
|
2012-03-29 14:51:56 +00:00
|
|
|
'../include/xml',
|
|
|
|
'../include/utils',
|
|
|
|
'../include/images',
|
|
|
|
'../include/effects',
|
2012-03-21 20:59:49 +00:00
|
|
|
'../include/views/unix',
|
2012-04-02 20:42:26 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'angle.gyp:*',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../include/views/SkApplication.h',
|
|
|
|
'../include/views/SkBGViewArtist.h',
|
|
|
|
'../include/views/SkEvent.h',
|
|
|
|
'../include/views/SkEventSink.h',
|
|
|
|
'../include/views/SkKey.h',
|
|
|
|
'../include/views/SkOSMenu.h',
|
|
|
|
'../include/views/SkOSWindow_Mac.h',
|
2012-11-01 17:43:44 +00:00
|
|
|
'../include/views/SkOSWindow_NaCl.h',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../include/views/SkOSWindow_SDL.h',
|
|
|
|
'../include/views/SkOSWindow_Unix.h',
|
|
|
|
'../include/views/SkOSWindow_Win.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/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/SkWidgets.cpp',
|
|
|
|
'../src/views/SkWindow.cpp',
|
2012-03-21 20:59:49 +00:00
|
|
|
|
2012-09-27 13:44:57 +00:00
|
|
|
# Mac
|
2012-03-21 20:59:49 +00:00
|
|
|
'../src/views/mac/SkOSWindow_Mac.mm',
|
|
|
|
'../src/views/mac/skia_mac.mm',
|
|
|
|
|
2012-09-27 13:44:57 +00:00
|
|
|
# SDL
|
2012-03-21 20:59:49 +00:00
|
|
|
'../src/views/SDL/SkOSWindow_SDL.cpp',
|
|
|
|
|
2012-09-27 13:44:57 +00:00
|
|
|
# *nix
|
2012-03-21 20:59:49 +00:00
|
|
|
'../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
|
|
|
|
2012-09-27 13:44:57 +00:00
|
|
|
# Windows
|
2012-03-21 20:59:49 +00:00
|
|
|
'../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-11-01 18:01:08 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lGL',
|
|
|
|
'-lGLU',
|
|
|
|
'-lX11',
|
|
|
|
],
|
|
|
|
},
|
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
|
|
|
}],
|
2012-11-01 17:43:44 +00:00
|
|
|
[ 'skia_os == "nacl"', {
|
|
|
|
'sources!': [
|
|
|
|
'../src/views/unix/SkOSWindow_Unix.cpp',
|
|
|
|
'../src/views/unix/keysym2ucs.c',
|
|
|
|
'../src/views/unix/skia_unix.cpp',
|
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'sources!': [
|
|
|
|
'../src/views/nacl/SkOSWindow_NaCl.cpp',
|
|
|
|
],
|
|
|
|
}],
|
2012-10-11 19:23:46 +00:00
|
|
|
[ 'skia_gpu == 1', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/gpu',
|
|
|
|
],
|
|
|
|
}],
|
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:
|