Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: net/net_resources.scons

Issue 17602: Updates to Visual Studio project generation to accomodate... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 the net_resources.rc resources. 6 Configuration for building the net_resources.rc resources.
7 """ 7 """
8 8
9 import os 9 import os
10 import sys 10 import sys
(...skipping 19 matching lines...) Expand all
30 input_files, 30 input_files,
31 '${SOURCES[1]} ${SOURCES[0]} $TARGET') 31 '${SOURCES[1]} ${SOURCES[0]} $TARGET')
32 32
33 if env.Bit('windows'): 33 if env.Bit('windows'):
34 env.Prepend( 34 env.Prepend(
35 RCFLAGS = [ 35 RCFLAGS = [
36 '/l 0x409', 36 '/l 0x409',
37 ], 37 ],
38 ) 38 )
39 39
40 net_resources = []
40 for g in [g for g in generated if str(g).endswith('.rc')]: 41 for g in [g for g in generated if str(g).endswith('.rc')]:
41 net_res = env.RES(g) 42 net_res = env.RES(g)
43 net_resources.extend(net_res)
42 env.Depends(net_res, tld_names_clean) 44 env.Depends(net_res, tld_names_clean)
45
46 p = env.ChromeMSVSProject('build/net_resources.vcproj',
47 dest='$CHROME_SRC_DIR/net/build/net_resources.vcproj ',
48 guid='{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}',
49 buildtargets=net_resources,
50 ConfigurationType='10')
51
52 p.AddToolFile('../tools/grit/build/grit_resources.rules')
53
54 p.AddConfig('Debug|Win32',
55 InheritedPropertySheets=[
56 '$(SolutionDir)../build/common.vsprops',
57 '$(SolutionDir)../build/debug.vsprops',
58 ])
59
60 p.AddConfig('Release|Win32',
61 InheritedPropertySheets=[
62 '$(SolutionDir)../build/common.vsprops',
63 '$(SolutionDir)../build/release.vsprops',
64 ])
OLDNEW
« no previous file with comments | « net/net_perftests.scons ('k') | net/net_sln.scons » ('j') | skia/SConscript » ('J')

Powered by Google App Engine
This is Rietveld 408576698