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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 'tracing/tracing_export.h', | 50 'tracing/tracing_export.h', |
51 ], | 51 ], |
52 'target_conditions': [ | 52 'target_conditions': [ |
53 ['>(nacl_untrusted_build)==1', { | 53 ['>(nacl_untrusted_build)==1', { |
54 'sources!': [ | 54 'sources!': [ |
55 'tracing/common/process_metrics_memory_dump_provider.cc', | 55 'tracing/common/process_metrics_memory_dump_provider.cc', |
56 ], | 56 ], |
57 }], | 57 }], |
58 ] | 58 ] |
59 }, | 59 }, |
| 60 { |
| 61 'target_name': 'proto_zero_plugin', |
| 62 'type': 'executable', |
| 63 'toolsets': ['host'], |
| 64 'sources': [ |
| 65 'tracing/tools/proto_zero_plugin/proto_zero_generator.cc', |
| 66 'tracing/tools/proto_zero_plugin/proto_zero_generator.h', |
| 67 'tracing/tools/proto_zero_plugin/proto_zero_plugin.cc', |
| 68 ], |
| 69 'include_dirs': [ |
| 70 '..', |
| 71 '../third_party/protobuf/src', |
| 72 ], |
| 73 'dependencies': [ |
| 74 '../third_party/protobuf/protobuf.gyp:protoc_lib', |
| 75 ], |
| 76 }, |
| 77 { |
| 78 'target_name': 'proto_zero_testing_messages', |
| 79 'type': 'static_library', |
| 80 'variables': { |
| 81 'proto_in_dir': 'tracing/test', |
| 82 'proto_out_dir': 'components/tracing/test', |
| 83 'generator_plugin': 'proto_zero_plugin', |
| 84 'generator_plugin_suffix': '.pbzero', |
| 85 'generate_cc': 0, |
| 86 'generate_python': 0, |
| 87 }, |
| 88 'sources': [ |
| 89 'tracing/test/example_messages.proto', |
| 90 ], |
| 91 'dependencies': [ |
| 92 'proto_zero_plugin', |
| 93 ], |
| 94 'includes': ['../build/protoc.gypi'], |
| 95 }, |
60 ], | 96 ], |
61 } | 97 } |
OLD | NEW |