OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 __doc__ = """ | 5 __doc__ = """ |
6 Configuration for building net.lib / libnet.a. | 6 Configuration for building net.lib / libnet.a. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 # possibly only on incredibuild, scons doesn't know this. | 163 # possibly only on incredibuild, scons doesn't know this. |
164 env_p = env.Clone() | 164 env_p = env.Clone() |
165 env_p.Append(CCFLAGS='/Ylnet') | 165 env_p.Append(CCFLAGS='/Ylnet') |
166 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') | 166 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') |
167 env['PCH'] = pch | 167 env['PCH'] = pch |
168 env['PCHSTOP'] = 'precompiled_net.h' | 168 env['PCHSTOP'] = 'precompiled_net.h' |
169 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) | 169 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) |
170 input_files += [obj] | 170 input_files += [obj] |
171 | 171 |
172 env.ChromeStaticLibrary('net', input_files) | 172 env.ChromeStaticLibrary('net', input_files) |
| 173 |
| 174 env.ChromeMSVSProject('$NET_DIR/build/net.vcproj', |
| 175 dependencies = [ |
| 176 '$NET_DIR/build/tld_cleanup.vcproj' |
| 177 ], |
| 178 guid='{326E9795-E760-410A-B69A-3F79DB3F5243}') |
OLD | NEW |