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': 'static_library', | 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 ], | 21 ], |
22 'include_dirs': [ | 22 'include_dirs': [ |
23 '..', | 23 '..', |
24 ], | 24 ], |
| 25 'defines': [ |
| 26 'TRACING_IMPLEMENTATION=1', |
| 27 ], |
25 'sources': [ | 28 'sources': [ |
26 'tracing/child_memory_dump_manager_delegate_impl.cc', | 29 'tracing/child_memory_dump_manager_delegate_impl.cc', |
27 'tracing/child_memory_dump_manager_delegate_impl.h', | 30 'tracing/child_memory_dump_manager_delegate_impl.h', |
28 'tracing/child_trace_message_filter.cc', | 31 'tracing/child_trace_message_filter.cc', |
29 'tracing/child_trace_message_filter.h', | 32 'tracing/child_trace_message_filter.h', |
| 33 'tracing/tracing_export.h', |
30 'tracing/startup_tracing.cc', | 34 'tracing/startup_tracing.cc', |
31 'tracing/startup_tracing.h', | 35 'tracing/startup_tracing.h', |
32 'tracing/tracing_messages.cc', | 36 'tracing/tracing_messages.cc', |
33 'tracing/tracing_messages.h', | 37 'tracing/tracing_messages.h', |
34 ], | 38 ], |
35 }, | 39 }, |
36 ], | 40 ], |
37 } | 41 } |
OLD | NEW |