Add unix and mesa GL files to gyp.
authorbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 19 May 2011 18:04:48 +0000 (18:04 +0000)
committerbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 19 May 2011 18:04:48 +0000 (18:04 +0000)
http://codereview.appspot.com/4545055/

git-svn-id: http://skia.googlecode.com/svn/trunk@1383 2bbb7eff-a529-9590-31e7-b0007b416f81

gyp/skia.gyp

index 209da7b..ca3f1bc 100644 (file)
         '../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"', {
             '../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': [
         '../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',