Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: gpu/gles2_conform_support/gles2_conform_support.gyp

Issue 2310613002: Inline GPU and opus GYP files into GN build. (Closed)
Patch Set: merge Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
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
10 # which are not open source.
11 'bootstrap_sources_native': [
12 'native/main.cc',
13 ],
14 'conditions': [
15 ['OS=="linux" or OS=="win"', {
16 'bootstrap_sources_native': [
17 'native/egl_native.cc',
18 ],
19 }],
20 ],
21
22 },
23 'targets': [
24 {
25 # GN version: //gpu/gles2_conform_support/egl
26 'target_name': 'egl_native',
27 'type': 'static_library',
28 'dependencies': [
29 '../../base/base.gyp:base',
30 '../../gpu/command_buffer/command_buffer.gyp:gles2_utils',
31 '../../gpu/gpu.gyp:command_buffer_service',
32 '../../gpu/gpu.gyp:gles2_implementation_no_check',
33 '../../gpu/gpu.gyp:gpu',
34 '../../third_party/khronos/khronos.gyp:khronos_headers',
35 '../../ui/base/ui_base.gyp:ui_base',
36 '../../ui/gfx/gfx.gyp:gfx_geometry',
37 '../../ui/gl/gl.gyp:gl',
38 '../../ui/gl/init/gl_init.gyp:gl_init',
39 ],
40 'sources': [
41 'egl/config.cc',
42 'egl/config.h',
43 'egl/context.cc',
44 'egl/context.h',
45 'egl/display.cc',
46 'egl/display.h',
47 'egl/egl.cc',
48 'egl/surface.cc',
49 'egl/surface.h',
50 'egl/test_support.cc',
51 'egl/test_support.h',
52 'egl/thread_state.cc',
53 'egl/thread_state.h',
54 ],
55 'defines': [
56 'EGLAPI=',
57 'EGLAPIENTRY=',
58 ],
59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
60 'msvs_disabled_warnings': [ 4267, ],
61 },
62 {
63 # GN version: //gpu/gles2_conform_support/native
64 'target_name': 'egl_main_native',
65 'type': 'static_library',
66 'dependencies': [
67 'egl_native',
68 '../../third_party/khronos/khronos.gyp:khronos_headers',
69 ],
70 'sources': [
71 '<@(bootstrap_sources_native)',
72 ],
73 'defines': [
74 'GLES2_CONFORM_SUPPORT_ONLY',
75 'GTF_GLES20',
76 'EGLAPI=',
77 'EGLAPIENTRY=',
78 ],
79 },
80 {
81 # GN version: //gpu/gles2_conform_support/native:windowless
82 'target_name': 'egl_main_windowless',
83 'type': 'static_library',
84 'dependencies': [
85 'egl_native',
86 '../../third_party/khronos/khronos.gyp:khronos_headers',
87 ],
88 'sources': [
89 'native/egl_native.cc',
90 'native/egl_native_windowless.cc',
91 'native/main.cc',
92 '<@(bootstrap_sources_native)',
93 ],
94 'defines': [
95 'GLES2_CONFORM_SUPPORT_ONLY',
96 'GTF_GLES20',
97 'EGLAPI=',
98 'EGLAPIENTRY=',
99 ],
100 },
101 {
102 # GN version: //gpu/gles2_conform_support
103 'target_name': 'gles2_conform_support',
104 'type': 'executable',
105 'dependencies': [
106 'egl_native',
107 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
108 '../../gpu/gpu.gyp:gles2_c_lib_nocheck',
109 '../../third_party/expat/expat.gyp:expat',
110 ],
111 'defines': [
112 'GLES2_CONFORM_SUPPORT_ONLY',
113 'GTF_GLES20',
114 'EGLAPI=',
115 'EGLAPIENTRY=',
116 ],
117 'sources': [
118 '<@(bootstrap_sources_native)',
119 'gles2_conform_support.c'
120 ],
121 },
122 ],
123 }
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/gles2_conform.gypi ('k') | gpu/gles2_conform_support/gles2_conform_test.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698