Componentize VariationsService into //components/variations/service
[chromium-blink-merge.git] / components / tracing.gyp
blob8bf23d231c1fd470c8ea4609c54698d0dba8af87
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
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
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.
11   'variables': {
12     'chromium_code': 1,
13   },
14   'targets' : [
15     {
16       'target_name': 'tracing',
17       'type': '<(component)',
18       'dependencies': [
19         '../base/base.gyp:base',
20         '../ipc/ipc.gyp:ipc',
21       ],
22       'include_dirs': [
23         '..',
24       ],
25       'defines': [
26         'TRACING_IMPLEMENTATION=1',
27       ],
28       'sources': [
29         'tracing/child_memory_dump_manager_delegate_impl.cc',
30         'tracing/child_memory_dump_manager_delegate_impl.h',
31         'tracing/child_trace_message_filter.cc',
32         'tracing/child_trace_message_filter.h',
33         'tracing/trace_config_file.cc',
34         'tracing/trace_config_file.h',
35         'tracing/tracing_export.h',
36         'tracing/tracing_messages.cc',
37         'tracing/tracing_messages.h',
38         'tracing/tracing_switches.cc',
39         'tracing/tracing_switches.h',
40       ],
41     },
42   ],