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

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

Issue 1418653002: Synchronize GN build configuration with Chrome (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Review feedback addressed Created 5 years, 2 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 | « DEPS ('k') | base/BUILD.gn » ('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 "moterm_main.cc",
10 "moterm_view.cc", 10 "moterm_view.cc",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ] 68 ]
69 69
70 deps = [ 70 deps = [
71 "//mojo/public/cpp/application", 71 "//mojo/public/cpp/application",
72 "//mojo/public/c/gpu", 72 "//mojo/public/c/gpu",
73 "//mojo/public/interfaces/application", 73 "//mojo/public/interfaces/application",
74 "//mojo/services/gpu/interfaces", 74 "//mojo/services/gpu/interfaces",
75 "//mojo/services/surfaces/interfaces", 75 "//mojo/services/surfaces/interfaces",
76 ] 76 ]
77 77
78 forward_dependent_configs_from = [
79 "//mojo/public/c/gpu",
80 "//mojo/services/gpu/interfaces",
81 "//mojo/services/surfaces/interfaces",
82 ]
83
84 public_deps = [ 78 public_deps = [
85 "//base", 79 "//base",
80 "//mojo/public/c/gpu",
86 "//mojo/public/c/gpu:GLES2", 81 "//mojo/public/c/gpu:GLES2",
87 "//mojo/services/geometry/cpp", 82 "//mojo/services/geometry/cpp",
88 "//mojo/services/geometry/interfaces", 83 "//mojo/services/geometry/interfaces",
84 "//mojo/services/gpu/interfaces",
89 "//mojo/services/surfaces/cpp", 85 "//mojo/services/surfaces/cpp",
86 "//mojo/services/surfaces/interfaces",
90 "//mojo/services/surfaces/interfaces:surface_id", 87 "//mojo/services/surfaces/interfaces:surface_id",
91 ] 88 ]
92 } 89 }
93 90
94 source_set("key_util") { 91 source_set("key_util") {
95 sources = [ 92 sources = [
96 "key_util.cc", 93 "key_util.cc",
97 "key_util.h", 94 "key_util.h",
98 ] 95 ]
99 96
100 deps = [ 97 deps = [
101 "//base", 98 "//base",
102 ] 99 ]
103 100
104 public_deps = [ 101 public_deps = [
105 "//mojo/services/input_events/interfaces", 102 "//mojo/services/input_events/interfaces",
106 ] 103 ]
107 } 104 }
108 105
109 source_set("model") { 106 source_set("model") {
110 sources = [ 107 sources = [
111 "moterm_model.cc", 108 "moterm_model.cc",
112 "moterm_model.h", 109 "moterm_model.h",
113 ] 110 ]
114 111
115 deps = [ 112 deps = [
116 "//third_party/libteken", 113 "//third_party/libteken",
117 ] 114 ]
118 115
119 forward_dependent_configs_from = [ "//third_party/libteken" ]
120
121 public_deps = [ 116 public_deps = [
122 "//base", 117 "//base",
118 "//third_party/libteken",
123 ] 119 ]
124 } 120 }
125 121
126 mojo_native_application("apptests") { 122 mojo_native_application("apptests") {
127 output_name = "moterm_apptests" 123 output_name = "moterm_apptests"
128 124
129 testonly = true 125 testonly = true
130 126
131 sources = [ 127 sources = [
132 "gl_helper_unittest.cc", 128 "gl_helper_unittest.cc",
133 "key_util_unittest.cc", 129 "key_util_unittest.cc",
134 "moterm_driver_unittest.cc", 130 "moterm_driver_unittest.cc",
135 "moterm_model_unittest.cc", 131 "moterm_model_unittest.cc",
136 ] 132 ]
137 133
138 deps = [ 134 deps = [
139 ":driver", 135 ":driver",
140 ":gl_helper", 136 ":gl_helper",
141 ":key_util", 137 ":key_util",
142 ":model", 138 ":model",
143 "//mojo/application", 139 "//mojo/application",
144 "//mojo/application:test_support", 140 "//mojo/application:test_support",
145 "//mojo/public/cpp/bindings:callback", 141 "//mojo/public/cpp/bindings:callback",
146 "//testing/gtest", 142 "//testing/gtest",
147 ] 143 ]
148 } 144 }
OLDNEW
« no previous file with comments | « DEPS ('k') | base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698