blob: f0d8071524d132cb9bddc4abf704c59c753dd318 [file] [log] [blame]
# 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/edk/system",
"//mojo/environment:chromium",
"//mojo/public/cpp/application",
"//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" ]
}
}