summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 01:32:55 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 01:32:55 +0000
commit36b7dcaa8f31bf38f0ea8cb5bb7061a6acd6e302 (patch)
tree08efa602788c875cc33ee503fd604aa838bff3e7 /chrome/tools
parentfa9b8274cab171496d1c46d803b07269452bb61d (diff)
downloadchromium_src-36b7dcaa8f31bf38f0ea8cb5bb7061a6acd6e302.zip
chromium_src-36b7dcaa8f31bf38f0ea8cb5bb7061a6acd6e302.tar.gz
chromium_src-36b7dcaa8f31bf38f0ea8cb5bb7061a6acd6e302.tar.bz2
Add builds of miscellaneous .exes:
base\debug_message.exe chrome\test\perf\perf_tests.exe chrome\tools\convert_dict\convert_dict.exe chrome\tools\profiles\generate_profile.exe Review URL: http://codereview.chromium.org/11541 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5812 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rw-r--r--chrome/tools/convert_dict/convert_dict.scons37
-rw-r--r--chrome/tools/profiles/generate_profile.scons68
2 files changed, 105 insertions, 0 deletions
diff --git a/chrome/tools/convert_dict/convert_dict.scons b/chrome/tools/convert_dict/convert_dict.scons
new file mode 100644
index 0000000..b634294b
--- /dev/null
+++ b/chrome/tools/convert_dict/convert_dict.scons
@@ -0,0 +1,37 @@
+# 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([
+ '$BASE_DIR/using_base.scons',
+# '$BASE_DIR/gfx/using_base_gfx.scons',
+# '$BREAKPAD_DIR/using_breakpad.scons',
+ '$ICU38_DIR/using_icu38.scons',
+# '$SKIA_DIR/using_skia.scons',
+# '$ZLIB_DIR/using_zlib.scons',
+])
+
+if env['PLATFORM'] == 'win32':
+ env.Prepend(
+ LIBS = [
+ #'breakpad_handler',
+ #'breakpad_sender',
+ #'common',
+ ],
+ )
+
+input_files = [
+ 'aff_reader.cc',
+ 'convert_dict.cc',
+ 'dic_reader.cc',
+ 'hunspell_reader.cc',
+ '$CHROME_DIR/third_party/hunspell/google/bdict_reader$OBJSUFFIX',
+ '$CHROME_DIR/third_party/hunspell/google/bdict_writer.cc',
+]
+
+env.ChromeProgram('convert_dict', input_files)
+
diff --git a/chrome/tools/profiles/generate_profile.scons b/chrome/tools/profiles/generate_profile.scons
new file mode 100644
index 0000000..9e601ea
--- /dev/null
+++ b/chrome/tools/profiles/generate_profile.scons
@@ -0,0 +1,68 @@
+# 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([
+ '$BASE_DIR/gfx/using_base_gfx.scons',
+ '$BASE_DIR/using_base.scons',
+ '$BZIP2_DIR/using_bzip2.scons',
+ '$CHROME_SRC_DIR/build/using_googleurl.scons',
+ '$CHROME_SRC_DIR/build/using_v8.scons',
+ '$GTEST_DIR/../using_gtest.scons',
+ '$ICU38_DIR/using_icu38.scons',
+ '$LIBJPEG_DIR/using_libjpeg.scons',
+ '$LIBPNG_DIR/using_libpng.scons',
+ '$LIBXML_DIR/using_libxml.scons',
+ '$LIBXSLT_DIR/using_libxslt.scons',
+ '$MODP_B64_DIR/using_modp_b64.scons',
+ '$NET_DIR/using_net.scons',
+ '$SDCH_DIR/using_sdch.scons',
+ '$SKIA_DIR/using_skia.scons',
+ '$ZLIB_DIR/using_zlib.scons',
+])
+
+env.Prepend(
+ CPPDEFINES = [
+ 'PERF_TEST',
+ ],
+ LIBS = [
+ 'activex_shim',
+ 'browser',
+ 'browser_views',
+ 'common',
+ 'debugger',
+ 'default_plugin',
+ 'glue',
+ 'hunspell',
+ 'JavaScriptCore_pcre',
+ 'plugin',
+ 'port',
+ 'renderer',
+ 'sqlite',
+ 'util',
+ 'v8_snapshot',
+ 'V8Bindings',
+ 'views',
+ 'WebCore',
+ 'WTF',
+ ],
+)
+
+if env['PLATFORM'] == 'win32':
+ env.Prepend(
+ LIBS = [
+ 'rpcrt4',
+ 'shlwapi',
+ 'winmm',
+ ],
+ )
+
+input_files = [
+ 'generate_profile.cc',
+]
+
+env.ChromeTestProgram('generate_profile', input_files)