summaryrefslogtreecommitdiffstats
path: root/net/net_sln.scons
blob: 7823d8d56eade877451b1f66beba4785f59e52a4 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# 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__ = """
Configuration for building base.sln.
"""

Import('env')

env = env.Clone()

env.Tool('MSVSNew')

env.ChromeMSVSFolder('net dependencies',
               name='dependencies',
               entries = [
                   '$BASE_DIR/build/debug_message.vcproj',
                   '$BASE_DIR/build/base.vcproj',
                   '$BZIP2_DIR/bzip2.vcproj',
                   '$MODP_B64_DIR/modp_b64.vcproj',
                   '$ZLIB_DIR/zlib.vcproj',
                   '$ICU38_DIR/build/icu.vcproj',
                   '$ICU38_DIR/build/icudt.vcproj',
                   '$TESTING_DIR/gtest.vcproj',
                   '$GOOGLEURL_DIR/build/googleurl.vcproj',
                   '$SDCH_DIR/sdch.vcproj',
               ],
               guid='{A04F65DF-D422-4E8F-B918-29EBA839363E}')

env.ChromeMSVSFolder('net tools',
               name='tools',
               entries = [
                   '$NET_DIR/build/dump_cache.vcproj',
                   #'build/stress_cache.vcproj',
                   '$NET_DIR/build/crash_cache.vcproj',
                   '$NET_DIR/build/tld_cleanup.vcproj',
               ],
               guid='{E7D78B1F-F7D3-47CB-BF51-3957C646B406}')


solution = env.ChromeMSVSSolution('net.sln',
                            entries = [
                                'net dependencies',
                                '$GOOGLEURL_DIR/build/googleurl.vcproj',
                                '$BASE_DIR/build/base.vcproj',
                                '$BASE_DIR/build/debug_message.vcproj',
                                '$ICU38_DIR/build/icu.vcproj',
                                '$ICU38_DIR/build/icudt.vcproj',
                                '$NET_DIR/build/net.vcproj',
                                '$NET_DIR/build/net_unittests.vcproj',
                                '$NET_DIR/build/tld_cleanup.vcproj',
                                'net tools',
                                '$ZLIB_DIR/zlib.vcproj',
                                '$BZIP2_DIR/bzip2.vcproj',
                                '$MODP_B64_DIR/modp_b64.vcproj',
                                '$NET_DIR/build/net_perftests.vcproj',
                                '$NET_DIR/build/crash_cache.vcproj',
                                '$NET_DIR/build/stress_cache.vcproj',
                                '$TESTING_DIR/gtest.vcproj',
                                '$SDCH_DIR/sdch.vcproj',
                                '$NET_DIR/build/dump_cache.vcproj',

                            ],
                            variants = [
                                'Debug|Win32',
                                'Release|Win32',
                            ])

env.AlwaysBuild(solution)

i = env.Command('$CHROME_SRC_DIR/net/net.sln', solution,
                Copy('$TARGET', '$SOURCE'))
Alias('solutions', i)