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

Side by Side Diff: gpu/khronos_glcts_support/khronos_glcts_framework.gyp

Issue 556333003: Add support for khronos gl-cts using its drawElements apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 2014 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 'includes': [
7 'khronos_glcts.gypi',
8 ],
9 'targets': [
10 {
11 'target_name': 'khronos_glcts_framework',
12 'type': 'static_library',
13 'dependencies': [
14 'delibs', 'qphelper', 'tcutil', 'glutil', 'tcutil_egl',
15 ],
16 'export_dependent_settings': [
17 'delibs', 'qphelper', 'tcutil', 'glutil', 'tcutil_egl',
18 ],
19 },
20 {
21 'target_name': 'delibs',
22 'type': 'static_library',
23 'dependencies': [
24 'debase', 'depool', 'dethread', 'deutil', 'decpp',
25 ],
26 'export_dependent_settings': [
27 'debase', 'depool', 'dethread', 'deutil', 'decpp',
28 ],
29 },
30 {
31 'target_name': 'debase',
32 'type': 'static_library',
33 'direct_dependent_settings': {
34 'include_dirs': [
35 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/debase',
36 ],
37 },
38 'sources': [
39 '<@(debase_srcs)',
40 ],
41 },
42 {
43 'target_name': 'depool',
44 'type': 'static_library',
45 'dependencies': [
46 'debase',
47 ],
48 'direct_dependent_settings': {
49 'include_dirs': [
50 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/depool',
51 ],
52 },
53 'sources': [
54 '<@(depool_srcs)',
55 ],
56 },
57 {
58 'target_name': 'dethread',
59 'type': 'static_library',
60 'dependencies': [
61 'debase',
62 ],
63 'direct_dependent_settings': {
64 'include_dirs': [
65 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/dethread',
66 ],
67 },
68 'sources': [
69 '<@(dethread_srcs)',
70 ],
71 'conditions': [
72 ['OS=="linux"', {
73 'sources': [
74 '<@(dethread_unix_srcs)',
75 ],
76 'include_dirs': [
77 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/dethread',
78 ],
79 }],
80 ]
81 },
82 {
83 'target_name': 'deutil',
84 'type': 'static_library',
85 'dependencies': [
86 'debase', 'depool', 'dethread',
87 ],
88 'direct_dependent_settings': {
89 'include_dirs': [
90 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/deutil',
91 ],
92 },
93 'sources': [
94 '<@(deutil_srcs)',
95 ],
96 },
97 {
98 'target_name': 'decpp',
99 'type': 'static_library',
100 'dependencies': [
101 'debase', 'depool', 'dethread', 'deutil',
102 ],
103 'direct_dependent_settings': {
104 'include_dirs': [
105 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/decpp',
106 ],
107 },
108 'sources': [
109 '<@(decpp_srcs)',
110 ],
111 },
112 {
113 'target_name': 'qphelper',
114 'type': 'static_library',
115 'defines': [
116 'QP_SUPPORT_PNG',
117 ],
118 'dependencies': [
119 'debase', 'depool', 'dethread', 'deutil',
120 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
121 ],
122 'direct_dependent_settings': {
123 'include_dirs': [
124 '<(DEPTH)/third_party/khronos_glcts/framework/qphelper',
125 ],
126 },
127 'sources': [
128 '<@(qphelper_srcs)',
129 ],
130 },
131 {
132 'target_name': 'tcutil',
133 'type': 'static_library',
134 'dependencies': [
135 'delibs', 'qphelper',
136 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
137 ],
138 'include_dirs': [
139 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/libpng', #png.hpp
140 ],
141 'export_dependent_settings': [
142 'qphelper',
143 ],
144 'direct_dependent_settings': {
145 'include_dirs': [
146 '<(DEPTH)/third_party/khronos_glcts/framework/common',
147 ],
148 },
149 'sources': [
150 '<@(tcutil_srcs)',
151 ],
152 },
153 {
154 'target_name': 'glwrapper',
155 'type': 'static_library',
156 'dependencies': [
157 'delibs',
158 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck',
159 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service',
160 ],
161 'direct_dependent_settings': {
162 'include_dirs': [
163 '<(DEPTH)/third_party/khronos_glcts/framework/opengl/wrapper',
164 ],
165 },
166 'sources': [
167 '<@(glwrapper_srcs)',
168 ],
169 },
170 {
171 'target_name': 'glutil',
172 'type': 'static_library',
173 'dependencies': [
174 'glwrapper', 'delibs', 'tcutil',
175 ],
176 'export_dependent_settings': [
177 'glwrapper',
178 ],
179 'direct_dependent_settings': {
180 'include_dirs': [
181 '<(DEPTH)/third_party/khronos_glcts/framework/opengl',
182 ],
183 },
184 'sources': [
185 '<@(glutil_srcs)',
186 ],
187 },
188 {
189 'target_name': 'tcutil_egl',
190 'type': 'static_library',
191 'dependencies': [
192 'delibs', 'tcutil', 'glwrapper',
193 # TODO: We may want to phase out the old gles2_conform support in prefer ence
194 # of this implementation. So eventually we'll need to move the egl_nati ve
195 # stuff here or to a shareable location/path.
196 '<(DEPTH)/gpu/gles2_conform_support/gles2_conform_support.gyp:egl_native ',
197 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers',
198 ],
199 'include_dirs': [
200 '<(DEPTH)/third_party/khronos_glcts/framework/opengl',
201 ],
202 'direct_dependent_settings': {
203 'include_dirs': [
204 '<(DEPTH)/third_party/khronos_glcts/framework/egl',
205 ],
206 },
207 'export_dependent_settings': [
208 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers',
209 ],
210 'sources': [
211 '<@(tcutil_egl_srcs)',
212 ],
213 },
214 ],
215 }
OLDNEW
« no previous file with comments | « gpu/khronos_glcts_support/khronos_glcts_cts.gyp ('k') | gpu/khronos_glcts_support/khronos_glcts_gtf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698