| 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 # These are defined here because we want to be able to compile them on | 8 # These are defined here because we want to be able to compile them on |
| 9 # the buildbots without needed the OpenGL ES 2.0 conformance tests | 9 # the buildbots without needed the OpenGL ES 2.0 conformance tests |
| 10 # which are not open source. | 10 # which are not open source. |
| 11 'bootstrap_sources_native': [ | 11 'bootstrap_sources_native': [ |
| 12 'native/main.cc', | 12 'native/main.cc', |
| 13 ], | 13 ], |
| 14 'conditions': [ | 14 'conditions': [ |
| 15 ['OS=="linux" or OS=="win"', { | 15 ['OS=="linux" or OS=="win"', { |
| 16 'bootstrap_sources_native': [ | 16 'bootstrap_sources_native': [ |
| 17 'native/egl_native.cc', | 17 'native/egl_native.cc', |
| 18 ], | 18 ], |
| 19 }], | 19 }], |
| 20 ], | 20 ], |
| 21 | 21 |
| 22 }, | 22 }, |
| 23 'targets': [ | 23 'targets': [ |
| 24 { | 24 { |
| 25 # GN version: //gpu/gles2_conform_support/egl | 25 # GN version: //gpu/gles2_conform_support/egl |
| 26 'target_name': 'egl_native', | 26 'target_name': 'egl_native', |
| 27 'type': 'static_library', | 27 'type': 'static_library', |
| 28 'dependencies': [ | 28 'dependencies': [ |
| 29 '../../base/base.gyp:base', | 29 '../../base/base.gyp:base', |
| 30 '../../gpu/command_buffer/command_buffer.gyp:gles2_utils', | |
| 31 '../../gpu/gpu.gyp:command_buffer_service', | 30 '../../gpu/gpu.gyp:command_buffer_service', |
| 32 '../../gpu/gpu.gyp:gles2_implementation_no_check', | 31 '../../gpu/gpu.gyp:gles2_implementation_no_check', |
| 33 '../../gpu/gpu.gyp:gpu', | 32 '../../gpu/gpu.gyp:gpu', |
| 34 '../../third_party/khronos/khronos.gyp:khronos_headers', | 33 '../../third_party/khronos/khronos.gyp:khronos_headers', |
| 35 '../../ui/base/ui_base.gyp:ui_base', | 34 '../../ui/base/ui_base.gyp:ui_base', |
| 36 '../../ui/gfx/gfx.gyp:gfx_geometry', | 35 '../../ui/gfx/gfx.gyp:gfx_geometry', |
| 37 '../../ui/gl/gl.gyp:gl', | 36 '../../ui/gl/gl.gyp:gl', |
| 38 ], | 37 ], |
| 39 'sources': [ | 38 'sources': [ |
| 40 'egl/config.cc', | 39 'egl/config.cc', |
| 41 'egl/config.h', | 40 'egl/config.h', |
| 42 'egl/context.cc', | |
| 43 'egl/context.h', | |
| 44 'egl/display.cc', | 41 'egl/display.cc', |
| 45 'egl/display.h', | 42 'egl/display.h', |
| 46 'egl/egl.cc', | 43 'egl/egl.cc', |
| 47 'egl/surface.cc', | 44 'egl/surface.cc', |
| 48 'egl/surface.h', | 45 'egl/surface.h', |
| 49 'egl/test_support.cc', | |
| 50 'egl/test_support.h', | |
| 51 'egl/thread_state.cc', | |
| 52 'egl/thread_state.h', | |
| 53 ], | 46 ], |
| 54 'defines': [ | 47 'defines': [ |
| 55 'EGLAPI=', | 48 'EGLAPI=', |
| 56 'EGLAPIENTRY=', | 49 'EGLAPIENTRY=', |
| 57 ], | 50 ], |
| 58 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 51 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 59 'msvs_disabled_warnings': [ 4267, ], | 52 'msvs_disabled_warnings': [ 4267, ], |
| 60 }, | 53 }, |
| 61 { | 54 { |
| 62 # GN version: //gpu/gles2_conform_support/native | 55 # GN version: //gpu/gles2_conform_support/native |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 'EGLAPI=', | 106 'EGLAPI=', |
| 114 'EGLAPIENTRY=', | 107 'EGLAPIENTRY=', |
| 115 ], | 108 ], |
| 116 'sources': [ | 109 'sources': [ |
| 117 '<@(bootstrap_sources_native)', | 110 '<@(bootstrap_sources_native)', |
| 118 'gles2_conform_support.c' | 111 'gles2_conform_support.c' |
| 119 ], | 112 ], |
| 120 }, | 113 }, |
| 121 ], | 114 ], |
| 122 } | 115 } |
| OLD | NEW |