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