Chromium Code Reviews| Index: remoting/client/opengl/BUILD.gn |
| diff --git a/remoting/client/opengl/BUILD.gn b/remoting/client/opengl/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2231b5ea223de22279ba3ad220cf8e732919a227 |
| --- /dev/null |
| +++ b/remoting/client/opengl/BUILD.gn |
| @@ -0,0 +1,18 @@ |
| +shaders = [ |
|
Yuwei
2016/06/03 23:33:00
This is how the script will be used. Shaders don't
|
| + "tex_coord_to_view.vert", |
| + "draw_tex.frag", |
| +] |
| + |
| +action("inline_shaders") { |
| + script = "../../tools/build/remoting_c_text_inliner.py" |
| + out_path = "${root_gen_dir}/remoting/client/opengl/shaders.h" |
| + inputs = shaders |
| + include_guard = "REMOTING_CLIENT_OPENGL_SHADERS_H_" |
| + outputs = [ |
| + out_path, |
| + ] |
| + args = [ |
| + include_guard, |
| + rebase_path(out_path), |
| + ] + rebase_path(shaders) |
| +} |