Report time-related media metrics in milliseconds instead of seconds.
[chromium-blink-merge.git] / ipc / ipc.gypi
blobba80e4214044e2933e97ed67ee2528bea2f758af
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'target_defaults': {
7     'variables': {
8       'ipc_target': 0,
9     },
10     'target_conditions': [
11       # This part is shared between the targets defined below.
12       ['ipc_target==1', {
13         'sources': [
14           'file_descriptor_set_posix.cc',
15           'file_descriptor_set_posix.h',
16           'ipc_channel.cc',
17           'ipc_channel.h',
18           'ipc_channel_factory.cc',
19           'ipc_channel_factory.h',
20           'ipc_channel_handle.h',
21           'ipc_channel_nacl.cc',
22           'ipc_channel_nacl.h',
23           'ipc_channel_posix.cc',
24           'ipc_channel_posix.h',
25           'ipc_channel_proxy.cc',
26           'ipc_channel_proxy.h',
27           'ipc_channel_reader.cc',
28           'ipc_channel_reader.h',
29           'ipc_channel_win.cc',
30           'ipc_channel_win.h',
31           'ipc_descriptors.h',
32           'ipc_export.h',
33           'ipc_forwarding_message_filter.cc',
34           'ipc_forwarding_message_filter.h',
35           'ipc_listener.h',
36           'ipc_logging.cc',
37           'ipc_logging.h',
38           'ipc_message.cc',
39           'ipc_message.h',
40           'ipc_message_macros.h',
41           'ipc_message_start.h',
42           'ipc_message_utils.cc',
43           'ipc_message_utils.h',
44           'ipc_param_traits.h',
45           'ipc_platform_file.cc',
46           'ipc_platform_file.h',
47           'ipc_sender.h',
48           'ipc_switches.cc',
49           'ipc_switches.h',
50           'ipc_sync_channel.cc',
51           'ipc_sync_channel.h',
52           'ipc_sync_message.cc',
53           'ipc_sync_message.h',
54           'ipc_sync_message_filter.cc',
55           'ipc_sync_message_filter.h',
56           'param_traits_log_macros.h',
57           'param_traits_macros.h',
58           'param_traits_read_macros.h',
59           'param_traits_write_macros.h',
60           'struct_constructor_macros.h',
61           'struct_destructor_macros.h',
62           'unix_domain_socket_util.cc',
63           'unix_domain_socket_util.h',
64         ],
65         'defines': [
66           'IPC_IMPLEMENTATION',
67         ],
68         'include_dirs': [
69           '..',
70         ],
71         'target_conditions': [
72           ['>(nacl_untrusted_build)==1', {
73             'sources!': [
74               'ipc_channel.cc',
75               'ipc_channel_factory.cc',
76               'ipc_channel_posix.cc',
77               'unix_domain_socket_util.cc',
78             ],
79           }],
80           ['OS == "win" or OS == "ios"', {
81             'sources!': [
82               'ipc_channel_factory.cc',
83               'unix_domain_socket_util.cc',
84             ],
85           }],
86         ],
87       }],
88     ],
89   },