OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # This file is intentionally a gyp file rather than a gypi for dependencies | 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 | 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 | 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. | 9 # components.gyp, you will get a circular dependency error. |
10 { | 10 { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'tracing/common/tracing_messages.h', | 42 'tracing/common/tracing_messages.h', |
43 'tracing/common/tracing_switches.cc', | 43 'tracing/common/tracing_switches.cc', |
44 'tracing/common/tracing_switches.h', | 44 'tracing/common/tracing_switches.h', |
45 'tracing/core/proto_utils.h', | 45 'tracing/core/proto_utils.h', |
46 'tracing/core/proto_zero_message.cc', | 46 'tracing/core/proto_zero_message.cc', |
47 'tracing/core/proto_zero_message.h', | 47 'tracing/core/proto_zero_message.h', |
48 'tracing/core/proto_zero_message_handle.cc', | 48 'tracing/core/proto_zero_message_handle.cc', |
49 'tracing/core/proto_zero_message_handle.h', | 49 'tracing/core/proto_zero_message_handle.h', |
50 'tracing/core/scattered_stream_writer.cc', | 50 'tracing/core/scattered_stream_writer.cc', |
51 'tracing/core/scattered_stream_writer.h', | 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', | 52 'tracing/core/trace_ring_buffer.cc', |
55 'tracing/core/trace_ring_buffer.h', | 53 'tracing/core/trace_ring_buffer.h', |
56 'tracing/tracing_export.h', | 54 'tracing/tracing_export.h', |
57 ], | 55 ], |
58 'target_conditions': [ | 56 'target_conditions': [ |
59 ['>(nacl_untrusted_build)==1', { | 57 ['>(nacl_untrusted_build)==1', { |
60 'sources!': [ | 58 'sources!': [ |
61 'tracing/common/process_metrics_memory_dump_provider.cc', | 59 'tracing/common/process_metrics_memory_dump_provider.cc', |
62 ], | 60 ], |
63 }], | 61 }], |
(...skipping 28 matching lines...) Expand all Loading... |
92 'generate_python': 0, | 90 'generate_python': 0, |
93 }, | 91 }, |
94 'sources': [ | 92 'sources': [ |
95 'tracing/test/example_messages.proto', | 93 'tracing/test/example_messages.proto', |
96 ], | 94 ], |
97 'dependencies': [ | 95 'dependencies': [ |
98 'proto_zero_plugin#host', | 96 'proto_zero_plugin#host', |
99 ], | 97 ], |
100 'includes': ['../build/protoc.gypi'], | 98 'includes': ['../build/protoc.gypi'], |
101 }, | 99 }, |
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 ], | 100 ], |
118 } | 101 } |
OLD | NEW |