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

Unified Diff: ui/latency_info/BUILD.gn

Issue 1871233002: Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some more gyp issues Created 4 years, 8 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 | « ui/keyboard/keyboard.gyp ('k') | ui/latency_info/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/latency_info/BUILD.gn
diff --git a/ui/latency_info/BUILD.gn b/ui/latency_info/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..ad8f8c1523fa45fe89baa68e47b0915adccf661d
--- /dev/null
+++ b/ui/latency_info/BUILD.gn
@@ -0,0 +1,42 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//testing/test.gni")
+
+component("latency_info") {
+ sources = [
+ "latency_info.cc",
+ "latency_info.h",
+ "latency_info_export.h",
+ ]
+
+ defines = [ "LATENCY_INFO_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ ]
+}
+
+test("latency_info_unittests") {
+ sources = [
+ "latency_info_unittest.cc",
+ ]
+
+ deps = [
+ ":latency_info",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//base/test:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+
+ if (!is_ios) {
+ sources += [ "ipc/latency_info_param_traits_unittest.cc" ]
+ deps += [
+ "//ipc:test_support",
+ "//ui/latency_info/ipc",
+ ]
+ }
+}
« no previous file with comments | « ui/keyboard/keyboard.gyp ('k') | ui/latency_info/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698