ae85aea58e
see http://codereview.appspot.com/4527084/ Now, to build out/Debug/SampleApp on Linux, do the following: cd trunk/gyp rm -rf Makefile *mk *.Makefile out ./gyp_skia -fmake --ignore-environment "--toplevel-dir=$PWD" \ -Icommon.gypi "--depth=$PWD" SampleApp.gyp make git-svn-id: http://skia.googlecode.com/svn/trunk@1446 2bbb7eff-a529-9590-31e7-b0007b416f81
123 lines
4.0 KiB
Python
123 lines
4.0 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"', {
|
|
'sources': [
|
|
'../include/utils/SkCGUtils.h',
|
|
#'../src/utils/mac/SkBitmap_Mac.cpp',
|
|
'../src/utils/mac/SkCreateCGImageRef.cpp',
|
|
'../src/utils/mac/SkEGLContext_mac.cpp',
|
|
'../src/utils/mac/skia_mac.cpp',
|
|
'../src/utils/mac/SkOSWindow_Mac.cpp',
|
|
],
|
|
'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"', {
|
|
'include_dirs' : [
|
|
'../include/utils/unix',
|
|
],
|
|
'sources': [
|
|
'../src/utils/unix/keysym2ucs.c',
|
|
'../src/utils/unix/SkOSWindow_Unix.cpp',
|
|
'../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:
|