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

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

Issue 495223002: GN build rules for all unit test targets in mojo/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix copyright header Created 6 years, 4 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
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" ]
+ }
+}
« no previous file with comments | « mojo/services/public/cpp/view_manager/BUILD.gn ('k') | mojo/services/public/cpp/view_manager/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698