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. |
(...skipping 12 matching lines...) Expand all Loading... |
23 'bootstrap_sources_native': [ | 23 'bootstrap_sources_native': [ |
24 'native/egl_native.cc', | 24 'native/egl_native.cc', |
25 'native/egl_native_win.cc', | 25 'native/egl_native_win.cc', |
26 ], | 26 ], |
27 }], | 27 }], |
28 ], | 28 ], |
29 | 29 |
30 }, | 30 }, |
31 'targets': [ | 31 'targets': [ |
32 { | 32 { |
| 33 # GN version: //gpu/gles2_conform_support/egl |
33 'target_name': 'egl_native', | 34 'target_name': 'egl_native', |
34 'type': 'static_library', | 35 'type': 'static_library', |
35 'dependencies': [ | 36 'dependencies': [ |
36 '../../base/base.gyp:base', | 37 '../../base/base.gyp:base', |
37 '../../gpu/gpu.gyp:command_buffer_service', | 38 '../../gpu/gpu.gyp:command_buffer_service', |
38 '../../gpu/gpu.gyp:gles2_implementation_no_check', | 39 '../../gpu/gpu.gyp:gles2_implementation_no_check', |
39 '../../gpu/gpu.gyp:gpu', | 40 '../../gpu/gpu.gyp:gpu', |
40 '../../third_party/khronos/khronos.gyp:khronos_headers', | 41 '../../third_party/khronos/khronos.gyp:khronos_headers', |
41 '../../ui/base/ui_base.gyp:ui_base', | 42 '../../ui/base/ui_base.gyp:ui_base', |
42 '../../ui/gfx/gfx.gyp:gfx', | 43 '../../ui/gfx/gfx.gyp:gfx', |
(...skipping 10 matching lines...) Expand all Loading... |
53 'egl/surface.h', | 54 'egl/surface.h', |
54 ], | 55 ], |
55 'defines': [ | 56 'defines': [ |
56 'EGLAPI=', | 57 'EGLAPI=', |
57 'EGLAPIENTRY=', | 58 'EGLAPIENTRY=', |
58 ], | 59 ], |
59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 60 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
60 'msvs_disabled_warnings': [ 4267, ], | 61 'msvs_disabled_warnings': [ 4267, ], |
61 }, | 62 }, |
62 { | 63 { |
| 64 # GN version: //gpu/gles2_conform_support/native |
63 'target_name': 'egl_main_native', | 65 'target_name': 'egl_main_native', |
64 'type': 'static_library', | 66 'type': 'static_library', |
65 'dependencies': [ | 67 'dependencies': [ |
66 'egl_native', | 68 'egl_native', |
67 '../../third_party/khronos/khronos.gyp:khronos_headers', | 69 '../../third_party/khronos/khronos.gyp:khronos_headers', |
68 ], | 70 ], |
69 'sources': [ | 71 'sources': [ |
70 '<@(bootstrap_sources_native)', | 72 '<@(bootstrap_sources_native)', |
71 ], | 73 ], |
72 'defines': [ | 74 'defines': [ |
73 'GLES2_CONFORM_SUPPORT_ONLY', | 75 'GLES2_CONFORM_SUPPORT_ONLY', |
74 'GTF_GLES20', | 76 'GTF_GLES20', |
75 'EGLAPI=', | 77 'EGLAPI=', |
76 'EGLAPIENTRY=', | 78 'EGLAPIENTRY=', |
77 ], | 79 ], |
78 }, | 80 }, |
79 { | 81 { |
| 82 # GN version: //gpu/gles2_conform_support/native:windowless |
80 'target_name': 'egl_main_windowless', | 83 'target_name': 'egl_main_windowless', |
81 'type': 'static_library', | 84 'type': 'static_library', |
82 'dependencies': [ | 85 'dependencies': [ |
83 'egl_native', | 86 'egl_native', |
84 '../../third_party/khronos/khronos.gyp:khronos_headers', | 87 '../../third_party/khronos/khronos.gyp:khronos_headers', |
85 ], | 88 ], |
86 'sources': [ | 89 'sources': [ |
87 'native/egl_native.cc', | 90 'native/egl_native.cc', |
88 'native/egl_native_windowless.cc', | 91 'native/egl_native_windowless.cc', |
89 'native/main.cc', | 92 'native/main.cc', |
(...skipping 29 matching lines...) Expand all Loading... |
119 'EGLAPI=', | 122 'EGLAPI=', |
120 'EGLAPIENTRY=', | 123 'EGLAPIENTRY=', |
121 ], | 124 ], |
122 'sources': [ | 125 'sources': [ |
123 '<@(bootstrap_sources_native)', | 126 '<@(bootstrap_sources_native)', |
124 'gles2_conform_support.c' | 127 'gles2_conform_support.c' |
125 ], | 128 ], |
126 }, | 129 }, |
127 ], | 130 ], |
128 } | 131 } |
OLD | NEW |