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
diff --git a/gyp/skia.gyp b/gyp/skia.gyp
index 209da7b..ca3f1bc 100644
--- a/gyp/skia.gyp
+++ b/gyp/skia.gyp
@@ -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',