skia2/gyp/views.gyp

122 lines
3.9 KiB
Python

{
'includes': [
'target_defaults.gypi',
],
'targets': [
{
'target_name': 'views',
'type': 'static_library',
'include_dirs': [
'../include/config',
'../include/core',
'../include/views',
'../include/xml',
'../include/utils',
'../include/images',
'../include/animator',
'../include/effects',
],
'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',
'../include/views/SkTouchGesture.h',
'../include/views/SkView.h',
'../include/views/SkViewInflate.h',
'../include/views/SkWidget.h',
'../include/views/SkWidgetViews.h',
'../include/views/SkWindow.h',
'../src/views/SkBGViewArtist.cpp',
'../src/views/SkBorderView.cpp',
'../src/views/SkEvent.cpp',
'../src/views/SkEventSink.cpp',
'../src/views/SkImageView.cpp',
'../src/views/SkListView.cpp',
'../src/views/SkListWidget.cpp',
'../src/views/SkOSMenu.cpp',
'../src/views/SkParsePaint.cpp',
'../src/views/SkProgressBarView.cpp',
'../src/views/SkProgressView.cpp',
'../src/views/SkScrollBarView.cpp',
'../src/views/SkStackViewLayout.cpp',
'../src/views/SkStaticTextView.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/SkWidgetViews.cpp',
'../src/views/SkWindow.cpp',
],
'sources!' : [
'../src/views/SkListView.cpp', #depends on missing SkListSource implementation
'../src/views/SkListWidget.cpp', #depends on missing SkListSource implementation
],
'conditions': [
[ 'OS == "win"', {
'sources': [
'../src/utils/win/SkOSWindow_Win.cpp',
'../src/utils/win/skia_win.cpp',
],
}],
[ 'OS == "mac"', {
# TODO(epoger): why are we building these here instead of inheriting
# them from utils.gyp?
'sources': [
'../include/utils/SkCGUtils.h',
'../src/utils/mac/SkCreateCGImageRef.cpp',
'../src/utils/mac/SkEGLContext_mac.cpp',
'../src/utils/mac/skia_mac.cpp',
'../src/utils/mac/SkOSWindow_Mac.cpp',
],
'include_dirs': [
'../include/utils/mac',
],
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
'$(SDKROOT)/System/Library/Frameworks/AGL.framework',
],
},
}],
[ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
'sources': [
'../unix_test_app/main.cpp',
],
}],
],
'direct_dependent_settings': {
'include_dirs': [
'../include/views',
],
},
},
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: