| # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
 | # Use of this source code is governed by a BSD-style license that can be | 
 | # found in the LICENSE file. | 
 |  | 
 | { | 
 |   'variables': { | 
 |     'chromium_code': 1, | 
 |   }, | 
 |   'target_defaults': { | 
 |     'conditions': [ | 
 |       ['use_x11 == 1', { | 
 |         'include_dirs': [ | 
 |           '../../third_party/khronos', | 
 |         ], | 
 |       }], | 
 |       ['OS == "mac"', { | 
 |         # Required by accelerated_surface_mac.cc. | 
 |         'link_settings': { | 
 |           'libraries': [ | 
 |             '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', | 
 |             '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 
 |           ], | 
 |         }, | 
 |       }], | 
 |     ], | 
 |   }, | 
 |   'targets': [ | 
 |     { | 
 |       'target_name': 'surface', | 
 |       'type': '<(component)', | 
 |       'dependencies': [ | 
 |         '../../base/base.gyp:base', | 
 |         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', | 
 |         '../../skia/skia.gyp:skia', | 
 |         '../base/ui_base.gyp:ui_base', | 
 |         '../gfx/gfx.gyp:gfx_geometry', | 
 |         '../gl/gl.gyp:gl', | 
 |       ], | 
 |       'sources': [ | 
 |         'accelerated_surface_mac.cc', | 
 |         'accelerated_surface_mac.h', | 
 |         'surface_export.h', | 
 |         'transport_dib.cc', | 
 |         'transport_dib.h', | 
 |         'transport_dib_posix.cc', | 
 |         'transport_dib_win.cc', | 
 |       ], | 
 |       'defines': [ | 
 |         'SURFACE_IMPLEMENTATION', | 
 |       ], | 
 |     }, | 
 |   ], | 
 | } |