summaryrefslogtreecommitdiffstats
path: root/o3d/samples/samples.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples/samples.gyp')
-rw-r--r--o3d/samples/samples.gyp71
1 files changed, 51 insertions, 20 deletions
diff --git a/o3d/samples/samples.gyp b/o3d/samples/samples.gyp
index 27d96f1..7bc7999 100644
--- a/o3d/samples/samples.gyp
+++ b/o3d/samples/samples.gyp
@@ -11,35 +11,66 @@
],
'targets': [
{
- 'target_name': 'split_samples',
+ 'target_name': 'install_samples',
'type': 'none',
- 'rules': [
+ 'copies': [
{
- 'rule_name': 'split_sample',
- 'extension': 'html',
- 'inputs': [
- 'split_samples.py',
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/samples/<(RULE_INPUT_NAME)',
- '<(PRODUCT_DIR)/samples/<(RULE_INPUT_ROOT).js',
- ],
- 'action': ['python', '<@(_inputs)',
- '--products', '<(PRODUCT_DIR)/samples',
- '--samples', '.',
- '<(RULE_INPUT_PATH)',
- ],
+ 'destination': '<(PRODUCT_DIR)/samples',
+ 'files': [
+ '2d.html',
+ 'animated-scene.html',
+ 'animation.html',
+ 'bitmap-draw-image.html',
+ 'billboards.html',
+ 'canvas-texturedraw.html',
+ 'canvas.html',
+ 'convolution.html',
+ 'culling.html',
+ 'customcamera.html',
+ 'displayfps.html',
+ 'error-texture.html',
+ 'generate-texture.html',
+ 'hellocube-colors.html',
+ 'hellocube-textures.html',
+ 'hellocube.html',
+ 'helloworld.html',
+ 'hud-2d-overlay.html',
+ 'instance-override.html',
+ 'instancing.html',
+ 'juggler.html',
+ 'julia.html',
+ 'multiple-clients.html',
+ 'multiple-views.html',
+ 'old-school-shadows.html',
+ 'particles.html',
+ 'phongshading.html',
+ 'picking.html',
+ 'primitives.html',
+ 'procedural-texture.html',
+ 'render-mode.html',
+ 'render-targets.html',
+ 'rotatemodel.html',
+ 'scatter-chart.html',
+ 'shader-test.html',
+ 'simple.html',
+ 'simpletexture.html',
+ 'skinning.html',
+ 'sobel.html',
+ 'stencil_example.html',
+ 'texturesamplers.html',
+ 'tutorial-primitive.html',
+ 'vertex-shader.html',
+ 'vertex-shader-animation.html',
+ 'zsorting.html'
+ ]
},
],
- 'sources': [
- '<!@(python split_samples.py --samples . --find_candidates)',
- ],
},
{
'target_name': 'samples',
'type': 'none',
'dependencies': [
- 'split_samples',
+ 'install_samples',
'<!(python samples_gen.py):build_samples',
],
},