Roll src/third_party/WebKit 605a979:06cb9e9 (svn 202556:202558)
[chromium-blink-merge.git] / components / tracing / BUILD.gn
blobbd5b2711492b16ba648880ec8e350a503a6b7237
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 component("tracing") {
6   sources = [
7     "child_memory_dump_manager_delegate_impl.cc",
8     "child_memory_dump_manager_delegate_impl.h",
9     "child_trace_message_filter.cc",
10     "child_trace_message_filter.h",
11     "tracing_export.h",
12     "tracing_messages.cc",
13     "tracing_messages.h",
14   ]
16   defines = [ "TRACING_IMPLEMENTATION" ]
18   deps = [
19     "//base",
20     "//ipc",
21   ]
24 component("startup_tracing") {
25   sources = [
26     "trace_config_file.cc",
27     "trace_config_file.h",
28     "tracing_export.h",
29     "tracing_switches.cc",
30     "tracing_switches.h",
31   ]
33   defines = [ "TRACING_IMPLEMENTATION" ]
35   deps = [
36     "//base",
37   ]
40 source_set("unit_tests") {
41   testonly = true
43   sources = [
44     "trace_config_file_unittest.cc",
45   ]
47   deps = [
48     ":startup_tracing",
49     "//base/test:test_support",
50     "//testing/gtest",
51   ]