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

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

Issue 574993002: Revert of Second attempt to land change to remove NativeViewportService and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/public/cpp/view_manager/lib/BUILD.gn
diff --git a/mojo/services/public/cpp/view_manager/lib/BUILD.gn b/mojo/services/public/cpp/view_manager/lib/BUILD.gn
index df44a34d4345458ba4d1e22ae579bb6c9223d0ac..32f4f3d416dcdae488ff0b85614c32156c4b9c89 100644
--- a/mojo/services/public/cpp/view_manager/lib/BUILD.gn
+++ b/mojo/services/public/cpp/view_manager/lib/BUILD.gn
@@ -16,14 +16,15 @@
deps = [
"//base",
"//base/test:test_support",
+ "//ui/gl",
]
-
+ if (is_linux || is_win) {
+ deps += [
+ "//third_party/mesa:osmesa",
+ "//mojo/services/native_viewport",
+ ]
+ }
if (use_x11) {
- deps += ["//ui/gfx/x"]
+ deps += [ "//ui/gfx/x" ]
}
-
- if (is_component_build) {
- deps += ["//ui/gl"]
- }
-
}
« 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