Chromium Code Reviews| Index: ui/latency_info/BUILD.gn |
| diff --git a/ui/latency_info/BUILD.gn b/ui/latency_info/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..10f65f6717f9880b9ba96a6dd2c1adac1658da44 |
| --- /dev/null |
| +++ b/ui/latency_info/BUILD.gn |
| @@ -0,0 +1,42 @@ |
| +# Copyright 2014 The Chromium Authors. All rights reserved. |
|
sky
2016/04/12 17:51:58
2016.
Fady Samuel
2016/04/12 19:18:04
Done.
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//testing/test.gni") |
| + |
| +component("latency_info") { |
| + sources = [ |
| + "latency_info.cc", |
| + "latency_info.h", |
| + "latency_info_export.h", |
| + ] |
| + |
| + defines = [ "LATENCY_INFO_IMPLEMENTATION" ] |
| + |
| + deps = [ |
| + "//base", |
| + ] |
| +} |
| + |
| +test("latency_info_unittests") { |
| + sources = [ |
| + "latency_info_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + ":latency_info", |
| + "//base", |
| + "//base/test:run_all_unittests", |
| + "//base/test:test_support", |
| + "//testing/gmock", |
| + "//testing/gtest", |
| + ] |
| + |
| + if (!is_ios) { |
| + sources += [ "ipc/latency_info_param_traits_unittest.cc" ] |
| + deps += [ |
| + "//ipc:test_support", |
| + "//ui/latency_info/ipc", |
| + ] |
| + } |
| +} |