| 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 { |
| 11 'variables': { | 11 'variables': { |
| 12 'chromium_code': 1, | 12 'chromium_code': 1, |
| 13 }, | 13 }, |
| 14 'targets' : [ | 14 'targets' : [ |
| 15 { | 15 { |
| 16 'target_name': 'tracing', | 16 'target_name': 'tracing', |
| 17 'type': '<(component)', | 17 'type': '<(component)', |
| 18 'dependencies': [ | 18 'dependencies': [ |
| 19 '../base/base.gyp:base', | 19 '../base/base.gyp:base', |
| 20 '../ipc/ipc.gyp:ipc', | 20 '../ipc/ipc.gyp:ipc', |
| 21 'tracing_proto.gyp:tracing_proto', |
| 21 ], | 22 ], |
| 22 'include_dirs': [ | 23 'include_dirs': [ |
| 23 '..', | 24 '..', |
| 24 ], | 25 ], |
| 25 'defines': [ | 26 'defines': [ |
| 26 'TRACING_IMPLEMENTATION=1', | 27 'TRACING_IMPLEMENTATION=1', |
| 27 ], | 28 ], |
| 28 'sources': [ | 29 'sources': [ |
| 29 'tracing/browser/trace_config_file.cc', | 30 'tracing/browser/trace_config_file.cc', |
| 30 'tracing/browser/trace_config_file.h', | 31 '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.cc', |
| 32 'tracing/child/child_memory_dump_manager_delegate_impl.h', | 33 'tracing/child/child_memory_dump_manager_delegate_impl.h', |
| 33 'tracing/child/child_trace_message_filter.cc', | 34 'tracing/child/child_trace_message_filter.cc', |
| 34 'tracing/child/child_trace_message_filter.h', | 35 'tracing/child/child_trace_message_filter.h', |
| 35 'tracing/common/graphics_memory_dump_provider_android.cc', | 36 'tracing/common/graphics_memory_dump_provider_android.cc', |
| 36 'tracing/common/graphics_memory_dump_provider_android.h', | 37 '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.cc', |
| 38 'tracing/common/process_metrics_memory_dump_provider.h', | 39 'tracing/common/process_metrics_memory_dump_provider.h', |
| 39 'tracing/common/trace_to_console.cc', | 40 'tracing/common/trace_to_console.cc', |
| 40 'tracing/common/trace_to_console.h', | 41 'tracing/common/trace_to_console.h', |
| 41 'tracing/common/tracing_messages.cc', | 42 'tracing/common/tracing_messages.cc', |
| 42 'tracing/common/tracing_messages.h', | 43 'tracing/common/tracing_messages.h', |
| 43 'tracing/common/tracing_switches.cc', | 44 'tracing/common/tracing_switches.cc', |
| 44 'tracing/common/tracing_switches.h', | 45 'tracing/common/tracing_switches.h', |
| 45 'tracing/core/scattered_stream_writer.cc', | 46 'tracing/core/scattered_stream_writer.cc', |
| 46 'tracing/core/scattered_stream_writer.h', | 47 'tracing/core/scattered_stream_writer.h', |
| 47 'tracing/core/trace_ring_buffer.cc', | 48 'tracing/core/trace_ring_buffer.cc', |
| 48 'tracing/core/trace_ring_buffer.h', | 49 'tracing/core/trace_ring_buffer.h', |
| 49 'tracing/tracing_export.h', | 50 'tracing/tracing_export.h', |
| 51 'tracing/sample_proto_canary.cc', |
| 50 ], | 52 ], |
| 51 'target_conditions': [ | 53 'target_conditions': [ |
| 52 ['>(nacl_untrusted_build)==1', { | 54 ['>(nacl_untrusted_build)==1', { |
| 53 'sources!': [ | 55 'sources!': [ |
| 54 'tracing/common/process_metrics_memory_dump_provider.cc', | 56 'tracing/common/process_metrics_memory_dump_provider.cc', |
| 55 ], | 57 ], |
| 56 }], | 58 }], |
| 57 ] | 59 ] |
| 58 }, | 60 }, |
| 59 ], | 61 ], |
| 60 } | 62 } |
| OLD | NEW |