summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 00:34:39 +0000
committerkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 00:34:39 +0000
commit6abb09f2f8451b8274cb30fd6026c425fe64fcf0 (patch)
tree993b6404cf52e5832856d7e067e85d2c5684bb25
parenta3a26dd03418a7dcd2a8d01e1d083a5560a6be90 (diff)
downloadchromium_src-6abb09f2f8451b8274cb30fd6026c425fe64fcf0.zip
chromium_src-6abb09f2f8451b8274cb30fd6026c425fe64fcf0.tar.gz
chromium_src-6abb09f2f8451b8274cb30fd6026c425fe64fcf0.tar.bz2
Copy o3d-webgl and o3d-webgl-samples into the build directory while
building the samples. BUG=none TEST=ran build on Mac, verified files were copied TBR=gman Review URL: http://codereview.chromium.org/1742016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45891 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--o3d/samples/samples.gyp32
1 files changed, 32 insertions, 0 deletions
diff --git a/o3d/samples/samples.gyp b/o3d/samples/samples.gyp
index 2cd7357..3969f95 100644
--- a/o3d/samples/samples.gyp
+++ b/o3d/samples/samples.gyp
@@ -67,10 +67,42 @@
],
},
{
+ # TODO(petersont): tie in the copying of these to the doc
+ # generation process, compile the sources, etc.
+ 'target_name': 'install_o3d_webgl',
+ 'type': 'none',
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)/samples',
+ 'files': [
+ 'o3d-webgl/',
+ ]
+ },
+ ],
+ },
+ {
+ # TODO(petersont): consider picking and choosing the files taken
+ # from this directory. Note that some of the samples are copied
+ # via the list above, and some are copied by virtue of being in
+ # the MANIFEST file in this directory (see samples_gen.py).
+ 'target_name': 'install_o3d_webgl_samples',
+ 'type': 'none',
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)/samples',
+ 'files': [
+ 'o3d-webgl-samples/',
+ ]
+ },
+ ],
+ },
+ {
'target_name': 'samples',
'type': 'none',
'dependencies': [
'install_samples',
+ 'install_o3d_webgl',
+ 'install_o3d_webgl_samples',
'<!(python samples_gen.py):build_samples',
],
},