PM: Start moving performance manager to components/.
This moves the performance manager and the graph implementation
as well as the public API to a new component.
Bug: 953031
Change-Id: Ie96011bbe615e31f183da8aae24a20b6e9c79228
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1829911
Commit-Queue: Sébastien Marchand <[email protected]>
Reviewed-by: Robert Kaplow <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Chris Hamilton <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: Cait Phillips <[email protected]>
Cr-Commit-Position: refs/heads/master@{#703442}
diff --git a/components/performance_manager/test_support/BUILD.gn b/components/performance_manager/test_support/BUILD.gn
new file mode 100644
index 0000000..729e16f
--- /dev/null
+++ b/components/performance_manager/test_support/BUILD.gn
@@ -0,0 +1,24 @@
+# Copyright 2019 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.
+
+# Expose the graph implementation, test fixtures and test support through
+# this test only target.
+source_set("test_support") {
+ testonly = true
+
+ sources = [
+ "graph_impl.h",
+ "graph_test_harness.cc",
+ "graph_test_harness.h",
+ "mock_graphs.cc",
+ "mock_graphs.h",
+ ]
+ deps = [
+ "//base/test:test_support",
+ "//components/performance_manager",
+ "//content/test:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}