summaryrefslogtreecommitdiffstats
path: root/components/view_manager/public/cpp/tests/BUILD.gn
blob: 749b9a9918fda2c6935dc24a34c237bc89f6271a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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 = [
    "//base",
    "//base/test:test_support",

    # TODO(vtl): These non-public deps are illegal here. This should be
    # converted to an apptest.
    "//mojo/application",
    "//mojo/application/public/cpp",
    "//mojo/edk/system",
    "//mojo/environment:chromium",
    "//mojo/public/cpp/system",
    "//mojo/services/geometry/public/cpp",
    "//mojo/services/geometry/public/interfaces",
    "//mojo/services/view_manager/public/cpp",
    "//testing/gtest",
  ]

  if (use_x11) {
    deps += [ "//ui/gfx/x" ]
  }
}