| Index: mojo/services/view_manager/cpp/tests/BUILD.gn
|
| diff --git a/mojo/services/view_manager/cpp/tests/BUILD.gn b/mojo/services/view_manager/cpp/tests/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..744074b6e55732893dd7b143c477c0d91ae2a81b
|
| --- /dev/null
|
| +++ b/mojo/services/view_manager/cpp/tests/BUILD.gn
|
| @@ -0,0 +1,37 @@
|
| +# 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")
|
| +import("//testing/test.gni")
|
| +
|
| +test("mojo_view_manager_lib_unittests") {
|
| + sources = [
|
| + "run_all_unittests.cc",
|
| + "view_manager_test_suite.cc",
|
| + "view_manager_test_suite.h",
|
| + "view_unittest.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + "../../../geometry/cpp",
|
| + "../../../geometry/interfaces",
|
| + "//base",
|
| + "//base/test:test_support",
|
| +
|
| + # TODO(vtl): These non-public deps are illegal here. This should be
|
| + # converted to an apptest.
|
| + "//mojo/application",
|
| + "//mojo/edk/base_edk",
|
| + "//mojo/edk/system",
|
| + "//mojo/environment:chromium",
|
| + "//mojo/public/cpp/application",
|
| + "//mojo/public/cpp/system",
|
| + "//mojo/services/view_manager/cpp",
|
| + "//testing/gtest",
|
| + ]
|
| +
|
| + if (use_x11) {
|
| + deps += [ "//ui/gfx/x" ]
|
| + }
|
| +}
|
|
|