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

Side by Side Diff: components/mus/BUILD.gn

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to mojo::edk namespace in preparation for runtim flag 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//mojo/public/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 "//base/test:test_config", 165 "//base/test:test_config",
166 "//components/mus/public/cpp:common", 166 "//components/mus/public/cpp:common",
167 "//components/mus/public/interfaces", 167 "//components/mus/public/interfaces",
168 "//components/mus/surfaces", 168 "//components/mus/surfaces",
169 "//mojo/application/public/interfaces", 169 "//mojo/application/public/interfaces",
170 "//mojo/converters/geometry", 170 "//mojo/converters/geometry",
171 "//mojo/converters/input_events", 171 "//mojo/converters/input_events",
172 "//mojo/converters/transform", 172 "//mojo/converters/transform",
173 "//mojo/environment:chromium", 173 "//mojo/environment:chromium",
174 "//mojo/platform_handle", 174 "//mojo/platform_handle",
175 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
176 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", 175 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings",
177 "//ui/mojo/geometry:interfaces", 176 "//ui/mojo/geometry:interfaces",
178 "//ui/mojo/events:interfaces", 177 "//ui/mojo/events:interfaces",
179 "//testing/gtest", 178 "//testing/gtest",
180 "//ui/gfx", 179 "//ui/gfx",
181 "//ui/gfx:test_support", 180 "//ui/gfx:test_support",
182 "//ui/gfx/geometry", 181 "//ui/gfx/geometry",
183 ] 182 ]
184 183
184 if (use_chrome_edk) {
185 deps += [ "//mojo/edk/test:run_all_unittests" ]
186 } else {
187 deps += [ "//third_party/mojo/src/mojo/edk/test:run_all_unittests" ]
188 }
189
185 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. 190 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
186 deps += [ "//third_party/mesa:osmesa" ] 191 deps += [ "//third_party/mesa:osmesa" ]
187 } 192 }
188 } 193 }
189 194
190 mojo_native_application("apptests") { 195 mojo_native_application("apptests") {
191 output_name = "mus_apptests" 196 output_name = "mus_apptests"
192 testonly = true 197 testonly = true
193 198
194 sources = [ 199 sources = [
195 "view_manager_client_apptest.cc", 200 "view_manager_client_apptest.cc",
196 "view_tree_apptest.cc", 201 "view_tree_apptest.cc",
197 ] 202 ]
198 203
199 deps = [ 204 deps = [
200 ":test_support", 205 ":test_support",
201 "//base", 206 "//base",
202 "//base/test:test_config", 207 "//base/test:test_config",
203 "//components/mus/public/cpp", 208 "//components/mus/public/cpp",
204 "//components/mus/public/cpp/tests:test_support", 209 "//components/mus/public/cpp/tests:test_support",
205 "//components/mus/public/interfaces", 210 "//components/mus/public/interfaces",
206 "//mojo/application/public/cpp:sources", 211 "//mojo/application/public/cpp:sources",
207 "//mojo/application/public/cpp:test_support", 212 "//mojo/application/public/cpp:test_support",
208 "//ui/mojo/geometry:interfaces", 213 "//ui/mojo/geometry:interfaces",
209 "//ui/mojo/geometry:util", 214 "//ui/mojo/geometry:util",
210 ] 215 ]
211 216
212 data_deps = [ ":mus" ] 217 data_deps = [ ":mus" ]
213 } 218 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698