diff options
author | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-05 01:06:25 +0000 |
---|---|---|
committer | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-05 01:06:25 +0000 |
commit | 37e43cfd1c9062212a3d3e7e93e611cc03f362bf (patch) | |
tree | 076dbf4a3544f6e17310b323f888d9e72e4891ff /gpu/demos/demos.gyp | |
parent | 4443dee989426bb1322a6f7d50d419d3e50480ba (diff) | |
download | chromium_src-37e43cfd1c9062212a3d3e7e93e611cc03f362bf.zip chromium_src-37e43cfd1c9062212a3d3e7e93e611cc03f362bf.tar.gz chromium_src-37e43cfd1c9062212a3d3e7e93e611cc03f362bf.tar.bz2 |
Added an application framework for demos. Ported hello-triangle example in OpenGL ES book to use the application framework.
BUG=26099
TEST=Try running hello_triangle executable, you should see a red triangle.
Review URL: http://codereview.chromium.org/465051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35500 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/demos/demos.gyp')
-rw-r--r-- | gpu/demos/demos.gyp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gpu/demos/demos.gyp b/gpu/demos/demos.gyp new file mode 100644 index 0000000..26cedea --- /dev/null +++ b/gpu/demos/demos.gyp @@ -0,0 +1,46 @@ +# Copyright (c) 2009 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': { + 'chromium_code': 1, + }, + 'includes': [ + '../../build/common.gypi', + ], + 'targets': [ + { + 'target_name': 'app_framework', + 'type': 'static_library', + 'dependencies': [ + '../gpu.gyp:command_buffer_client', + '../gpu.gyp:command_buffer_service', + ], + 'sources': [ + 'app_framework/application.cc', + 'app_framework/application.h', + 'app_framework/gles2_utils.cc', + 'app_framework/gles2_utils.h', + 'app_framework/platform.h', + ], + }, + { + 'target_name': 'hello_triangle', + 'type': 'executable', + 'dependencies': [ + 'app_framework', + '../../third_party/gles_book_examples/gles_book_examples.gyp:hello_triangle', + ], + 'sources': [ + 'hello_triangle/main.cc', + ], + }, + ] +} + +# Local Variables: +# tab-width:2 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=2 shiftwidth=2: |