| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'conditions': [ | 10 'conditions': [ |
| 11 ['use_x11 == 1', { | 11 ['use_x11 == 1', { |
| 12 'include_dirs': [ | 12 'include_dirs': [ |
| 13 '../../third_party/khronos', | 13 '../../third_party/khronos', |
| 14 ], | 14 ], |
| 15 }], | 15 }], |
| 16 ['OS == "mac"', { | 16 ['OS == "mac"', { |
| 17 # Required by accelerated_surface_mac.cc. |
| 17 'link_settings': { | 18 'link_settings': { |
| 18 'libraries': [ | 19 'libraries': [ |
| 19 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', | 20 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', |
| 21 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 20 ], | 22 ], |
| 21 }, | 23 }, |
| 22 }], | 24 }], |
| 23 ], | 25 ], |
| 24 }, | 26 }, |
| 25 'targets': [ | 27 'targets': [ |
| 26 { | 28 { |
| 27 'target_name': 'surface', | 29 'target_name': 'surface', |
| 28 'type': '<(component)', | 30 'type': '<(component)', |
| 29 'dependencies': [ | 31 'dependencies': [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 42 'transport_dib.h', | 44 'transport_dib.h', |
| 43 'transport_dib_posix.cc', | 45 'transport_dib_posix.cc', |
| 44 'transport_dib_win.cc', | 46 'transport_dib_win.cc', |
| 45 ], | 47 ], |
| 46 'defines': [ | 48 'defines': [ |
| 47 'SURFACE_IMPLEMENTATION', | 49 'SURFACE_IMPLEMENTATION', |
| 48 ], | 50 ], |
| 49 }, | 51 }, |
| 50 ], | 52 ], |
| 51 } | 53 } |
| OLD | NEW |