From 6abb09f2f8451b8274cb30fd6026c425fe64fcf0 Mon Sep 17 00:00:00 2001 From: "kbr@google.com" Date: Thu, 29 Apr 2010 00:34:39 +0000 Subject: 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 --- o3d/samples/samples.gyp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'o3d/samples/samples.gyp') 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', '