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

Side by Side Diff: mojo/ui/BUILD.gn

Issue 1556803002: Add helpers for creating UI components. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-13
Patch Set: address feedback Created 4 years, 10 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/common/strong_binding_set.h ('k') | mojo/ui/base_view.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 2015 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("ui") {
8 sources = [
9 "base_view.cc",
10 "base_view.h",
11 "choreographer.cc",
12 "choreographer.h",
13 "input_handler.cc",
14 "input_handler.h",
15 "view_provider_app.cc",
16 "view_provider_app.h",
17 ]
18
19 deps = [
20 "//base",
21 "//mojo/application",
22 "//mojo/common",
23 "//mojo/public/cpp/bindings",
24 "//mojo/public/interfaces/application",
25 "//mojo/services/gfx/composition/interfaces",
26 "//mojo/services/ui/input/interfaces",
27 "//mojo/services/ui/views/interfaces",
28 ]
29 }
30
31 source_set("content") {
32 sources = [
33 "content_viewer_app.cc",
34 "content_viewer_app.h",
35 ]
36
37 deps = [
38 ":ui",
39 "//base",
40 "//mojo/application",
41 "//mojo/common",
42 "//mojo/public/cpp/bindings",
43 "//mojo/services/content_handler/interfaces",
44 "//mojo/services/ui/views/interfaces",
45 ]
46 }
47
48 source_set("gl") {
49 sources = [
50 "gl_renderer.cc",
51 "gl_renderer.h",
52 "gl_view.cc",
53 "gl_view.h",
54 ]
55
56 deps = [
57 ":ui",
58 "//base",
59 "//mojo/application",
60 "//mojo/common",
61 "//mojo/gpu",
62 "//mojo/public/cpp/bindings",
63 "//mojo/services/gfx/composition/interfaces",
64 "//mojo/services/ui/views/interfaces",
65 ]
66 }
67
68 source_set("ganesh") {
69 sources = [
70 "ganesh_renderer.cc",
71 "ganesh_renderer.h",
72 "ganesh_view.cc",
73 "ganesh_view.h",
74 ]
75
76 deps = [
77 ":gl",
78 ":ui",
79 "//base",
80 "//mojo/application",
81 "//mojo/common",
82 "//mojo/gpu",
83 "//mojo/public/cpp/bindings",
84 "//mojo/services/gfx/composition/interfaces",
85 "//mojo/services/ui/views/interfaces",
86 "//mojo/skia",
87 "//skia",
88 ]
89 }
90
91 mojo_native_application("unittests") {
92 output_name = "ui_unittests"
93
94 testonly = true
95
96 sources = [
97 "gl_renderer_unittest.cc",
98 ]
99
100 deps = [
101 ":gl",
102 ":ui",
103 "//base",
104 "//mojo/application",
105 "//mojo/application:test_support",
106 "//mojo/gpu",
107 "//mojo/public/cpp/bindings:callback",
108 "//mojo/services/geometry/interfaces",
109 "//mojo/services/gfx/composition/interfaces",
110 "//testing/gtest",
111 ]
112 }
OLDNEW
« no previous file with comments | « mojo/common/strong_binding_set.h ('k') | mojo/ui/base_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698