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

Unified Diff: gpu/gles2_conform_support/BUILD.gn

Issue 1322223003: Fix support for internal_gles2_conform_test = true (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix dangling reference to libnocheck Created 5 years, 3 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 | 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 a0874a7c7d60658ee8e9f60e766108723e0b1c83..d925e3a2170678554212a6b8f0fa34a8f7054944 100644
--- a/gpu/gles2_conform_support/BUILD.gn
+++ b/gpu/gles2_conform_support/BUILD.gn
@@ -46,9 +46,9 @@ executable("gles2_conform_support") {
if (internal_gles2_conform_tests) {
action("generate_gles2_conform_embedded_data") {
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",
+ outputs = [
+ "$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 = [
@@ -56,17 +56,20 @@ if (internal_gles2_conform_tests) {
"$target_gen_dir/gles2_conform_test_embedded_data",
]
}
- gles2_conform_gypi = exec_script("//build/gypi_to_gn.py",
- [ rebase_path("gles2_conform_gypi") ],
- "scoped",
- [ "gles2_conform_gypi" ])
+ gles2_conform_gypi =
+ exec_script("//build/gypi_to_gn.py",
+ [
+ rebase_path("gles2_conform.gypi"),
+ "--replace=<(DEPTH)=../..",
+ "--replace=<(SHARED_INTERMEDIATE_DIR)=$target_gen_dir",
+ ],
+ "scope",
+ [ "gles2_conform.gypi" ])
executable("gles2_conform_test_windowless") {
testonly = true
- sources = [
- # Include a dummy c++ file to force linking of libstdc++.
- "dummy.cc",
- gles2_conform_gypi.gtf_es_sources,
- ]
+
+ # Include a dummy c++ file to force linking of libstdc++.
+ sources = [ "dummy.cc" ] + gles2_conform_gypi.gtf_es_sources
defines = [
"GTF_API=GTF_GLES20",
"HKEMBEDDEDFILESYSTEM",
@@ -75,12 +78,13 @@ if (internal_gles2_conform_tests) {
":generate_gles2_conform_embedded_data",
"//gpu/gles2_conform_support/egl",
"//gpu/gles2_conform_support/native:windowless",
- "//gpu/command_buffer/client:gles2_c_libnocheck",
+
+ #"//gpu/command_buffer/client:gles2_c_libnocheck",
piman 2015/09/03 20:28:02 Should this be removed?
Peter Mayo 2015/09/03 21:13:35 Was already done ahead of my last sync - rebase ca
]
- configs += [ "//build/compiler:no_incompatible_pointer_warnings" ]
+ configs += [ "//build/config/compiler:no_incompatible_pointer_warnings" ]
if (is_linux) {
if (!is_chromeos) {
- deps += [ "//build/linux/system/gtk" ]
+ deps += [ "//build/config/linux/gtk" ]
Dirk Pranke 2015/09/03 20:28:47 the old thing didn't exist, but I don't think //bu
Peter Mayo 2015/09/03 21:13:35 head moved to gtk2, rebased accordingly.
if (is_clang) {
cflags = [
@@ -182,8 +186,7 @@ test("gles2_conform_test") {
]
if (internal_gles2_conform_tests) {
- deps += [ "gles2_conform_test_windowless" ]
-
- data_deps = [ "//third_party/gles2_conform/GTF_ES/" ]
+ deps += [ ":gles2_conform_test_windowless" ]
+ #data_deps = [ "//third_party/gles2_conform/GTF_ES/" ]
piman 2015/09/03 20:28:02 Should this be removed?
Peter Mayo 2015/09/03 21:13:35 I don't know why it was there in the first place.
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698