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

Side by Side Diff: third_party/bzip2/bzip2.scons

Issue 53121: Remove the checked-in scons configuration files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « testing/using_gtest.scons ('k') | third_party/bzip2/using_bzip2.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 __doc__ = """
6 Configuration for building bzip2.lib / libbzip2.a.
7 """
8
9 Import('env')
10
11 if env.WantSystemLib('bzip2'):
12 Return()
13
14 env = env.Clone()
15
16 env.Append(
17 CPPDEFINES = [
18 'BZ_NO_STDIO',
19 ],
20 )
21
22 if env.Bit('windows'):
23 env.Append(
24 CCFLAGS = [
25 '/TC',
26 '/wd4996',
27 '/wd4800',
28 ],
29 )
30
31 input_files = ChromeFileList([
32 'blocksort.c',
33 'bzlib.c',
34 'bzlib.h',
35 'bzlib_private.h',
36 'compress.c',
37 'crctable.c',
38 'decompress.c',
39 'huffman.c',
40 'randtable.c',
41 ])
42
43 env.ChromeLibrary('bzip2', input_files)
44
45 p = env.ChromeMSVSProject('bzip2.vcproj',
46 dest='$CHROME_SRC_DIR/third_party/bzip2/bzip2.vcproj',
47 guid='{2A70CBF0-847E-4E3A-B926-542A656DC7FE}',
48 # TODO(sgk): when we can intuit the hierarchy
49 # from the built targets.
50 #buildtargets=TODO,
51 files=input_files,
52 tools=[
53 MSVSTool('VCCLCompilerTool',
54 PreprocessorDefinitions=['BZ_NO_STDIO'],
55 DisableSpecificWarnings='4996'),
56 'VCLibrarianTool',
57 ],
58 ConfigurationType='4')
59
60 p.AddConfig('Debug|Win32',
61 InheritedPropertySheets=[
62 '$(SolutionDir)../build/common.vsprops',
63 '$(SolutionDir)../build/debug.vsprops',
64 '$(SolutionDir)../build/external_code.vsprops',
65 ])
66
67 p.AddConfig('Release|Win32',
68 InheritedPropertySheets=[
69 '$(SolutionDir)../build/common.vsprops',
70 '$(SolutionDir)../build/release.vsprops',
71 '$(SolutionDir)../build/external_code.vsprops',
72 ])
OLDNEW
« no previous file with comments | « testing/using_gtest.scons ('k') | third_party/bzip2/using_bzip2.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698