diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 23:00:46 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 23:00:46 +0000 |
commit | 94f686369c158fe46a327849ccae9f31c423adef (patch) | |
tree | 11a749e1cb4078790d6429e25a346a018cd03e1d /chrome/installer/util/util.scons | |
parent | b496c9e6770e4951eec84b17d5c84454815bf796 (diff) | |
download | chromium_src-94f686369c158fe46a327849ccae9f31c423adef.zip chromium_src-94f686369c158fe46a327849ccae9f31c423adef.tar.gz chromium_src-94f686369c158fe46a327849ccae9f31c423adef.tar.bz2 |
More *.scons renaming:
* Rename SConscript to *.scons in the following directories:
third_party\{bspatch,bsdiff,lzma_dsk}
chrome\installer\{setup,mini_installer,util}
* Split mini_installer and installer_unittests into separate *.scons files.
* Add using_bspatch.scons and using_lzma_sdk.scons "properties" files,
modifying other *.scons files to use them as appropriate.
Review URL: http://codereview.chromium.org/10952
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/util.scons')
-rw-r--r-- | chrome/installer/util/util.scons | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/chrome/installer/util/util.scons b/chrome/installer/util/util.scons new file mode 100644 index 0000000..e1e4957 --- /dev/null +++ b/chrome/installer/util/util.scons @@ -0,0 +1,66 @@ +# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +Import('env') + +env = env.Clone() + +env.ApplySConscript([ + '$BREAKPAD_DIR/using_breakpad.scons', + '$CHROME_DIR/third_party/wtl/using_wtl.scons', + '$ICU38_DIR/using_icu38.scons', + '$LIBJPEG_DIR/using_libjpeg.scons', + '$LIBPNG_DIR/using_libpng.scons', + '$LIBXML_DIR/using_libxml.scons', + '$LZMA_SDK_DIR/using_lzma_sdk.scons', + '$NPAPI_DIR/using_npapi.scons', + '$SKIA_DIR/using_skia.scons', + '$ZLIB_DIR/using_zlib.scons', +]) + +env.Prepend( + CPPPATH = [ + '$CHROME_SRC_DIR', + '.', + ], +) + +input_files = [ + 'browser_distribution.cc', + 'copy_tree_work_item.cc', + 'create_dir_work_item.cc', + 'create_reg_key_work_item.cc', + 'delete_reg_value_work_item.cc', + 'delete_tree_work_item.cc', + 'google_chrome_distribution.cc', + 'google_update_constants.cc', + 'google_update_settings.cc', + 'helper.cc', + 'install_util.cc', + 'l10n_string_util.cc', + 'logging_installer.cc', + 'lzma_util.cc', + 'master_preferences.cc', + 'set_reg_value_work_item.cc', + 'shell_util.cc', + 'util_constants.cc', + 'version.cc', + 'work_item.cc', + 'work_item_list.cc', +] + +env.ChromeStaticLibrary('util', input_files) + + +# create_string_rc.py imports FP.py from the tools/grit/grit/extern +# directory, so add that to PYTHONPATH for this command execution. +env_x = env.Clone() +env_x.AppendENVPath('PYTHONPATH', + [env_x.Dir('$CHROME_SRC_DIR/tools/grit/grit/extern').abspath]) +env_x.Command(['$CHROME_DIR/installer/util/installer_util_strings.rc', + '$CHROME_DIR/installer/util/installer_util_strings.h'], + ['$CHROME_DIR/installer/util/prebuild/create_string_rc.py', + '$CHROME_DIR/app/generated_resources.grd'] + + env.Glob('$CHROME_DIR/app/resources/*.xtb'), + "$PYTHON ${SOURCES[0]} ${TARGET.dir}") |