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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/gles2_conform_support.gyp
diff --git a/gpu/gles2_conform_support/gles2_conform_support.gyp b/gpu/gles2_conform_support/gles2_conform_support.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..4dac99f4b2218e07ee6027717a18052172820b4d
--- /dev/null
+++ b/gpu/gles2_conform_support/gles2_conform_support.gyp
@@ -0,0 +1,99 @@
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ # These are defined here because we want to be able to compile them on
+ # the buildbots without needed the OpenGL ES 2.0 conformance tests
+ # which are not open source.
+ 'bootstrap_sources_native': [
+ 'native/main.cc',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'bootstrap_sources_native': [
+ 'native/egl_native.cc',
+ 'native/egl_native_linux.cc',
+ ],
+ }],
+ ['OS=="win"', {
+ 'bootstrap_sources_native': [
+ 'native/egl_native.cc',
+ 'native/egl_native_win.cc',
+ ],
+ }],
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'egl_native',
+ 'type': 'static_library',
+ 'dependencies': [
+ '<(DEPTH)/gpu/gpu.gyp:command_buffer_service',
+ ],
+ 'include_dirs': ['egl/native'],
+ 'sources': [
+ 'egl/config.cc',
+ 'egl/config.h',
+ 'egl/display.cc',
+ 'egl/display.h',
+ 'egl/egl.cc',
+ 'egl/surface.cc',
+ 'egl/surface.h',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': ['egl/native'],
+ },
+ },
+ {
+ 'target_name': 'egl_main_native',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'egl_native',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'dependencies': ['../../build/linux/system.gyp:gtk'],
+ }],
+ ],
+ 'include_dirs': ['egl/native'],
+ 'sources': [
+ '<@(bootstrap_sources_native)',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': ['egl/native'],
+ },
+ 'defines': ['GTF_GLES20'],
+ },
+ {
+ 'target_name': 'gles2_conform_support',
+ 'type': 'executable',
+ 'dependencies': [
+ 'egl_native',
+ '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck',
+ '<(DEPTH)/third_party/expat/expat.gyp:expat',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'dependencies': ['../../build/linux/system.gyp:gtk'],
+ }],
+ ],
+ 'defines': [
+ 'GLES2_CONFORM_SUPPORT_ONLY',
+ 'GTF_GLES20',
+ ],
+ 'sources': [
+ '<@(bootstrap_sources_native)',
+ 'gles2_conform_support.c'
+ ],
+ },
+ ],
+}
+
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2:
« 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