summaryrefslogtreecommitdiffstats
path: root/printing/printing_lib.scons
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-21 01:15:37 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-21 01:15:37 +0000
commitb1841ed9ec49db4835ea9179e5e0426d7a565271 (patch)
treefabb5b944bc7537b8701838df0c1835eaf600848 /printing/printing_lib.scons
parentbdf5d875799944b467740fd10772e72f442ea265 (diff)
downloadchromium_src-b1841ed9ec49db4835ea9179e5e0426d7a565271.zip
chromium_src-b1841ed9ec49db4835ea9179e5e0426d7a565271.tar.gz
chromium_src-b1841ed9ec49db4835ea9179e5e0426d7a565271.tar.bz2
Add linux printing module.
Review URL: http://codereview.chromium.org/27008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10136 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_lib.scons')
-rw-r--r--printing/printing_lib.scons66
1 files changed, 66 insertions, 0 deletions
diff --git a/printing/printing_lib.scons b/printing/printing_lib.scons
new file mode 100644
index 0000000..29986af
--- /dev/null
+++ b/printing/printing_lib.scons
@@ -0,0 +1,66 @@
+# Copyright (c) 2009 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 printing.lib / libprinting.a.
+"""
+
+Import('env')
+
+env = env.Clone()
+
+env.Prepend(
+ CPPPATH = [
+ '$CHROME_SRC_DIR',
+ ],
+)
+
+input_files = ChromeFileList([
+ # TODO(sgk): violate standard indentation so we don't have to
+ # reindent too much when we remove the explicit MSVSFilter() calls
+ # in favor of generating the hierarchy to reflect the file system.
+ 'units.cc',
+ 'units.h',
+])
+
+env.ChromeLibrary('printing', input_files)
+
+p = env.ChromeMSVSProject('build/printing.vcproj',
+ dest='$CHROME_SRC_DIR/printing/printing.vcproj',
+ guid='{9E5416B9-B91B-4029-93F4-102C1AD5CAF4}',
+ keyword='Win32Proj',
+ # TODO(sgk): when we can intuit the hierarchy
+ # from the built targets.
+ #buildtargets=TODO,
+ files=input_files,
+ tools=[
+ 'VCPreBuildEventTool',
+ 'VCCustomBuildTool',
+ 'VCXMLDataGeneratorTool',
+ 'VCWebServiceProxyGeneratorTool',
+ 'VCMIDLTool',
+ 'VCCLCompilerTool',
+ 'VCManagedResourceCompilerTool',
+ 'VCResourceCompilerTool',
+ 'VCPreLinkEventTool',
+ 'VCLibrarianTool',
+ 'VCALinkTool',
+ 'VCXDCMakeTool',
+ 'VCBscMakeTool',
+ 'VCFxCopTool',
+ 'VCPostBuildEventTool',
+ ],
+ ConfigurationType='4')
+
+p.AddConfig('Debug|Win32',
+ InheritedPropertySheets=[
+ '$(SolutionDir)../build/debug.vsprops',
+ './printing.vsprops',
+ ])
+
+p.AddConfig('Release|Win32',
+ InheritedPropertySheets=[
+ '$(SolutionDir)../build/release.vsprops',
+ './printing.vsprops',
+ ])