Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: components/tracing.gyp

Issue 2306443002: Remove GYP files from components. (Closed)
Patch Set: Remove compiled resources Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/toolbar.gypi ('k') | components/tracing_nacl.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 #
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 # This file is intentionally a gyp file rather than a gypi for dependencies
7 # reasons. The other gypi files include content.gyp and content_common depends
8 # on this, thus if you try to rename this to gypi and include it in
9 # components.gyp, you will get a circular dependency error.
10 {
11 'variables': {
12 'chromium_code': 1,
13 },
14 'targets' : [
15 {
16 'target_name': 'tracing',
17 'type': '<(component)',
18 'dependencies': [
19 '../base/base.gyp:base',
20 '../ipc/ipc.gyp:ipc',
21 ],
22 'include_dirs': [
23 '..',
24 ],
25 'defines': [
26 'TRACING_IMPLEMENTATION=1',
27 ],
28 'sources': [
29 'tracing/browser/trace_config_file.cc',
30 'tracing/browser/trace_config_file.h',
31 'tracing/child/child_memory_dump_manager_delegate_impl.cc',
32 'tracing/child/child_memory_dump_manager_delegate_impl.h',
33 'tracing/child/child_trace_message_filter.cc',
34 'tracing/child/child_trace_message_filter.h',
35 'tracing/common/graphics_memory_dump_provider_android.cc',
36 'tracing/common/graphics_memory_dump_provider_android.h',
37 'tracing/common/process_metrics_memory_dump_provider.cc',
38 'tracing/common/process_metrics_memory_dump_provider.h',
39 'tracing/common/trace_to_console.cc',
40 'tracing/common/trace_to_console.h',
41 'tracing/common/tracing_messages.cc',
42 'tracing/common/tracing_messages.h',
43 'tracing/common/tracing_switches.cc',
44 'tracing/common/tracing_switches.h',
45 'tracing/core/proto_utils.h',
46 'tracing/core/proto_zero_message.cc',
47 'tracing/core/proto_zero_message.h',
48 'tracing/core/proto_zero_message_handle.cc',
49 'tracing/core/proto_zero_message_handle.h',
50 'tracing/core/scattered_stream_writer.cc',
51 'tracing/core/scattered_stream_writer.h',
52 'tracing/core/trace_buffer_writer.cc',
53 'tracing/core/trace_buffer_writer.h',
54 'tracing/core/trace_ring_buffer.cc',
55 'tracing/core/trace_ring_buffer.h',
56 'tracing/tracing_export.h',
57 ],
58 'target_conditions': [
59 ['>(nacl_untrusted_build)==1', {
60 'sources!': [
61 'tracing/common/process_metrics_memory_dump_provider.cc',
62 ],
63 }],
64 ]
65 },
66 {
67 'target_name': 'proto_zero_plugin',
68 'type': 'executable',
69 'toolsets': ['host'],
70 'sources': [
71 'tracing/tools/proto_zero_plugin/proto_zero_generator.cc',
72 'tracing/tools/proto_zero_plugin/proto_zero_generator.h',
73 'tracing/tools/proto_zero_plugin/proto_zero_plugin.cc',
74 ],
75 'include_dirs': [
76 '..',
77 '../third_party/protobuf/src',
78 ],
79 'dependencies': [
80 '../third_party/protobuf/protobuf.gyp:protoc_lib',
81 ],
82 },
83 {
84 'target_name': 'proto_zero_testing_messages',
85 'type': 'static_library',
86 'variables': {
87 'proto_in_dir': 'tracing/test',
88 'proto_out_dir': 'components/tracing/test',
89 'generator_plugin': 'proto_zero_plugin',
90 'generator_plugin_suffix': '.pbzero',
91 'generate_cc': 0,
92 'generate_python': 0,
93 },
94 'sources': [
95 'tracing/test/example_messages.proto',
96 ],
97 'dependencies': [
98 'proto_zero_plugin#host',
99 ],
100 'includes': ['../build/protoc.gypi'],
101 },
102 {
103 # Official protobuf used by tests to verify that the Tracing V2 output is
104 # effectively proto-compatible.
105 # GN version: //components/tracing:golden_protos_for_tests
106 'target_name': 'golden_protos_for_tests',
107 'type': 'static_library',
108 'variables': {
109 'proto_in_dir': 'tracing/proto',
110 'proto_out_dir': 'components/tracing/test/golden_protos',
111 },
112 'sources': [
113 'tracing/proto/events_chunk.proto',
114 ],
115 'includes': ['../build/protoc.gypi'],
116 },
117 ],
118 }
OLDNEW
« no previous file with comments | « components/toolbar.gypi ('k') | components/tracing_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698