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

Unified Diff: ui/gl/BUILD.gn

Issue 1162203006: Unit tests have been created for the GPUTiming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted egl unit test changes, wrong cl Created 5 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 | « gpu/command_buffer/service/gpu_tracer_unittest.cc ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/BUILD.gn
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
index 50abfc62b9d3250da760b5fd340a395cb6ffaf03..f5f4134290b6875a9d984b77e86bbb767885e007 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
@@ -268,6 +268,8 @@ source_set("gl_unittest_utils") {
"gl_mock.cc",
"gl_mock.h",
"gl_mock_autogen_gl.h",
+ "gpu_timing_fake.cc",
+ "gpu_timing_fake.h",
]
configs += [ "//third_party/khronos:khronos_headers" ]
@@ -281,6 +283,7 @@ source_set("gl_unittest_utils") {
test("gl_unittests") {
sources = [
"gl_api_unittest.cc",
+ "gpu_timing_unittest.cc",
"test/run_all_unittests.cc",
]
@@ -295,8 +298,10 @@ test("gl_unittests") {
deps = [
":gl",
+ ":gl_unittest_utils",
"//base",
"//base/test:test_support",
+ "//testing/gmock",
"//testing/gtest",
]
}
« no previous file with comments | « gpu/command_buffer/service/gpu_tracer_unittest.cc ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698