OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/common.gypi', | 10 '../build/common.gypi', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 'type': 'none', | 73 'type': 'none', |
74 'copies': [ | 74 'copies': [ |
75 { | 75 { |
76 'destination': '<(PRODUCT_DIR)/samples/o3djs', | 76 'destination': '<(PRODUCT_DIR)/samples/o3djs', |
77 'files': [ | 77 'files': [ |
78 'o3djs/webgl.js', | 78 'o3djs/webgl.js', |
79 ] | 79 ] |
80 }, | 80 }, |
81 ], | 81 ], |
82 }, | 82 }, |
| 83 # TODO(kbr): change these back to using the directory copying |
| 84 # syntax ("o3d-webgl/"), and roll forward gyp in DEPS, once the |
| 85 # bug in the MSVS gyp generator causing it to crash is fixed. |
83 { | 86 { |
84 # TODO(petersont): tie in the copying of these to the doc | 87 # TODO(petersont): tie in the copying of these to the doc |
85 # generation process, compile the sources, etc. | 88 # generation process, compile the sources, etc. |
86 'target_name': 'install_o3d_webgl', | 89 'target_name': 'install_o3d_webgl', |
87 'type': 'none', | 90 'type': 'none', |
88 'copies': [ | 91 'copies': [ |
89 { | 92 { |
90 'destination': '<(PRODUCT_DIR)/samples', | 93 'destination': '<(PRODUCT_DIR)/samples/o3d-webgl', |
91 'files': [ | 94 'files': [ |
92 'o3d-webgl/', | 95 'o3d-webgl/archive_request.js', |
| 96 'o3d-webgl/base.js', |
| 97 'o3d-webgl/bitmap.js', |
| 98 'o3d-webgl/bounding_box.js', |
| 99 'o3d-webgl/buffer.js', |
| 100 'o3d-webgl/clear_buffer.js', |
| 101 'o3d-webgl/client.js', |
| 102 'o3d-webgl/draw_context.js', |
| 103 'o3d-webgl/draw_element.js', |
| 104 'o3d-webgl/draw_list.js', |
| 105 'o3d-webgl/draw_pass.js', |
| 106 'o3d-webgl/effect.js', |
| 107 'o3d-webgl/element.js', |
| 108 'o3d-webgl/event.js', |
| 109 'o3d-webgl/field.js', |
| 110 'o3d-webgl/file_request.js', |
| 111 'o3d-webgl/material.js', |
| 112 'o3d-webgl/named_object.js', |
| 113 'o3d-webgl/named_object_base.js', |
| 114 'o3d-webgl/object_base.js', |
| 115 'o3d-webgl/pack.js', |
| 116 'o3d-webgl/param.js', |
| 117 'o3d-webgl/param_object.js', |
| 118 'o3d-webgl/primitive.js', |
| 119 'o3d-webgl/raw_data.js', |
| 120 'o3d-webgl/ray_intersection_info.js', |
| 121 'o3d-webgl/render_node.js', |
| 122 'o3d-webgl/render_surface.js', |
| 123 'o3d-webgl/render_surface_set.js', |
| 124 'o3d-webgl/sampler.js', |
| 125 'o3d-webgl/shape.js', |
| 126 'o3d-webgl/state.js', |
| 127 'o3d-webgl/state_set.js', |
| 128 'o3d-webgl/stream.js', |
| 129 'o3d-webgl/stream_bank.js', |
| 130 'o3d-webgl/texture.js', |
| 131 'o3d-webgl/transform.js', |
| 132 'o3d-webgl/tree_traversal.js', |
| 133 'o3d-webgl/types.js', |
| 134 'o3d-webgl/viewport.js', |
93 ] | 135 ] |
94 }, | 136 }, |
95 ], | 137 ], |
96 }, | 138 }, |
97 { | 139 { |
98 # TODO(petersont): consider picking and choosing the files taken | 140 # TODO(petersont): consider picking and choosing the files taken |
99 # from this directory. Note that some of the samples are copied | 141 # from this directory. Note that some of the samples are copied |
100 # via the list above, and some are copied by virtue of being in | 142 # via the list above, and some are copied by virtue of being in |
101 # the MANIFEST file in this directory (see samples_gen.py). | 143 # the MANIFEST file in this directory (see samples_gen.py). |
102 'target_name': 'install_o3d_webgl_samples', | 144 'target_name': 'install_o3d_webgl_samples', |
103 'type': 'none', | 145 'type': 'none', |
104 'copies': [ | 146 'copies': [ |
105 { | 147 { |
106 'destination': '<(PRODUCT_DIR)/samples', | 148 'destination': '<(PRODUCT_DIR)/samples/o3d-webgl-samples', |
107 'files': [ | 149 'files': [ |
108 'o3d-webgl-samples/', | 150 'o3d-webgl-samples/culling.html', |
| 151 'o3d-webgl-samples/hellocube-colors.html', |
| 152 'o3d-webgl-samples/hellocube-textures.html', |
| 153 'o3d-webgl-samples/hellocube.html', |
| 154 'o3d-webgl-samples/helloworld.html', |
| 155 'o3d-webgl-samples/pool.html', |
| 156 'o3d-webgl-samples/primitives.html', |
| 157 'o3d-webgl-samples/shadow-map.html', |
| 158 ] |
| 159 }, |
| 160 { |
| 161 'destination': '<(PRODUCT_DIR)/samples/o3d-webgl-samples/simpleviewer'
, |
| 162 'files': [ |
| 163 'o3d-webgl-samples/simpleviewer/simpleviewer.html', |
109 ] | 164 ] |
110 }, | 165 }, |
111 ], | 166 ], |
112 }, | 167 }, |
113 { | 168 { |
114 'target_name': 'samples', | 169 'target_name': 'samples', |
115 'type': 'none', | 170 'type': 'none', |
116 'dependencies': [ | 171 'dependencies': [ |
117 'install_samples', | 172 'install_samples', |
118 'install_webgl_js', | 173 'install_webgl_js', |
119 'install_o3d_webgl', | 174 'install_o3d_webgl', |
120 'install_o3d_webgl_samples', | 175 'install_o3d_webgl_samples', |
121 '<!(python samples_gen.py):build_samples', | 176 '<!(python samples_gen.py):build_samples', |
122 ], | 177 ], |
123 }, | 178 }, |
124 ], | 179 ], |
125 } | 180 } |
126 | 181 |
127 # Local Variables: | 182 # Local Variables: |
128 # tab-width:2 | 183 # tab-width:2 |
129 # indent-tabs-mode:nil | 184 # indent-tabs-mode:nil |
130 # End: | 185 # End: |
131 # vim: set expandtab tabstop=2 shiftwidth=2: | 186 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |