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 'targets': [ | 10 'targets': [ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 'gl_bindings_skia_in_process.h', | 53 'gl_bindings_skia_in_process.h', |
54 'gl_context.cc', | 54 'gl_context.cc', |
55 'gl_context.h', | 55 'gl_context.h', |
56 'gl_context_android.cc', | 56 'gl_context_android.cc', |
57 'gl_context_mac.mm', | 57 'gl_context_mac.mm', |
58 'gl_context_ozone.cc', | 58 'gl_context_ozone.cc', |
59 'gl_context_osmesa.cc', | 59 'gl_context_osmesa.cc', |
60 'gl_context_osmesa.h', | 60 'gl_context_osmesa.h', |
61 'gl_context_stub.cc', | 61 'gl_context_stub.cc', |
62 'gl_context_stub.h', | 62 'gl_context_stub.h', |
| 63 'gl_context_wayland.cc', |
63 'gl_context_win.cc', | 64 'gl_context_win.cc', |
64 'gl_context_x11.cc', | 65 'gl_context_x11.cc', |
65 'gl_export.h', | 66 'gl_export.h', |
66 'gl_fence.cc', | 67 'gl_fence.cc', |
67 'gl_fence.h', | 68 'gl_fence.h', |
68 'gl_gl_api_implementation.cc', | 69 'gl_gl_api_implementation.cc', |
69 'gl_gl_api_implementation.h', | 70 'gl_gl_api_implementation.h', |
70 'gl_image.cc', | 71 'gl_image.cc', |
71 'gl_image.h', | 72 'gl_image.h', |
72 'gl_image_android.cc', | 73 'gl_image_android.cc', |
73 'gl_image_mac.cc', | 74 'gl_image_mac.cc', |
74 'gl_image_ozone.cc', | 75 'gl_image_ozone.cc', |
75 'gl_image_stub.cc', | 76 'gl_image_stub.cc', |
76 'gl_image_stub.h', | 77 'gl_image_stub.h', |
77 'gl_image_win.cc', | 78 'gl_image_win.cc', |
| 79 'gl_image_wayland.cc', |
78 'gl_image_x11.cc', | 80 'gl_image_x11.cc', |
79 'gl_implementation.cc', | 81 'gl_implementation.cc', |
80 'gl_implementation.h', | 82 'gl_implementation.h', |
81 'gl_implementation_android.cc', | 83 'gl_implementation_android.cc', |
82 'gl_implementation_ozone.cc', | 84 'gl_implementation_ozone.cc', |
83 'gl_implementation_mac.cc', | 85 'gl_implementation_mac.cc', |
84 'gl_implementation_win.cc', | 86 'gl_implementation_win.cc', |
| 87 'gl_implementation_wayland.cc', |
85 'gl_implementation_x11.cc', | 88 'gl_implementation_x11.cc', |
86 'gl_interface.cc', | 89 'gl_interface.cc', |
87 'gl_interface.h', | 90 'gl_interface.h', |
88 'gl_osmesa_api_implementation.cc', | 91 'gl_osmesa_api_implementation.cc', |
89 'gl_osmesa_api_implementation.h', | 92 'gl_osmesa_api_implementation.h', |
90 'gl_share_group.cc', | 93 'gl_share_group.cc', |
91 'gl_share_group.h', | 94 'gl_share_group.h', |
92 'gl_state_restorer.cc', | 95 'gl_state_restorer.cc', |
93 'gl_state_restorer.h', | 96 'gl_state_restorer.h', |
94 'gl_surface.cc', | 97 'gl_surface.cc', |
95 'gl_surface.h', | 98 'gl_surface.h', |
96 'gl_surface_mac.cc', | 99 'gl_surface_mac.cc', |
97 'gl_surface_stub.cc', | 100 'gl_surface_stub.cc', |
98 'gl_surface_stub.h', | 101 'gl_surface_stub.h', |
| 102 'gl_surface_wayland.cc', |
99 'gl_surface_win.cc', | 103 'gl_surface_win.cc', |
100 'gl_surface_x11.cc', | 104 'gl_surface_x11.cc', |
101 'gl_surface_osmesa.cc', | 105 'gl_surface_osmesa.cc', |
102 'gl_surface_osmesa.h', | 106 'gl_surface_osmesa.h', |
103 'gl_switches.cc', | 107 'gl_switches.cc', |
104 'gl_switches.h', | 108 'gl_switches.h', |
105 'gpu_switching_manager.cc', | 109 'gpu_switching_manager.cc', |
106 'gpu_switching_manager.h', | 110 'gpu_switching_manager.h', |
107 'scoped_binders.cc', | 111 'scoped_binders.cc', |
108 'scoped_binders.h', | 112 'scoped_binders.h', |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 'GL_GLEXT_PROTOTYPES', | 217 'GL_GLEXT_PROTOTYPES', |
214 ], | 218 ], |
215 }, | 219 }, |
216 'link_settings': { | 220 'link_settings': { |
217 'libraries': [ | 221 'libraries': [ |
218 '-lX11', | 222 '-lX11', |
219 '-lXcomposite', | 223 '-lXcomposite', |
220 ], | 224 ], |
221 }, | 225 }, |
222 }], | 226 }], |
| 227 [ 'use_wayland==1', { |
| 228 'dependencies': [ |
| 229 '<(DEPTH)/build/linux/system.gyp:wayland', |
| 230 ], |
| 231 'export_dependent_settings': [ |
| 232 '<(DEPTH)/build/linux/system.gyp:wayland', |
| 233 ], |
| 234 'sources': [ |
| 235 'gl_egl_api_implementation.cc', |
| 236 'gl_egl_api_implementation.h', |
| 237 ], |
| 238 }], |
223 ['OS=="win"', { | 239 ['OS=="win"', { |
224 'sources': [ | 240 'sources': [ |
225 'gl_context_wgl.cc', | 241 'gl_context_wgl.cc', |
226 'gl_context_wgl.h', | 242 'gl_context_wgl.h', |
227 'gl_egl_api_implementation.cc', | 243 'gl_egl_api_implementation.cc', |
228 'gl_egl_api_implementation.h', | 244 'gl_egl_api_implementation.h', |
229 'gl_surface_wgl.cc', | 245 'gl_surface_wgl.cc', |
230 'gl_surface_wgl.h', | 246 'gl_surface_wgl.h', |
231 'gl_wgl_api_implementation.cc', | 247 'gl_wgl_api_implementation.cc', |
232 'gl_wgl_api_implementation.h', | 248 'gl_wgl_api_implementation.h', |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 ], | 360 ], |
345 'variables': { | 361 'variables': { |
346 'jni_gen_package': 'ui/gl', | 362 'jni_gen_package': 'ui/gl', |
347 }, | 363 }, |
348 'includes': [ '../../build/jni_generator.gypi' ], | 364 'includes': [ '../../build/jni_generator.gypi' ], |
349 }, | 365 }, |
350 ], | 366 ], |
351 }], | 367 }], |
352 ], | 368 ], |
353 } | 369 } |
OLD | NEW |