diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 17:16:46 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 17:16:46 +0000 |
commit | da6654b0465478b0549e593c1efb45bd44756965 (patch) | |
tree | 487788278214089228f23098346c1d02b5acfec4 /chrome/SConscript | |
parent | 1fbb43878f7f68c1770a12847ecd46c0f1413b3e (diff) | |
download | chromium_src-da6654b0465478b0549e593c1efb45bd44756965.zip chromium_src-da6654b0465478b0549e593c1efb45bd44756965.tar.gz chromium_src-da6654b0465478b0549e593c1efb45bd44756965.tar.bz2 |
Next round of SCons changes:
* Add 'gdm_fp' to the $LIBS setting in base\using_base.scons
(to be removed when that library moves into base\third_party).
* Have the grit Scanner search the Repository() copy of the source
file (necessary now that $TARGET_ROOT has changed).
* Change all the SConscript files underneath chrome\test and
chrome\tools to *.scons files, including updating their
contents with the current patterns.
* Add dependencies of the local_settings_*.res files on
the corresponding google_chrome_string_*.rc files, so they
get generated properly.
* Add generation of the chrome_exe.res resource file.
* Comment out some unnecessary .lib settings in the base
construction environment.
Review URL: http://codereview.chromium.org/10745
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/SConscript')
-rw-r--r-- | chrome/SConscript | 57 |
1 files changed, 32 insertions, 25 deletions
diff --git a/chrome/SConscript b/chrome/SConscript index e87e38d..8e1e19d 100644 --- a/chrome/SConscript +++ b/chrome/SConscript @@ -40,6 +40,7 @@ if env_res['PLATFORM'] == 'win32': ) browser_res = env_res.RES('browser/browser_resources.rc') + chrome_exe_res = env_res.RES('app/chrome_exe.rc'), chrome_dll_res = env_res.RES('app/chrome_dll.rc') env_res.Depends(chrome_dll_res, 'installer/util/installer_util_strings.rc') common_res = env_res.RES('common/common_resources.rc') @@ -99,7 +100,8 @@ env_dll.Append( LIBS = [ 'base', 'base_gfx', - 'breakpad_handler', + #'breakpad_handler', + 'dmg_fp', 'googleurl', 'net', 'skia', @@ -126,7 +128,7 @@ env_dll.Append( 'debugger', 'common', 'util', - 'jscre', + #'jscre', 'plugin', 'renderer', 'hunspell', @@ -134,7 +136,9 @@ env_dll.Append( #'libevent', 'sqlite', 'views', - 'v8', + #'v8', + 'v8_g', + 'v8_snapshot', ], ) @@ -144,12 +148,12 @@ if env_dll['PLATFORM'] == 'win32': # TODO(sgk): to be ported to Mac and Linux 'sdch', - 'comctl32.lib', - 'dwmapi.lib', - 'rpcrt4.lib', - 'shlwapi.lib', - 'winmm.lib', - 'wsock32.lib', + #'comctl32.lib', + #'dwmapi.lib', + #'rpcrt4.lib', + #'shlwapi.lib', + #'winmm.lib', + #'wsock32.lib', ], LINKFLAGS = [ '/INCREMENTAL', @@ -180,6 +184,7 @@ if env_dll['PLATFORM'] == 'win32': '/safeseh', '/dynamicbase', '/ignore:4199', + '/ignore:4221', '/nxcompat', '/PDB:${TARGETS[1]}', @@ -261,6 +266,8 @@ if env_dll['PLATFORM'] == 'win32': 'app/chrome_dll_version.rc.version', ) + # TODO(sgk): explicit dependencies => scanned implicit dependencies + Depends(chrome_exe_res, chrome_exe_version_rc) Depends(chrome_dll_res, chrome_dll_version_rc) chrome_exe_version_res = env_res.RES(chrome_exe_version_rc) @@ -316,7 +323,7 @@ if env['PLATFORM'] == 'win32': chrome_exe = env_exe.ChromeProgram( 'chrome', [ - env_res.RES('app/chrome_exe.rc'), + chrome_exe_res, 'app/breakpad.cc', 'app/chrome_exe_main.cc', 'app/client_util.cc', @@ -390,8 +397,8 @@ if env_flat['PLATFORM'] == 'win32': CPPPATH=['..'] + env['CPPPATH']) sconscript_files = [ - 'test/chrome_plugin/SConscript', - 'tools/test/image_diff/SConscript', + 'test/chrome_plugin/test_chrome_plugin.scons', + 'tools/test/image_diff/image_diff.scons', ] if not env.WantSystemLib('hunspell'): @@ -408,19 +415,19 @@ if env['PLATFORM'] == 'win32': 'installer/mini_installer/SConscript', 'installer/setup/SConscript', 'installer/util/SConscript', - 'test/activex_test_control/SConscript', - 'test/automation/SConscript', - 'test/memory_test/SConscript', - 'test/mini_installer_test/SConscript', - 'test/page_cycler/SConscript', - 'test/plugin/SConscript', - 'test/reliability/SConscript', - 'test/security_tests/SConscript', - 'test/selenium/SConscript', - 'test/startup/SConscript', - 'test/tab_switching/SConscript', - 'tools/crash_service/SConscript', - 'tools/perf/flush_cache/SConscript', + 'test/activex_test_control/activex_test_control.scons', + 'test/automation/automation.scons', + 'test/memory_test/memory_test.scons', + 'test/mini_installer_test/mini_installer_test.scons', + 'test/page_cycler/page_cycler_tests.scons', + 'test/plugin/plugin_tests.scons', + 'test/reliability/reliability_tests.scons', + 'test/security_tests/security_tests.scons', + 'test/selenium/selenium_tests.scons', + 'test/startup/startup_tests.scons', + 'test/tab_switching/tab_switching_test.scons', + 'tools/crash_service/crash_service.scons', + 'tools/perf/flush_cache/flush_cache.scons', 'views/SConscript', ]) |