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', |
30 '../../gpu/gpu.gyp:command_buffer_service', | 31 '../../gpu/gpu.gyp:command_buffer_service', |
31 '../../gpu/gpu.gyp:gles2_implementation_no_check', | 32 '../../gpu/gpu.gyp:gles2_implementation_no_check', |
32 '../../gpu/gpu.gyp:gpu', | 33 '../../gpu/gpu.gyp:gpu', |
33 '../../third_party/khronos/khronos.gyp:khronos_headers', | 34 '../../third_party/khronos/khronos.gyp:khronos_headers', |
34 '../../ui/base/ui_base.gyp:ui_base', | 35 '../../ui/base/ui_base.gyp:ui_base', |
35 '../../ui/gfx/gfx.gyp:gfx_geometry', | 36 '../../ui/gfx/gfx.gyp:gfx_geometry', |
36 '../../ui/gl/gl.gyp:gl', | 37 '../../ui/gl/gl.gyp:gl', |
37 ], | 38 ], |
38 'sources': [ | 39 'sources': [ |
39 'egl/config.cc', | 40 'egl/config.cc', |
40 'egl/config.h', | 41 'egl/config.h', |
| 42 'egl/context.cc', |
| 43 'egl/context.h', |
41 'egl/display.cc', | 44 'egl/display.cc', |
42 'egl/display.h', | 45 'egl/display.h', |
43 'egl/egl.cc', | 46 'egl/egl.cc', |
44 'egl/surface.cc', | 47 'egl/surface.cc', |
45 'egl/surface.h', | 48 'egl/surface.h', |
| 49 'egl/test_support.cc', |
| 50 'egl/test_support.h', |
| 51 'egl/thread_state.cc', |
| 52 'egl/thread_state.h', |
46 ], | 53 ], |
47 'defines': [ | 54 'defines': [ |
48 'EGLAPI=', | 55 'EGLAPI=', |
49 'EGLAPIENTRY=', | 56 'EGLAPIENTRY=', |
50 ], | 57 ], |
51 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 58 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
52 'msvs_disabled_warnings': [ 4267, ], | 59 'msvs_disabled_warnings': [ 4267, ], |
53 }, | 60 }, |
54 { | 61 { |
55 # GN version: //gpu/gles2_conform_support/native | 62 # GN version: //gpu/gles2_conform_support/native |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 'EGLAPI=', | 113 'EGLAPI=', |
107 'EGLAPIENTRY=', | 114 'EGLAPIENTRY=', |
108 ], | 115 ], |
109 'sources': [ | 116 'sources': [ |
110 '<@(bootstrap_sources_native)', | 117 '<@(bootstrap_sources_native)', |
111 'gles2_conform_support.c' | 118 'gles2_conform_support.c' |
112 ], | 119 ], |
113 }, | 120 }, |
114 ], | 121 ], |
115 } | 122 } |
OLD | NEW |