mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
37 lines
906 B
Plaintext
37 lines
906 B
Plaintext
# 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/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" ]
|
|
}
|
|
}
|