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

Side by Side Diff: mojo/services/public/cpp/view_manager/lib/BUILD.gn

Issue 568883003: Second attempt to land change to remove NativeViewportService and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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 6
7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_run_unittests 7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_run_unittests
8 source_set("run_unittests") { 8 source_set("run_unittests") {
9 testonly = true 9 testonly = true
10 sources = [ 10 sources = [
11 "view_manager_test_suite.cc", 11 "view_manager_test_suite.cc",
12 "view_manager_test_suite.h", 12 "view_manager_test_suite.h",
13 "view_manager_unittests.cc", 13 "view_manager_unittests.cc",
14 ] 14 ]
15 15
16 deps = [ 16 deps = [
17 "//base", 17 "//base",
18 "//base/test:test_support", 18 "//base/test:test_support",
19 "//ui/gl",
20 ] 19 ]
21 if (is_linux || is_win) { 20
22 deps += [ 21 if (use_x11) {
23 "//third_party/mesa:osmesa", 22 deps += ["//ui/gfx/x"]
24 "//mojo/services/native_viewport",
25 ]
26 } 23 }
27 if (use_x11) { 24
28 deps += [ "//ui/gfx/x" ] 25 if (is_component_build) {
26 deps += ["//ui/gl"]
29 } 27 }
28
30 } 29 }
OLDNEW
« no previous file with comments | « mojo/services/public/cpp/view_manager/BUILD.gn ('k') | mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698