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 | 9 |
10 'target_defaults': { | 10 'target_defaults': { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 'surface_switches.cc', | 81 'surface_switches.cc', |
82 'transport_dib.h', | 82 'transport_dib.h', |
83 'transport_dib.cc', | 83 'transport_dib.cc', |
84 'transport_dib_gtk.cc', | 84 'transport_dib_gtk.cc', |
85 'transport_dib_posix.cc', | 85 'transport_dib_posix.cc', |
86 'transport_dib_win.cc', | 86 'transport_dib_win.cc', |
87 ], | 87 ], |
88 'defines': [ | 88 'defines': [ |
89 'SURFACE_IMPLEMENTATION', | 89 'SURFACE_IMPLEMENTATION', |
90 ], | 90 ], |
| 91 'conditions': [ |
| 92 ['OS=="mac"', { |
| 93 'link_settings': { |
| 94 'libraries': [ |
| 95 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 96 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 97 ], |
| 98 }, |
| 99 }], |
| 100 ], |
91 }, | 101 }, |
92 ], | 102 ], |
93 'conditions': [ | 103 'conditions': [ |
94 ['OS == "win"', { | 104 ['OS == "win"', { |
95 'targets': [ | 105 'targets': [ |
96 { | 106 { |
97 'target_name': 'surface_gpu_tests', | 107 'target_name': 'surface_gpu_tests', |
98 'type': '<(gtest_target_type)', | 108 'type': '<(gtest_target_type)', |
99 'dependencies': [ | 109 'dependencies': [ |
100 '<(DEPTH)/base/base.gyp:base', | 110 '<(DEPTH)/base/base.gyp:base', |
101 '<(DEPTH)/base/base.gyp:run_all_unittests', | 111 '<(DEPTH)/base/base.gyp:run_all_unittests', |
102 '<(DEPTH)/media/media.gyp:media', | 112 '<(DEPTH)/media/media.gyp:media', |
103 '<(DEPTH)/skia/skia.gyp:skia', | 113 '<(DEPTH)/skia/skia.gyp:skia', |
104 '<(DEPTH)/testing/gtest.gyp:gtest', | 114 '<(DEPTH)/testing/gtest.gyp:gtest', |
105 '<(DEPTH)/ui/events/events.gyp:events', | 115 '<(DEPTH)/ui/events/events.gyp:events', |
106 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 116 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
107 '<(DEPTH)/ui/ui.gyp:ui', | 117 '<(DEPTH)/ui/ui.gyp:ui', |
108 'surface', | 118 'surface', |
109 ], | 119 ], |
110 'sources': [ | 120 'sources': [ |
111 'accelerated_surface_transformer_win_unittest.cc', | 121 'accelerated_surface_transformer_win_unittest.cc', |
112 ], | 122 ], |
113 }, | 123 }, |
114 ], | 124 ], |
115 }], | 125 }], |
116 ], | 126 ], |
117 } | 127 } |
OLD | NEW |