summaryrefslogtreecommitdiffstats
path: root/o3d/converter
diff options
context:
space:
mode:
authorkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-26 20:51:16 +0000
committerkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-26 20:51:16 +0000
commit3b5fd0730c69f46d3e42361ac8e8567fc372676a (patch)
tree9def03321b86138da06814aea89675a6e099ec9a /o3d/converter
parentab2b1c71c75fb342865db0f2f1bce222ad7978be (diff)
downloadchromium_src-3b5fd0730c69f46d3e42361ac8e8567fc372676a.zip
chromium_src-3b5fd0730c69f46d3e42361ac8e8567fc372676a.tar.gz
chromium_src-3b5fd0730c69f46d3e42361ac8e8567fc372676a.tar.bz2
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
Diffstat (limited to 'o3d/converter')
-rw-r--r--o3d/converter/converter.gyp13
1 files changed, 13 insertions, 0 deletions
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',
+ ]
+ },
+ ]
+ },
],
}