summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/libraries/build.scons
blob: abc1abc05e37c297c0c614196972493030409ecb (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
34
35
36
37
38
39
40
41
#! -*- python -*-
#
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""
Build file for the NaCl SDK Libraries

This file runs all the scons files in the various libraries sub-directories.
Do not invoke this script directly, but instead use the scons or scons.bat
wrapper function.  E.g.

Linux or Mac:
  ./scons [Options...]

Windows:
  scons.bat [Options...]
"""

#------------------------------------------------------------------------------
HELP_STRING = """
===============================================================================
Help for NaCl SDK Libraries
===============================================================================

* cleaning:            ./scons -c
* build a target:      ./scons <target>
* clean a target:      ./scons -c <target>

Supported targets:
  * gtest_libs         Build the gtest and gmock libraries.
"""

libraries_sconscripts = [
    'gtest/build.scons',
  ]

Help(HELP_STRING)

SConscript(libraries_sconscripts)