summaryrefslogtreecommitdiffstats
path: root/o3d/ipc/build.scons
blob: 2474cc0be705c1014abf350d51844b2f5c7d35fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

__doc__ = """
Master configuration for building ipc component.
"""

Import('env')

inputs = [
    'ipc_channel_proxy',
    'ipc_logging',
    'ipc_message',
    'ipc_message_utils',
    'ipc_switches',
    'ipc_sync_channel',
    'ipc_sync_message',
]

if env.Bit('windows'):
  inputs += [
      'ipc_channel_win',
  ]

if env.Bit('mac') or env.Bit('linux'):
  inputs += [
      'file_descriptor_set_posix',
      'ipc_channel_posix',
  ]

input_files = env.MakeObjects(inputs, '$CHROME_SRC_DIR/ipc', 'cc')
env.ComponentLibrary('o3d_ipc', input_files)