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', |
52 'tracing/core/trace_ring_buffer.cc', | 54 'tracing/core/trace_ring_buffer.cc', |
53 'tracing/core/trace_ring_buffer.h', | 55 'tracing/core/trace_ring_buffer.h', |
54 'tracing/tracing_export.h', | 56 'tracing/tracing_export.h', |
55 ], | 57 ], |
56 'target_conditions': [ | 58 'target_conditions': [ |
57 ['>(nacl_untrusted_build)==1', { | 59 ['>(nacl_untrusted_build)==1', { |
58 'sources!': [ | 60 'sources!': [ |
59 'tracing/common/process_metrics_memory_dump_provider.cc', | 61 'tracing/common/process_metrics_memory_dump_provider.cc', |
60 ], | 62 ], |
61 }], | 63 }], |
(...skipping 28 matching lines...) Expand all Loading... |
90 'generate_python': 0, | 92 'generate_python': 0, |
91 }, | 93 }, |
92 'sources': [ | 94 'sources': [ |
93 'tracing/test/example_messages.proto', | 95 'tracing/test/example_messages.proto', |
94 ], | 96 ], |
95 'dependencies': [ | 97 'dependencies': [ |
96 'proto_zero_plugin#host', | 98 'proto_zero_plugin#host', |
97 ], | 99 ], |
98 'includes': ['../build/protoc.gypi'], | 100 'includes': ['../build/protoc.gypi'], |
99 }, | 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 }, |
100 ], | 117 ], |
101 } | 118 } |
OLD | NEW |