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

Unified Diff: chrome/installer/setup/setup.scons

Issue 10952: More *.scons renaming:... (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/setup/SConscript ('k') | chrome/installer/util/SConscript » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup.scons
===================================================================
--- chrome/installer/setup/setup.scons (revision 5480)
+++ chrome/installer/setup/setup.scons (working copy)
@@ -5,24 +5,29 @@
Import('env', 'env_res')
env = env.Clone()
-env_res = env_res.Clone()
+env.ApplySConscript([
+ '$BASE_DIR/using_base.scons',
+ '$BSPATCH_DIR/using_bspatch.scons',
+ '$ICU38_DIR/using_icu38.scons',
+ '$LZMA_SDK_DIR/using_lzma_sdk.scons',
+])
-env_res.Append(
- CPPPATH = [
- "$TARGET_ROOT",
- ".",
- "$CHROME_SRC_DIR",
- ],
- RCFLAGS = [
- ["/l", "0x409"],
- ],
-)
+if env['PLATFORM'] == 'win32':
+ env_res = env_res.Clone()
+ env_res.Append(
+ CPPPATH = [
+ "$TARGET_ROOT",
+ ".",
+ "$CHROME_SRC_DIR",
+ ],
+ RCFLAGS = [
+ ["/l", "0x409"],
+ ],
+ )
-resources = [
- env_res.RES('setup.rc'),
-]
+ resources = env_res.RES('setup.rc')
env.Prepend(
@@ -33,40 +38,38 @@
'$CHROME_SRC_DIR',
],
LIBS = [
- 'base',
- 'bspatch',
'common',
- env['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed
- 'lzma_sdk',
'util',
],
)
-env.Prepend(
- LINKFLAGS = [
- '/INCREMENTAL',
- '/DEBUG',
+if env['PLATFORM'] == 'win32':
+ env.Prepend(
+ LINKFLAGS = [
+ '/INCREMENTAL',
+ '/DEBUG',
- '/DELAYLOAD:"dwmapi.dll"',
- '/DELAYLOAD:"uxtheme.dll"',
+ '/DELAYLOAD:"dwmapi.dll"',
+ '/DELAYLOAD:"uxtheme.dll"',
- '/OPT:NOWIN98',
- '/SUBSYSTEM:WINDOWS',
- '/MACHINE:X86',
- '/FIXED:No',
+ '/OPT:NOWIN98',
+ '/SUBSYSTEM:WINDOWS',
+ '/MACHINE:X86',
+ '/FIXED:No',
- '/safeseh',
- '/dynamicbase',
- '/ignore:4199',
- '/nxcompat',
+ '/safeseh',
+ '/dynamicbase',
+ '/ignore:4199',
+ '/nxcompat',
- '/PDB:${TARGETS[1]}',
- ],
- LIBS = [
- 'msi.lib',
- ],
-)
+ '/PDB:${TARGETS[1]}',
+ ],
+ LIBS = [
+ 'msi',
+ ],
+ )
+
input_files = [
'install.cc',
'main.cc',
@@ -75,13 +78,8 @@
'uninstall.cc',
]
-exe = env.ChromeProgram('setup', resources + input_files)
-i = env.Install('$TARGET_ROOT', exe)
+env.ChromeProgram('setup', resources + input_files)
-env.Alias('chrome', i)
-
-
env.ChromeVersionRC('setup_exe_version.rc',
'setup_exe_version.rc.version',
PWD = env.Dir('.'))
-
Property changes on: chrome\installer\setup\setup.scons
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/chrome/installer/setup/SConscript:r69-2775
« no previous file with comments | « chrome/installer/setup/SConscript ('k') | chrome/installer/util/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698