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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 'link_settings': { | 256 'link_settings': { |
257 'libraries': [ | 257 'libraries': [ |
258 '-ldwmapi.lib', | 258 '-ldwmapi.lib', |
259 ], | 259 ], |
260 }, | 260 }, |
261 }], | 261 }], |
262 ['OS=="mac"', { | 262 ['OS=="mac"', { |
263 'sources': [ | 263 'sources': [ |
264 'gl_context_cgl.cc', | 264 'gl_context_cgl.cc', |
265 'gl_context_cgl.h', | 265 'gl_context_cgl.h', |
| 266 'gl_fence_apple.cc', |
| 267 'gl_fence_apple.h', |
266 'gl_image_io_surface.cc', | 268 'gl_image_io_surface.cc', |
267 'gl_image_io_surface.h', | 269 'gl_image_io_surface.h', |
268 'scoped_cgl.cc', | 270 'scoped_cgl.cc', |
269 'scoped_cgl.h', | 271 'scoped_cgl.h', |
270 ], | 272 ], |
271 'link_settings': { | 273 'link_settings': { |
272 'libraries': [ | 274 'libraries': [ |
273 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', | 275 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', |
274 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 276 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
275 ], | 277 ], |
(...skipping 27 matching lines...) Expand all Loading... |
303 'dependencies': [ | 305 'dependencies': [ |
304 '../ozone/ozone.gyp:ozone', | 306 '../ozone/ozone.gyp:ozone', |
305 '../ozone/ozone.gyp:ozone_base', | 307 '../ozone/ozone.gyp:ozone_base', |
306 ], | 308 ], |
307 }], | 309 }], |
308 ['OS=="android" and android_webview_build==0', { | 310 ['OS=="android" and android_webview_build==0', { |
309 'dependencies': [ | 311 'dependencies': [ |
310 '../android/ui_android.gyp:ui_java', | 312 '../android/ui_android.gyp:ui_java', |
311 ], | 313 ], |
312 }], | 314 }], |
313 ['ubsan==1', { | |
314 # Due to a bug in LLVM (http://llvm.org/bugs/show_bug.cgi?id=21349), | |
315 # compilation hangs for some GL source files. Disable -O2 temporarily | |
316 # until http://crbug.com/426271 is fixed. | |
317 'cflags!': [ | |
318 '-O2', | |
319 ], | |
320 }], | |
321 ], | 315 ], |
322 }, | 316 }, |
323 { | 317 { |
324 'target_name': 'gl_unittest_utils', | 318 'target_name': 'gl_unittest_utils', |
325 'type': 'static_library', | 319 'type': 'static_library', |
326 'variables': { | 320 'variables': { |
327 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gl', | 321 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gl', |
328 }, | 322 }, |
329 'dependencies': [ | 323 'dependencies': [ |
330 '../../testing/gmock.gyp:gmock', | 324 '../../testing/gmock.gyp:gmock', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 ], | 367 ], |
374 'variables': { | 368 'variables': { |
375 'jni_gen_package': 'ui/gl', | 369 'jni_gen_package': 'ui/gl', |
376 }, | 370 }, |
377 'includes': [ '../../build/jni_generator.gypi' ], | 371 'includes': [ '../../build/jni_generator.gypi' ], |
378 }, | 372 }, |
379 ], | 373 ], |
380 }], | 374 }], |
381 ], | 375 ], |
382 } | 376 } |
OLD | NEW |