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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..60541eaa4638652d7126d2cb586a7c548437b423 |
--- /dev/null |
+++ b/mojo/services/public/cpp/view_manager/lib/BUILD.gn |
@@ -0,0 +1,29 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/ui.gni") |
+ |
+# GYP version: mojo/mojo_services.gypi:mojo_view_manager_run_unittests |
+source_set("run_unittests") { |
+ sources = [ |
+ "view_manager_test_suite.cc", |
+ "view_manager_test_suite.h", |
+ "view_manager_unittests.cc", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//base/test:test_support", |
+ "//ui/gl", |
+ ] |
+ if (is_linux) { |
+ deps += [ |
+ "//third_party/mesa:osmesa", |
+ "//mojo/services/native_viewport", |
+ ] |
+ } |
+ if (use_x11) { |
+ deps += [ "//ui/gfx/x" ] |
+ } |
+} |