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

Unified Diff: mojo/ui/associates/BUILD.gn

Issue 1778593003: Mozart: Add helpers for building view associates. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-6
Patch Set: Created 4 years, 9 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 | « mojo/BUILD.gn ('k') | mojo/ui/associates/mock_hit_tester.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/associates/BUILD.gn
diff --git a/mojo/ui/associates/BUILD.gn b/mojo/ui/associates/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d2da81e07312c27f81fc15f31647451fd751c99b
--- /dev/null
+++ b/mojo/ui/associates/BUILD.gn
@@ -0,0 +1,71 @@
+# 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("//mojo/public/mojo_application.gni")
+
+source_set("associates") {
+ sources = [
+ "resolved_hits.cc",
+ "resolved_hits.h",
+ "view_inspector_client.cc",
+ "view_inspector_client.h",
+ "view_tree_hit_tester_client.cc",
+ "view_tree_hit_tester_client.h",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/public/cpp/bindings",
+ "//mojo/services/geometry/interfaces",
+ "//mojo/services/gfx/composition/cpp",
+ "//mojo/services/gfx/composition/interfaces",
+ "//mojo/services/ui/views/cpp",
+ "//mojo/services/ui/views/interfaces",
+ ]
+}
+
+source_set("mocks") {
+ sources = [
+ "mock_hit_tester.cc",
+ "mock_hit_tester.h",
+ "mock_view_inspector.cc",
+ "mock_view_inspector.h",
+ ]
+
+ deps = [
+ ":associates",
+ "//base",
+ "//mojo/common",
+ "//mojo/public/cpp/bindings",
+ "//mojo/services/geometry/interfaces",
+ "//mojo/services/gfx/composition/interfaces",
+ "//mojo/services/ui/views/interfaces",
+ ]
+}
+
+mojo_native_application("apptests") {
+ output_name = "ui_associates_apptests"
+
+ testonly = true
+
+ sources = [
+ "test_helpers.h",
+ "view_inspector_client_apptest.cc",
+ "view_tree_hit_tester_client_apptest.cc",
+ ]
+
+ deps = [
+ ":associates",
+ ":mocks",
+ "//base",
+ "//mojo/application",
+ "//mojo/application:test_support",
+ "//mojo/common",
+ "//mojo/public/cpp/bindings:callback",
+ "//mojo/services/geometry/interfaces",
+ "//mojo/services/gfx/composition/interfaces",
+ "//mojo/services/ui/views/interfaces",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/ui/associates/mock_hit_tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698