Chromium Code Reviews

Unified Diff: mojo/services/gfx/composition/cpp/BUILD.gn

Issue 1943153002: Mozart: Move frame lag compensation to new class. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/services/gfx/composition/cpp/frame_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/gfx/composition/cpp/BUILD.gn
diff --git a/mojo/services/gfx/composition/cpp/BUILD.gn b/mojo/services/gfx/composition/cpp/BUILD.gn
index 8be29316bab8375cca38a942810c96a4ea909afa..135df221ffc00c9d0858e100e501e372cc5c8f6c 100644
--- a/mojo/services/gfx/composition/cpp/BUILD.gn
+++ b/mojo/services/gfx/composition/cpp/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/module_args/mojo.gni")
+import("$mojo_sdk_root/mojo/public/mojo_application.gni")
import("$mojo_sdk_root/mojo/public/mojo_sdk.gni")
mojo_sdk_source_set("cpp") {
@@ -11,6 +12,8 @@ mojo_sdk_source_set("cpp") {
sources = [
"formatting.cc",
"formatting.h",
+ "frame_tracker.cc",
+ "frame_tracker.h",
]
deps = [
@@ -18,3 +21,21 @@ mojo_sdk_source_set("cpp") {
"../interfaces",
]
}
+
+mojo_native_application("apptests") {
+ output_name = "gfx_composition_apptests"
+
+ testonly = true
+
+ sources = [
+ "frame_tracker_apptest.cc",
+ ]
+
+ deps = [
+ ":cpp",
+ "$mojo_sdk_root/mojo/public/cpp/application:standalone",
+ "$mojo_sdk_root/mojo/public/cpp/application:test_support_standalone",
+ "../interfaces",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/services/gfx/composition/cpp/frame_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine