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

Unified 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 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 32f4f3d416dcdae488ff0b85614c32156c4b9c89..df44a34d4345458ba4d1e22ae579bb6c9223d0ac 100644
--- a/mojo/services/public/cpp/view_manager/lib/BUILD.gn
+++ b/mojo/services/public/cpp/view_manager/lib/BUILD.gn
@@ -16,15 +16,14 @@ source_set("run_unittests") {
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