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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 'gl_surface_x11.cc', | 106 'gl_surface_x11.cc', |
107 'gl_surface_osmesa.cc', | 107 'gl_surface_osmesa.cc', |
108 'gl_surface_osmesa.h', | 108 'gl_surface_osmesa.h', |
109 'gl_surface_ozone.cc', | 109 'gl_surface_ozone.cc', |
110 'gl_switches.cc', | 110 'gl_switches.cc', |
111 'gl_switches.h', | 111 'gl_switches.h', |
112 'gl_version_info.cc', | 112 'gl_version_info.cc', |
113 'gl_version_info.h', | 113 'gl_version_info.h', |
114 'gpu_switching_manager.cc', | 114 'gpu_switching_manager.cc', |
115 'gpu_switching_manager.h', | 115 'gpu_switching_manager.h', |
| 116 'gpu_switching_observer.h', |
116 'scoped_binders.cc', | 117 'scoped_binders.cc', |
117 'scoped_binders.h', | 118 'scoped_binders.h', |
118 'scoped_make_current.cc', | 119 'scoped_make_current.cc', |
119 'scoped_make_current.h', | 120 'scoped_make_current.h', |
120 'sync_control_vsync_provider.cc', | 121 'sync_control_vsync_provider.cc', |
121 'sync_control_vsync_provider.h', | 122 'sync_control_vsync_provider.h', |
122 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', | 123 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', |
123 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h', | 124 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h', |
124 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', | 125 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', |
125 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', | 126 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 'dependencies': [ | 305 'dependencies': [ |
305 '../ozone/ozone.gyp:ozone', | 306 '../ozone/ozone.gyp:ozone', |
306 '../ozone/ozone.gyp:ozone_base', | 307 '../ozone/ozone.gyp:ozone_base', |
307 ], | 308 ], |
308 }], | 309 }], |
309 ['OS=="android" and android_webview_build==0', { | 310 ['OS=="android" and android_webview_build==0', { |
310 'dependencies': [ | 311 'dependencies': [ |
311 '../android/ui_android.gyp:ui_java', | 312 '../android/ui_android.gyp:ui_java', |
312 ], | 313 ], |
313 }], | 314 }], |
| 315 ['ubsan==1', { |
| 316 # Due to a bug in LLVM (http://llvm.org/bugs/show_bug.cgi?id=21349), |
| 317 # compilation hangs for some GL source files. Disable -O2 temporarily |
| 318 # until http://crbug.com/426271 is fixed. |
| 319 'cflags!': [ |
| 320 '-O2', |
| 321 ], |
| 322 }], |
314 ], | 323 ], |
315 }, | 324 }, |
316 { | 325 { |
317 'target_name': 'gl_unittest_utils', | 326 'target_name': 'gl_unittest_utils', |
318 'type': 'static_library', | 327 'type': 'static_library', |
319 'variables': { | 328 'variables': { |
320 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gl', | 329 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gl', |
321 }, | 330 }, |
322 'dependencies': [ | 331 'dependencies': [ |
323 '../../testing/gmock.gyp:gmock', | 332 '../../testing/gmock.gyp:gmock', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 ], | 375 ], |
367 'variables': { | 376 'variables': { |
368 'jni_gen_package': 'ui/gl', | 377 'jni_gen_package': 'ui/gl', |
369 }, | 378 }, |
370 'includes': [ '../../build/jni_generator.gypi' ], | 379 'includes': [ '../../build/jni_generator.gypi' ], |
371 }, | 380 }, |
372 ], | 381 ], |
373 }], | 382 }], |
374 ], | 383 ], |
375 } | 384 } |
OLD | NEW |