Chromium Code Reviews| 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/proto_zero_plugin/proto_zero_generator.cc', | |
| 66 'tracing/proto_zero_plugin/proto_zero_generator.h', | |
| 67 'tracing/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': 'mock_messages', | |
|
Primiano Tucci (use gerrit)
2016/07/13 16:52:31
call this target "proto_zero_test_message"
this ta
| |
| 79 'type': 'static_library', | |
| 80 'variables': { | |
| 81 'proto_in_dir': 'tracing/proto_zero_plugin', | |
| 82 'proto_out_dir': 'components/tracing/proto_zero_plugin', | |
| 83 'generator_plugin': 'proto_zero_plugin', | |
| 84 'generator_plugin_suffix': '.zeropb', | |
|
Primiano Tucci (use gerrit)
2016/07/13 16:52:31
i'd make this .pbzero for consistency with ProtoZe
| |
| 85 'generate_cc': 0, | |
| 86 'generate_python': 0, | |
| 87 }, | |
| 88 'sources': [ | |
| 89 'tracing/proto_zero_plugin/mock_messages.proto', | |
| 90 ], | |
| 91 'dependencies': [ | |
| 92 'proto_zero_plugin', | |
| 93 ], | |
| 94 'includes': ['../build/protoc.gypi'], | |
| 95 }, | |
| 60 ], | 96 ], |
| 61 } | 97 } |
| OLD | NEW |