media: Remove kRAConsentGranted pref.
[chromium-blink-merge.git] / base / trace_event / BUILD.gn
blobc0c6a0579928568910d83f581dc37a1c57f0ffd0
1 # Copyright 2015 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 source_set("trace_event") {
6   sources = [
7     "memory_allocator_attributes.h",
8     "memory_allocator_dump.cc",
9     "memory_allocator_dump.h",
10     "memory_dump_manager.cc",
11     "memory_dump_manager.h",
12     "memory_dump_provider.cc",
13     "memory_dump_provider.h",
14     "memory_dump_request_args.h",
15     "process_memory_dump.cc",
16     "process_memory_dump.h",
17     "process_memory_maps.cc",
18     "process_memory_maps.h",
19     "process_memory_maps_dump_provider.cc",
20     "process_memory_maps_dump_provider.h",
21     "process_memory_totals.cc",
22     "process_memory_totals.h",
23     "process_memory_totals_dump_provider.cc",
24     "process_memory_totals_dump_provider.h",
25     "trace_event.h",
26     "trace_event_android.cc",
27     "trace_event_argument.cc",
28     "trace_event_argument.h",
29     "trace_event_impl.cc",
30     "trace_event_impl.h",
31     "trace_event_impl_constants.cc",
32     "trace_event_memory.cc",
33     "trace_event_memory.h",
34     "trace_event_synthetic_delay.cc",
35     "trace_event_synthetic_delay.h",
36     "trace_event_system_stats_monitor.cc",
37     "trace_event_system_stats_monitor.h",
38     "trace_event_win.cc",
39     "trace_event_win.h",
40   ]
42   if (is_nacl) {
43     sources -= [
44       "process_memory_totals_dump_provider.cc",
45       "trace_event_system_stats_monitor.cc",
46     ]
47   }
49   configs += [ "//base:base_implementation" ]
51   deps = [
52     "//base/debug",
53     "//base/json",
54     "//base/memory",
55     "//base/process",
56     "//base/third_party/dynamic_annotations",
57   ]
59   allow_circular_includes_from = [
60     "//base/debug",
61     "//base/memory",
62     "//base/process",
63   ]
65   visibility = [ "//base/*" ]
68 source_set("trace_event_unittests") {
69   testonly = true
70   sources = [
71     "memory_allocator_dump_unittest.cc",
72     "memory_dump_manager_unittest.cc",
73     "process_memory_maps_dump_provider_unittest.cc",
74     "process_memory_totals_dump_provider_unittest.cc",
75     "trace_event_argument_unittest.cc",
76     "trace_event_memory_unittest.cc",
77     "trace_event_synthetic_delay_unittest.cc",
78     "trace_event_system_stats_monitor_unittest.cc",
79     "trace_event_unittest.cc",
80     "trace_event_win_unittest.cc",
81   ]
83   deps = [
84     "//base/test:test_support",
85     "//testing/gmock",
86     "//testing/gtest",
87   ]