summaryrefslogtreecommitdiffstats
path: root/base/base_sln.scons
diff options
context:
space:
mode:
Diffstat (limited to 'base/base_sln.scons')
-rw-r--r--base/base_sln.scons51
1 files changed, 51 insertions, 0 deletions
diff --git a/base/base_sln.scons b/base/base_sln.scons
new file mode 100644
index 0000000..c81f7e3
--- /dev/null
+++ b/base/base_sln.scons
@@ -0,0 +1,51 @@
+# 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.
+
+__doc__ = """
+Configuration for building base.sln.
+"""
+
+Import('env')
+
+env = env.Clone()
+
+env.Tool('MSVSNew')
+
+env.ChromeMSVSFolder('base dependencies',
+ name='dependencies',
+ entries = [
+ '$ZLIB_DIR/zlib.vcproj',
+ '$ICU38_DIR/build/icu.vcproj',
+ '$ICU38_DIR/build/icudt.vcproj',
+ '$TESTING_DIR/gtest.vcproj',
+ '$LIBPNG_DIR/libpng.vcproj',
+ '$SKIA_DIR/skia.vcproj',
+ ],
+ guid='{F216062D-F9C4-4883-A52C-2BE9ECADEEA0}')
+
+
+solution = env.ChromeMSVSSolution('base.sln',
+ entries = [
+ '$BASE_DIR/build/base.vcproj',
+ '$BASE_DIR/build/base_unittests.vcproj',
+ '$BASE_DIR/build/debug_message.vcproj',
+ 'base dependencies',
+ '$ICU38_DIR/build/icu.vcproj',
+ '$ICU38_DIR/build/icudt.vcproj',
+ '$BASE_DIR/build/base_gfx.vcproj',
+ '$SKIA_DIR/skia.vcproj',
+ '$LIBPNG_DIR/libpng.vcproj',
+ '$ZLIB_DIR/zlib.vcproj',
+ '$TESTING_DIR/gtest.vcproj',
+ ],
+ variants = [
+ 'Debug|Win32',
+ 'Release|Win32',
+ ])
+
+env.AlwaysBuild(solution)
+
+i = env.Command('$CHROME_SRC_DIR/base/base.sln', solution,
+ Copy('$TARGET', '$SOURCE'))
+Alias('solutions', i)