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

Unified Diff: mojo/services/public/cpp/view_manager/tests/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
« no previous file with comments | « mojo/services/public/cpp/view_manager/lib/BUILD.gn ('k') | mojo/services/view_manager/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/cpp/view_manager/tests/BUILD.gn
diff --git a/mojo/services/public/cpp/view_manager/tests/BUILD.gn b/mojo/services/public/cpp/view_manager/tests/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..54f15e270456981b599eda63d675c6b9e4a31482
--- /dev/null
+++ b/mojo/services/public/cpp/view_manager/tests/BUILD.gn
@@ -0,0 +1,32 @@
+# 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_lib_unittests
+test("mojo_view_manager_lib_unittests") {
+ sources = [
+ "view_unittest.cc",
+ "view_manager_unittest.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//base/test:test_support",
+ "//testing/gtest",
+ "//ui/gfx",
+ "//ui/gfx:test_support",
+ "//mojo/environment:chromium",
+ "//mojo/services/public/interfaces/geometry",
+ "//mojo/services/public/cpp/geometry",
+ "//mojo/shell:test_support",
+ "//mojo/services/public/interfaces/view_manager",
+ "//mojo/services/public/cpp/view_manager",
+ ]
+ if (use_aura) {
+ deps += [ "//mojo/services/public/cpp/view_manager/lib:run_unittests" ]
+ } else {
+ deps += [ "//mojo/common/test:run_all_unittests" ]
+ }
+}
« no previous file with comments | « mojo/services/public/cpp/view_manager/lib/BUILD.gn ('k') | mojo/services/view_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698