Fullscreen can't use the desktop as a parent in metro mode
[chromium-blink-merge.git] / ipc / ipc.gypi
blob0684216bf2ca5dc025a8c208a93352ff3f32f066
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.h',
17           'ipc_channel.cc',
18           'ipc_channel_handle.h',
19           'ipc_channel_posix.cc',
20           'ipc_channel_posix.h',
21           'ipc_channel_proxy.cc',
22           'ipc_channel_proxy.h',
23           'ipc_channel_reader.cc',
24           'ipc_channel_reader.h',
25           'ipc_channel_win.cc',
26           'ipc_channel_win.h',
27           'ipc_descriptors.h',
28           'ipc_export.h',
29           'ipc_logging.cc',
30           'ipc_logging.h',
31           'ipc_message.cc',
32           'ipc_message.h',
33           'ipc_message_macros.h',
34           'ipc_message_utils.cc',
35           'ipc_message_utils.h',
36           'ipc_param_traits.h',
37           'ipc_platform_file.cc',
38           'ipc_platform_file.h',
39           'ipc_switches.cc',
40           'ipc_switches.h',
41           'ipc_sync_channel.cc',
42           'ipc_sync_channel.h',
43           'ipc_sync_message.cc',
44           'ipc_sync_message.h',
45           'ipc_sync_message_filter.cc',
46           'ipc_sync_message_filter.h',
47           'param_traits_log_macros.h',
48           'param_traits_macros.h',
49           'param_traits_read_macros.h',
50           'param_traits_write_macros.h',
51           'struct_constructor_macros.h',
52           'struct_destructor_macros.h',
53         ],
54         'defines': [
55           'IPC_IMPLEMENTATION',
56         ],
57         'include_dirs': [
58           '..',
59         ],
60       }],
61     ],
62   },
63   'targets': [
64     {
65       'target_name': 'ipc',
66       'type': '<(component)',
67       'variables': {
68         'ipc_target': 1,
69       },
70       'dependencies': [
71         '../base/base.gyp:base',
72         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
73       ],
74       # TODO(gregoryd): direct_dependent_settings should be shared with the
75       # 64-bit target, but it doesn't work due to a bug in gyp
76       'direct_dependent_settings': {
77         'include_dirs': [
78           '..',
79         ],
80       },
81     },
82   ],
83   'conditions': [
84     ['OS=="win"', {
85       'targets': [
86         {
87           'target_name': 'ipc_win64',
88           'type': '<(component)',
89           'variables': {
90             'ipc_target': 1,
91           },
92           'dependencies': [
93             '../base/base.gyp:base_nacl_win64',
94             '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
95           ],
96           # TODO(gregoryd): direct_dependent_settings should be shared with the
97           # 32-bit target, but it doesn't work due to a bug in gyp
98           'direct_dependent_settings': {
99             'include_dirs': [
100               '..',
101             ],
102           },
103           'configurations': {
104             'Common_Base': {
105               'msvs_target_platform': 'x64',
106             },
107           },
108         },
109       ],
110     }],
111   ],