From 3b5fd0730c69f46d3e42361ac8e8567fc372676a Mon Sep 17 00:00:00 2001 From: "kbr@google.com" Date: Mon, 26 Apr 2010 20:51:16 +0000 Subject: Copy the Cg-to-GLSL converter script alongside the converter executable during the build process. BUG=none TEST=built and verified that script is copied properly Review URL: http://codereview.chromium.org/1711015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45616 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/converter/converter.gyp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'o3d/converter') diff --git a/o3d/converter/converter.gyp b/o3d/converter/converter.gyp index fb99ddf..2ac286d 100644 --- a/o3d/converter/converter.gyp +++ b/o3d/converter/converter.gyp @@ -36,6 +36,7 @@ '../import/import.gyp:o3dImport', '../serializer/serializer.gyp:o3dSerializer', '../utils/utils.gyp:o3dUtils', + 'cgToGLSLConverterScript', ], 'sources': [ 'cross/buffer_stub.cc', @@ -121,6 +122,18 @@ ], ], }, + { + 'target_name': 'cgToGLSLConverterScript', + 'type': 'none', + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)', + 'files': [ + '../cg_to_glsl/convert.py', + ] + }, + ] + }, ], } -- cgit v1.1