Add unix and mesa GL files to gyp.

http://codereview.appspot.com/4545055/


git-svn-id: http://skia.googlecode.com/svn/trunk@1383 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bungeman@google.com 2011-05-19 18:04:48 +00:00
parent 0e45441994
commit 71ff02c8ef

View File

@ -707,6 +707,11 @@
'../src/utils/SkProxyCanvas.cpp',
'../src/utils/SkSfntUtils.cpp',
'../src/utils/SkUnitMappers.cpp',
'../src/utils/mac/SkEGLContext_Mesa.cpp',
],
'sources!': [
'../src/utils/mac/SkEGLContext_Mesa.cpp',
],
'conditions': [
[ 'OS == "mac"', {
@ -716,6 +721,11 @@
'../src/utils/mac/SkEGLContext_mac.cpp',
],
}],
[ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
'sources': [
'../src/utils/unix/SkEGLContext_Unix.cpp',
],
}],
],
'direct_dependent_settings': {
'include_dirs': [
@ -1018,6 +1028,11 @@
'../gpu/src/win/GrGLDefaultInterface_win.cpp',
'../gpu/src/unix/GrGLDefaultInterface_unix.cpp',
'../gpu/src/mesa/GrGLDefaultInterface_mesa.cpp',
],
'sources!': [
'../gpu/src/mesa/GrGLDefaultInterface_mesa.cpp',
],
'defines': [
'GR_IMPLEMENTATION=1',