Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Unified Diff: remoting/client/opengl/BUILD.gn

Issue 2036023003: Script to inline shader into C header file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer's Feedback Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/tools/build/shader_to_header.py » ('j') | remoting/tools/build/shader_to_header.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0a9d785d605dbda4646c2dc4ebd379635cd332d7
--- /dev/null
+++ b/remoting/client/opengl/BUILD.gn
@@ -0,0 +1,14 @@
+shaders = [
+ "tex_coord_to_view.vert",
+ "draw_tex.frag",
+]
+
+action("inline_shaders") {
+ script = "../../tools/build/shader_to_header.py"
+ out_path = "${root_gen_dir}/remoting/client/opengl/shaders.h"
+ inputs = shaders
+ outputs = [
+ out_path,
+ ]
+ args = [ rebase_path(out_path) ] + rebase_path(shaders)
+}
« no previous file with comments | « no previous file | remoting/tools/build/shader_to_header.py » ('j') | remoting/tools/build/shader_to_header.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698