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

Side by Side Diff: chrome/SConscript

Issue 9259: Adding visual studio solution files.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 import os 5 import os
6 6
7 Import(['env']) 7 Import(['env'])
8 8
9 env_res = env.Clone() 9 env_res = env.Clone()
10 env_test = env.Clone() 10 env_test = env.Clone()
(...skipping 23 matching lines...) Expand all
34 # For app/chrome_dll.res to #include installer_util_strings.rc. 34 # For app/chrome_dll.res to #include installer_util_strings.rc.
35 '$CHROME_DIR/installer/util', 35 '$CHROME_DIR/installer/util',
36 ], 36 ],
37 RCFLAGS = [ 37 RCFLAGS = [
38 ['/l', '0x409'], 38 ['/l', '0x409'],
39 ], 39 ],
40 ) 40 )
41 41
42 browser_res = env_res.RES('browser/browser_resources.rc') 42 browser_res = env_res.RES('browser/browser_resources.rc')
43 chrome_dll_res = env_res.RES('app/chrome_dll.rc') 43 chrome_dll_res = env_res.RES('app/chrome_dll.rc')
44 env_res.Depends(chrome_dll_res, 'installer/util/installer_util_strings.rc')
44 common_res = env_res.RES('common/common_resources.rc') 45 common_res = env_res.RES('common/common_resources.rc')
45 debugger_res = env_res.RES('browser/debugger/resources/debugger_resources.rc') 46 debugger_res = env_res.RES('browser/debugger/resources/debugger_resources.rc')
46 renderer_res = env_res.RES('renderer/renderer_resources.rc') 47 renderer_res = env_res.RES('renderer/renderer_resources.rc')
47 test_data_res = env_res.RES('test/data/resource.rc') 48 test_data_res = env_res.RES('test/data/resource.rc')
48 webkit_res = env_res.RES('$WEBKIT_DIR/glue/webkit_resources.rc') 49 webkit_res = env_res.RES('$WEBKIT_DIR/glue/webkit_resources.rc')
49 50
50 net_res = '$NET_DIR/net_resources.res' 51 net_res = '$NET_DIR/net_resources.res'
51 52
52 dll_resources = [ 53 dll_resources = [
53 browser_res, 54 browser_res,
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 # TODO(sgk): parameterize for chromium-vs.-google_chrome 235 # TODO(sgk): parameterize for chromium-vs.-google_chrome
235 source.append(env.File('$CHROME_SRC_DIR/chrome/app/theme/google_chrome/BRA NDING')) 236 source.append(env.File('$CHROME_SRC_DIR/chrome/app/theme/google_chrome/BRA NDING'))
236 return target, source 237 return target, source
237 238
238 b = Builder(action = '$CHROME_VERSION_RC_COM', 239 b = Builder(action = '$CHROME_VERSION_RC_COM',
239 emitter = chrome_version_emitter) 240 emitter = chrome_version_emitter)
240 241
241 env['BUILDERS']['ChromeVersionRC'] = b 242 env['BUILDERS']['ChromeVersionRC'] = b
242 243
243 env.Replace( 244 env.Replace(
245 # NOTE: the / after $CHROME_SRC_DIR/chrome/ is required because
246 # version.bat assumes a path with a trailing slash.
244 CHROME_VERSION_RC_COM = 247 CHROME_VERSION_RC_COM =
245 '$VERSION_BAT $SOURCE $CHROME_SRC_DIR/chrome $PWD $TARGET', 248 '$VERSION_BAT $SOURCE $CHROME_SRC_DIR/chrome/ $PWD $TARGET',
246 VERSION_BAT = env.File( 249 VERSION_BAT = env.File(
247 '$CHROME_SRC_DIR/chrome/tools/build/win/version.bat'), 250 '$CHROME_SRC_DIR/chrome/tools/build/win/version.bat'),
248 PWD = Dir('.'), 251 PWD = Dir('.'),
249 ) 252 )
250 253
251 chrome_exe_version_rc = env.ChromeVersionRC( 254 chrome_exe_version_rc = env.ChromeVersionRC(
252 'chrome_exe_version.rc', 255 'chrome_exe_version.rc',
253 'app/chrome_exe_version.rc.version' 256 'app/chrome_exe_version.rc.version'
254 ) 257 )
255 258
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 env.Alias('chrome', i) 458 env.Alias('chrome', i)
456 459
457 460
458 i = env.Command('$TARGET_ROOT/resources/inspector', 461 i = env.Command('$TARGET_ROOT/resources/inspector',
459 '$CHROME_SRC_DIR/webkit/port/page/inspector', 462 '$CHROME_SRC_DIR/webkit/port/page/inspector',
460 Copy('$TARGET', '$SOURCE'), 463 Copy('$TARGET', '$SOURCE'),
461 source_scanner=DirScanner) 464 source_scanner=DirScanner)
462 env.Alias('chrome', i) 465 env.Alias('chrome', i)
463 466
464 env.Alias('chrome', env.Alias('webkit')) 467 env.Alias('chrome', env.Alias('webkit'))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698