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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 'async_pixel_transfer_delegate_stub.h', | 59 'async_pixel_transfer_delegate_stub.h', |
60 'async_pixel_transfer_delegate_sync.cc', | 60 'async_pixel_transfer_delegate_sync.cc', |
61 'async_pixel_transfer_delegate_sync.h', | 61 'async_pixel_transfer_delegate_sync.h', |
62 'async_pixel_transfer_delegate_win.cc', | 62 'async_pixel_transfer_delegate_win.cc', |
63 'gl_bindings.h', | 63 'gl_bindings.h', |
64 'gl_bindings_skia_in_process.cc', | 64 'gl_bindings_skia_in_process.cc', |
65 'gl_bindings_skia_in_process.h', | 65 'gl_bindings_skia_in_process.h', |
66 'gl_context.cc', | 66 'gl_context.cc', |
67 'gl_context.h', | 67 'gl_context.h', |
68 'gl_context_android.cc', | 68 'gl_context_android.cc', |
69 'gl_context_linux.cc', | |
70 'gl_context_mac.mm', | 69 'gl_context_mac.mm', |
71 'gl_context_osmesa.cc', | 70 'gl_context_osmesa.cc', |
72 'gl_context_osmesa.h', | 71 'gl_context_osmesa.h', |
73 'gl_context_stub.cc', | 72 'gl_context_stub.cc', |
74 'gl_context_stub.h', | 73 'gl_context_stub.h', |
75 'gl_context_win.cc', | 74 'gl_context_win.cc', |
| 75 'gl_context_x11.cc', |
76 'gl_export.h', | 76 'gl_export.h', |
77 'gl_fence.cc', | 77 'gl_fence.cc', |
78 'gl_fence.h', | 78 'gl_fence.h', |
79 'gl_gl_api_implementation.cc', | 79 'gl_gl_api_implementation.cc', |
80 'gl_gl_api_implementation.h', | 80 'gl_gl_api_implementation.h', |
81 'gl_image.cc', | 81 'gl_image.cc', |
82 'gl_image.h', | 82 'gl_image.h', |
83 'gl_image_android.cc', | 83 'gl_image_android.cc', |
84 'gl_image_linux.cc', | |
85 'gl_image_mac.cc', | 84 'gl_image_mac.cc', |
86 'gl_image_stub.cc', | 85 'gl_image_stub.cc', |
87 'gl_image_stub.h', | 86 'gl_image_stub.h', |
88 'gl_image_win.cc', | 87 'gl_image_win.cc', |
| 88 'gl_image_x11.cc', |
89 'gl_implementation.cc', | 89 'gl_implementation.cc', |
90 'gl_implementation.h', | 90 'gl_implementation.h', |
91 'gl_implementation_android.cc', | 91 'gl_implementation_android.cc', |
92 'gl_implementation_linux.cc', | |
93 'gl_implementation_mac.cc', | 92 'gl_implementation_mac.cc', |
94 'gl_implementation_win.cc', | 93 'gl_implementation_win.cc', |
| 94 'gl_implementation_x11.cc', |
95 'gl_interface.cc', | 95 'gl_interface.cc', |
96 'gl_interface.h', | 96 'gl_interface.h', |
97 'gl_osmesa_api_implementation.cc', | 97 'gl_osmesa_api_implementation.cc', |
98 'gl_osmesa_api_implementation.h', | 98 'gl_osmesa_api_implementation.h', |
99 'gl_share_group.cc', | 99 'gl_share_group.cc', |
100 'gl_share_group.h', | 100 'gl_share_group.h', |
101 'gl_state_restorer.cc', | 101 'gl_state_restorer.cc', |
102 'gl_state_restorer.h', | 102 'gl_state_restorer.h', |
103 'gl_surface.cc', | 103 'gl_surface.cc', |
104 'gl_surface.h', | 104 'gl_surface.h', |
105 'gl_surface_android.cc', | 105 'gl_surface_android.cc', |
106 'gl_surface_linux.cc', | |
107 'gl_surface_mac.cc', | 106 'gl_surface_mac.cc', |
108 'gl_surface_stub.cc', | 107 'gl_surface_stub.cc', |
109 'gl_surface_stub.h', | 108 'gl_surface_stub.h', |
110 'gl_surface_win.cc', | 109 'gl_surface_win.cc', |
| 110 'gl_surface_x11.cc', |
111 'gl_surface_osmesa.cc', | 111 'gl_surface_osmesa.cc', |
112 'gl_surface_osmesa.h', | 112 'gl_surface_osmesa.h', |
113 'gl_switches.cc', | 113 'gl_switches.cc', |
114 'gl_switches.h', | 114 'gl_switches.h', |
115 'gpu_switching_manager.cc', | 115 'gpu_switching_manager.cc', |
116 'gpu_switching_manager.h', | 116 'gpu_switching_manager.h', |
117 'safe_shared_memory_pool.h', | 117 'safe_shared_memory_pool.h', |
118 'safe_shared_memory_pool.cc', | 118 'safe_shared_memory_pool.cc', |
119 'scoped_make_current.cc', | 119 'scoped_make_current.cc', |
120 'scoped_make_current.h', | 120 'scoped_make_current.h', |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 ], | 181 ], |
182 'action': [ | 182 'action': [ |
183 'python', | 183 'python', |
184 '<(generator_path)', | 184 '<(generator_path)', |
185 '--header-paths=<(header_paths)', | 185 '--header-paths=<(header_paths)', |
186 '<(gl_binding_output_dir)', | 186 '<(gl_binding_output_dir)', |
187 ], | 187 ], |
188 }, | 188 }, |
189 ], | 189 ], |
190 'conditions': [ | 190 'conditions': [ |
191 ['OS != "mac"', { | 191 ['OS in ("win", "android") or (OS == "linux" and use_x11 == 1)', { |
192 'sources': [ | 192 'sources': [ |
193 'async_pixel_transfer_delegate_egl.cc', | 193 'async_pixel_transfer_delegate_egl.cc', |
194 'async_pixel_transfer_delegate_egl.h', | 194 'async_pixel_transfer_delegate_egl.h', |
195 'egl_util.cc', | 195 'egl_util.cc', |
196 'egl_util.h', | 196 'egl_util.h', |
197 'gl_context_egl.cc', | 197 'gl_context_egl.cc', |
198 'gl_context_egl.h', | 198 'gl_context_egl.h', |
199 'gl_surface_egl.cc', | 199 'gl_surface_egl.cc', |
200 'gl_surface_egl.h', | 200 'gl_surface_egl.h', |
201 'gl_egl_api_implementation.cc', | 201 'gl_egl_api_implementation.cc', |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 ], | 356 ], |
357 'variables': { | 357 'variables': { |
358 'jni_gen_package': 'ui/gl', | 358 'jni_gen_package': 'ui/gl', |
359 }, | 359 }, |
360 'includes': [ '../../build/jni_generator.gypi' ], | 360 'includes': [ '../../build/jni_generator.gypi' ], |
361 }, | 361 }, |
362 ], | 362 ], |
363 }], | 363 }], |
364 ], | 364 ], |
365 } | 365 } |
OLD | NEW |