| Index: components/viz/host/hit_test/BUILD.gn
|
| diff --git a/components/viz/host/hit_test/BUILD.gn b/components/viz/host/hit_test/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dd69bb5fc89848aae586a97d2343115765338b9d
|
| --- /dev/null
|
| +++ b/components/viz/host/hit_test/BUILD.gn
|
| @@ -0,0 +1,36 @@
|
| +# Copyright 2017 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("//testing/test.gni")
|
| +
|
| +source_set("hit_test") {
|
| + sources = [
|
| + "hit_test_query.cc",
|
| + "hit_test_query.h",
|
| + ]
|
| +
|
| + public_deps = [
|
| + "//cc/surfaces:surface_id",
|
| + "//components/viz/common:common",
|
| + "//ui/gfx",
|
| + "//ui/gfx/geometry",
|
| + ]
|
| +}
|
| +
|
| +source_set("unit_tests") {
|
| + testonly = true
|
| +
|
| + sources = [
|
| + "hit_test_query_unittest.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":hit_test",
|
| + "//base",
|
| + "//base/test:run_all_unittests",
|
| + "//base/test:test_support",
|
| + "//cc:test_support",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
|
|