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

Side by Side Diff: apps/moterm/BUILD.gn

Issue 1556683004: Port Moterm to Mozart. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-16
Patch Set: fix nits Created 4 years, 11 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 | « apps/BUILD.gn ('k') | apps/moterm/gl_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 6
7 mojo_native_application("moterm") { 7 mojo_native_application("moterm") {
8 sources = [ 8 sources = [
9 "moterm_main.cc", 9 "main.cc",
10 "moterm_app.cc",
11 "moterm_app.h",
10 "moterm_view.cc", 12 "moterm_view.cc",
11 "moterm_view.h", 13 "moterm_view.h",
12 ] 14 ]
13 15
14 deps = [ 16 deps = [
15 ":driver", 17 ":driver",
16 ":gl_helper",
17 ":key_util", 18 ":key_util",
18 ":model", 19 ":model",
19 "//base", 20 "//base",
20 "//mojo/application", 21 "//mojo/application",
21 "//mojo/common", 22 "//mojo/common",
23 "//mojo/public/c/gpu",
22 "//mojo/public/c/system", 24 "//mojo/public/c/system",
23 "//mojo/public/cpp/application", 25 "//mojo/public/cpp/application",
24 "//mojo/public/cpp/bindings", 26 "//mojo/public/cpp/bindings",
25 "//mojo/public/cpp/bindings:callback", 27 "//mojo/public/cpp/bindings:callback",
26 "//mojo/services/files/interfaces", 28 "//mojo/services/files/interfaces",
27 "//mojo/services/surfaces/interfaces:surface_id", 29 "//mojo/services/geometry/interfaces",
30 "//mojo/services/gfx/composition/interfaces",
28 "//mojo/services/terminal/interfaces", 31 "//mojo/services/terminal/interfaces",
29 "//mojo/services/view_manager/cpp", 32 "//mojo/services/ui/input/interfaces",
33 "//mojo/services/ui/views/interfaces",
34 "//mojo/skia",
35 "//mojo/ui",
36 "//mojo/ui:ganesh",
37 "//mojo/ui:gl",
30 "//skia", 38 "//skia",
31 "//third_party/dejavu-fonts-ttf-2.34:DejaVuSansMonoRegular", 39 "//third_party/dejavu-fonts-ttf-2.34:DejaVuSansMonoRegular",
32 ] 40 ]
33 } 41 }
34 42
35 mojo_native_application("gl_helper_test_app") {
36 sources = [
37 "gl_helper_test_app.cc",
38 ]
39
40 deps = [
41 ":gl_helper",
42 "//base",
43 "//mojo/application",
44 "//mojo/services/geometry/interfaces",
45 "//mojo/services/gpu/interfaces",
46 "//mojo/services/native_viewport/interfaces",
47 "//mojo/services/surfaces/interfaces",
48 ]
49 }
50
51 source_set("driver") { 43 source_set("driver") {
52 sources = [ 44 sources = [
53 "moterm_driver.cc", 45 "moterm_driver.cc",
54 "moterm_driver.h", 46 "moterm_driver.h",
55 ] 47 ]
56 48
57 public_deps = [ 49 public_deps = [
58 "//base", 50 "//base",
59 "//mojo/public/cpp/bindings", 51 "//mojo/public/cpp/bindings",
60 "//mojo/services/files/interfaces", 52 "//mojo/services/files/interfaces",
61 ] 53 ]
62 } 54 }
63 55
64 source_set("gl_helper") {
65 sources = [
66 "gl_helper.cc",
67 "gl_helper.h",
68 ]
69
70 deps = [
71 "//mojo/public/cpp/application",
72 "//mojo/public/c/gpu",
73 "//mojo/public/interfaces/application",
74 "//mojo/services/gpu/interfaces",
75 "//mojo/services/surfaces/interfaces",
76 ]
77
78 public_deps = [
79 "//base",
80 "//mojo/public/c/gpu",
81 "//mojo/public/c/gpu:GLES2",
82 "//mojo/services/geometry/cpp",
83 "//mojo/services/geometry/interfaces",
84 "//mojo/services/gpu/interfaces",
85 "//mojo/services/surfaces/cpp",
86 "//mojo/services/surfaces/interfaces",
87 "//mojo/services/surfaces/interfaces:surface_id",
88 ]
89 }
90
91 source_set("key_util") { 56 source_set("key_util") {
92 sources = [ 57 sources = [
93 "key_util.cc", 58 "key_util.cc",
94 "key_util.h", 59 "key_util.h",
95 ] 60 ]
96 61
97 deps = [ 62 deps = [
98 "//base", 63 "//base",
99 ] 64 ]
100 65
(...skipping 17 matching lines...) Expand all
118 "//third_party/libteken", 83 "//third_party/libteken",
119 ] 84 ]
120 } 85 }
121 86
122 mojo_native_application("apptests") { 87 mojo_native_application("apptests") {
123 output_name = "moterm_apptests" 88 output_name = "moterm_apptests"
124 89
125 testonly = true 90 testonly = true
126 91
127 sources = [ 92 sources = [
128 "gl_helper_unittest.cc",
129 "key_util_unittest.cc", 93 "key_util_unittest.cc",
130 "moterm_driver_unittest.cc", 94 "moterm_driver_unittest.cc",
131 "moterm_model_unittest.cc", 95 "moterm_model_unittest.cc",
132 ] 96 ]
133 97
134 deps = [ 98 deps = [
135 ":driver", 99 ":driver",
136 ":gl_helper",
137 ":key_util", 100 ":key_util",
138 ":model", 101 ":model",
139 "//mojo/application", 102 "//mojo/application",
140 "//mojo/application:test_support", 103 "//mojo/application:test_support",
141 "//mojo/public/cpp/bindings:callback", 104 "//mojo/public/cpp/bindings:callback",
142 "//testing/gtest", 105 "//testing/gtest",
143 ] 106 ]
144 } 107 }
OLDNEW
« no previous file with comments | « apps/BUILD.gn ('k') | apps/moterm/gl_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698