1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'includes': [
'../build/common.gypi',
],
'targets': [
{
'target_name': 'install_samples',
'type': 'none',
'copies': [
{
'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'
]
},
],
},
{
# TODO(petersont): tie in the copying of this to the doc
# generation process, compile the sources, etc.
'target_name': 'install_webgl_js',
'type': 'none',
'copies': [
{
'destination': '<(PRODUCT_DIR)/samples/o3djs',
'files': [
'o3djs/webgl.js',
]
},
],
},
{
# 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_webgl_js',
'install_o3d_webgl',
'install_o3d_webgl_samples',
'<!(python samples_gen.py):build_samples',
],
},
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2:
|