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

Unified Diff: gpu/gles2_conform_support/BUILD.gn

Issue 1041883002: Port generate_gles2_conform_embedded_files action to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « build/config/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/BUILD.gn
diff --git a/gpu/gles2_conform_support/BUILD.gn b/gpu/gles2_conform_support/BUILD.gn
index 35db7224c5862b162bd3b9821b924e3c0218f01e..66d0d8ea4f46755b89c77aa98d57a0e3f6c27c0f 100644
--- a/gpu/gles2_conform_support/BUILD.gn
+++ b/gpu/gles2_conform_support/BUILD.gn
@@ -38,6 +38,21 @@ executable("gles2_conform_support") {
}
}
+if (internal_gles2_conform_tests) {
+ action("generate_gles2_conform_embedded_files") {
+ script = "generate_gles2_embedded_data.py"
+ output = [
+ "$target_gen_dir/gles2_conform_test_embedded_data/FilesData.c",
+ "$target_gen_dir/gles2_conform_test_embedded_data/FilesData.h",
+ "$target_gen_dir/gles2_conform_test_embedded_data/FilesTOC.c",
+ ]
+ args = [
+ "../../third_party/gles2_conform/GTF_ES/glsl/GTF",
+ "$target_gen_dir/gles2_conform_test_embedded_data",
+ ]
+ }
+}
+
test("gles2_conform_test") {
sources = [
"gles2_conform_test.cc",
« no previous file with comments | « build/config/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698