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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/ui/associates/mock_hit_tester.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//mojo/public/mojo_application.gni")
6
7 source_set("associates") {
8 sources = [
9 "resolved_hits.cc",
10 "resolved_hits.h",
11 "view_inspector_client.cc",
12 "view_inspector_client.h",
13 "view_tree_hit_tester_client.cc",
14 "view_tree_hit_tester_client.h",
15 ]
16
17 deps = [
18 "//base",
19 "//mojo/public/cpp/bindings",
20 "//mojo/services/geometry/interfaces",
21 "//mojo/services/gfx/composition/cpp",
22 "//mojo/services/gfx/composition/interfaces",
23 "//mojo/services/ui/views/cpp",
24 "//mojo/services/ui/views/interfaces",
25 ]
26 }
27
28 source_set("mocks") {
29 sources = [
30 "mock_hit_tester.cc",
31 "mock_hit_tester.h",
32 "mock_view_inspector.cc",
33 "mock_view_inspector.h",
34 ]
35
36 deps = [
37 ":associates",
38 "//base",
39 "//mojo/common",
40 "//mojo/public/cpp/bindings",
41 "//mojo/services/geometry/interfaces",
42 "//mojo/services/gfx/composition/interfaces",
43 "//mojo/services/ui/views/interfaces",
44 ]
45 }
46
47 mojo_native_application("apptests") {
48 output_name = "ui_associates_apptests"
49
50 testonly = true
51
52 sources = [
53 "test_helpers.h",
54 "view_inspector_client_apptest.cc",
55 "view_tree_hit_tester_client_apptest.cc",
56 ]
57
58 deps = [
59 ":associates",
60 ":mocks",
61 "//base",
62 "//mojo/application",
63 "//mojo/application:test_support",
64 "//mojo/common",
65 "//mojo/public/cpp/bindings:callback",
66 "//mojo/services/geometry/interfaces",
67 "//mojo/services/gfx/composition/interfaces",
68 "//mojo/services/ui/views/interfaces",
69 "//testing/gtest",
70 ]
71 }
OLDNEW
« 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