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

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

Issue 7057033: Move OpenGL ES 2.0 conformance test support into main tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for osx Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2011 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 # These are defined here because we want to be able to compile them on
8 # the buildbots without needed the OpenGL ES 2.0 conformance tests
9 # which are not open source.
10 'bootstrap_sources_native': [
11 'native/main.cc',
12 ],
13 'conditions': [
14 ['OS=="linux"', {
15 'bootstrap_sources_native': [
16 'native/egl_native.cc',
17 'native/egl_native_linux.cc',
18 ],
19 }],
20 ['OS=="win"', {
21 'bootstrap_sources_native': [
22 'native/egl_native.cc',
23 'native/egl_native_win.cc',
24 ],
25 }],
26 ],
27 },
28 'targets': [
29 {
30 'target_name': 'egl_native',
31 'type': 'static_library',
32 'dependencies': [
33 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service',
34 ],
35 'include_dirs': ['egl/native'],
36 'sources': [
37 'egl/config.cc',
38 'egl/config.h',
39 'egl/display.cc',
40 'egl/display.h',
41 'egl/egl.cc',
42 'egl/surface.cc',
43 'egl/surface.h',
44 ],
45 'direct_dependent_settings': {
46 'include_dirs': ['egl/native'],
47 },
48 },
49 {
50 'target_name': 'egl_main_native',
51 'type': 'static_library',
52 'dependencies': [
53 'egl_native',
54 ],
55 'conditions': [
56 ['OS=="linux"', {
57 'dependencies': ['../../build/linux/system.gyp:gtk'],
58 }],
59 ],
60 'include_dirs': ['egl/native'],
61 'sources': [
62 '<@(bootstrap_sources_native)',
63 ],
64 'direct_dependent_settings': {
65 'include_dirs': ['egl/native'],
66 },
67 'defines': ['GTF_GLES20'],
68 },
69 {
70 'target_name': 'gles2_conform_support',
71 'type': 'executable',
72 'dependencies': [
73 'egl_native',
74 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck',
75 '<(DEPTH)/third_party/expat/expat.gyp:expat',
76 ],
77 'conditions': [
78 ['OS=="linux"', {
79 'dependencies': ['../../build/linux/system.gyp:gtk'],
80 }],
81 ],
82 'defines': [
83 'GLES2_CONFORM_SUPPORT_ONLY',
84 'GTF_GLES20',
85 ],
86 'sources': [
87 '<@(bootstrap_sources_native)',
88 'gles2_conform_support.c'
89 ],
90 },
91 ],
92 }
93
94
95 # Local Variables:
96 # tab-width:2
97 # indent-tabs-mode:nil
98 # End:
99 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/gles2_conform_support.c ('k') | gpu/gles2_conform_support/gtf/gtf_stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698