summaryrefslogtreecommitdiffstats
path: root/base/base.scons
blob: 2167d25a5c24d7e6e250847b86e9171f9100aaaa (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
# 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 base components (including base_gfx).
"""

Import('env')

# Arrange for Hammer to add all programs to the 'base' Alias.
env.Append(
    COMPONENT_PROGRAM_GROUPS = ['base'],
    COMPONENT_TEST_PROGRAM_GROUPS = ['base'],
)

sconscript_files = [
    'base_lib.scons',
    'base_unittests.scons',
    'gfx/base_gfx.scons',
]

if env.Bit('windows'):
  # TODO(port): port this if it's needed on non-Windows systems,
  # or remove this comment if it's really Windows-specific.
  sconscript_files.extend([
      'debug_message.scons',
  ])

SConscript(sconscript_files, exports=['env'])