OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 'gl_interface.cc', | 51 'gl_interface.cc', |
52 'gl_interface.h', | 52 'gl_interface.h', |
53 'gl_share_group.cc', | 53 'gl_share_group.cc', |
54 'gl_share_group.h', | 54 'gl_share_group.h', |
55 'gl_surface.cc', | 55 'gl_surface.cc', |
56 'gl_surface.h', | 56 'gl_surface.h', |
57 'gl_surface_linux.cc', | 57 'gl_surface_linux.cc', |
58 'gl_surface_mac.cc', | 58 'gl_surface_mac.cc', |
59 'gl_surface_stub.cc', | 59 'gl_surface_stub.cc', |
60 'gl_surface_stub.h', | 60 'gl_surface_stub.h', |
| 61 'gl_surface_wayland.cc', |
61 'gl_surface_win.cc', | 62 'gl_surface_win.cc', |
62 'gl_surface_osmesa.cc', | 63 'gl_surface_osmesa.cc', |
63 'gl_surface_osmesa.h', | 64 'gl_surface_osmesa.h', |
64 'gl_switches.cc', | 65 'gl_switches.cc', |
65 'gl_switches.h', | 66 'gl_switches.h', |
66 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', | 67 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', |
67 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h', | 68 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h', |
68 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc', | 69 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc', |
69 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', | 70 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', |
70 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', | 71 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 'gl_context_egl.h', | 110 'gl_context_egl.h', |
110 'gl_surface_egl.cc', | 111 'gl_surface_egl.cc', |
111 'gl_surface_egl.h', | 112 'gl_surface_egl.h', |
112 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', | 113 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', |
113 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', | 114 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', |
114 ], | 115 ], |
115 'include_dirs': [ | 116 'include_dirs': [ |
116 '<(DEPTH)/third_party/angle/include', | 117 '<(DEPTH)/third_party/angle/include', |
117 ], | 118 ], |
118 }], | 119 }], |
119 ['use_x11 == 1', { | 120 ['use_wayland == 1', { |
| 121 'sources!': [ |
| 122 'gl_surface_linux.cc', |
| 123 ], |
| 124 }], |
| 125 ['use_x11 == 1 and use_wayland != 1', { |
120 'sources': [ | 126 'sources': [ |
121 'gl_context_glx.cc', | 127 'gl_context_glx.cc', |
122 'gl_context_glx.h', | 128 'gl_context_glx.h', |
123 'gl_surface_glx.cc', | 129 'gl_surface_glx.cc', |
124 'gl_surface_glx.h', | 130 'gl_surface_glx.h', |
125 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc', | 131 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc', |
126 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h', | 132 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h', |
127 ], | 133 ], |
128 'all_dependent_settings': { | 134 'all_dependent_settings': { |
129 'defines': [ | 135 'defines': [ |
(...skipping 21 matching lines...) Expand all Loading... |
151 'link_settings': { | 157 'link_settings': { |
152 'libraries': [ | 158 'libraries': [ |
153 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 159 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
154 ], | 160 ], |
155 }, | 161 }, |
156 }], | 162 }], |
157 ], | 163 ], |
158 }, | 164 }, |
159 ], | 165 ], |
160 } | 166 } |
OLD | NEW |