Chromium Code Reviews| 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..bdef6f9997e7298d78f88254973a04a40582efc2 |
| --- /dev/null |
| +++ b/components/viz/host/hit_test/BUILD.gn |
| @@ -0,0 +1,37 @@ |
| +# 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") |
| + |
| +# TODO(riajiang): Integrate with https://codereview.chromium.org/2908783002/. |
| +source_set("hit_test") { |
| + sources = [ |
| + "components/viz/common/display_hit_test_data.h", |
|
sadrul
2017/06/16 17:09:51
I assume you meant //components...? (it's weird th
riajiang
2017/06/23 02:46:36
Yea I meant //components. Added BUILD.gn to compon
|
| + "hit_test_query.cc", |
| + "hit_test_query.h", |
| + ] |
| + |
| + public_deps = [ |
| + "//cc/surfaces:surface_id", |
| + "//ui/gfx", |
| + "//ui/gfx/geometry", |
| + ] |
| +} |
| + |
| +test("viz_hit_test_unittests") { |
| + 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", |
| + ] |
| +} |