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

Side by Side Diff: sdch/SConscript

Issue 14472: Initial generation of native Visual Studio solution files... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 | « sandbox/sandbox_sln.scons ('k') | site_scons/site_tools/chromium_builders.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import re 5 import re
6 6
7 Import('env') 7 Import('env')
8 8
9 env = env.Clone(OPEN_VCDIFF_DIR='open-vcdiff') 9 env = env.Clone(OPEN_VCDIFF_DIR='open-vcdiff')
10 10
(...skipping 15 matching lines...) Expand all
26 '$OPEN_VCDIFF_DIR/src/encodetable.cc', 26 '$OPEN_VCDIFF_DIR/src/encodetable.cc',
27 '$OPEN_VCDIFF_DIR/src/headerparser.cc', 27 '$OPEN_VCDIFF_DIR/src/headerparser.cc',
28 '$OPEN_VCDIFF_DIR/src/logging.cc', 28 '$OPEN_VCDIFF_DIR/src/logging.cc',
29 '$OPEN_VCDIFF_DIR/src/varint_bigendian.cc', 29 '$OPEN_VCDIFF_DIR/src/varint_bigendian.cc',
30 '$OPEN_VCDIFF_DIR/src/vcdecoder.cc', 30 '$OPEN_VCDIFF_DIR/src/vcdecoder.cc',
31 '$OPEN_VCDIFF_DIR/src/vcdiffengine.cc', 31 '$OPEN_VCDIFF_DIR/src/vcdiffengine.cc',
32 ] 32 ]
33 33
34 env.ChromeStaticLibrary('sdch', input_files) 34 env.ChromeStaticLibrary('sdch', input_files)
35 35
36 env.ChromeMSVSProject('$SDCH_DIR/sdch.vcproj',
37 guid='{F54ABC59-5C00-414A-A9BA-BAF26D1699F0}')
38
36 if env.Bit('posix'): 39 if env.Bit('posix'):
37 40
38 # Generate a target config.h file from a source config.h.in file. 41 # Generate a target config.h file from a source config.h.in file.
39 # 42 #
40 # The list of defines has been taken empirically from Autoconf 43 # The list of defines has been taken empirically from Autoconf
41 # (./configure) runs on Mac OS X and Ubuntu Hardy. 44 # (./configure) runs on Mac OS X and Ubuntu Hardy.
42 45
43 defines = [ 46 defines = [
44 'HAVE_DLFCN_H', 47 'HAVE_DLFCN_H',
45 'HAVE_FNMATCH_H', 48 'HAVE_FNMATCH_H',
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 116
114 header = '/* src/config.h. Generated by SCons. */\n' 117 header = '/* src/config.h. Generated by SCons. */\n'
115 open(str(target[0]), 'w').write(header + contents) 118 open(str(target[0]), 'w').write(header + contents)
116 119
117 # varlist['DEFINES'] below makes the target config.h file depend 120 # varlist['DEFINES'] below makes the target config.h file depend
118 # on the list of definitions in the passed-in $DEFINES variable. 121 # on the list of definitions in the passed-in $DEFINES variable.
119 env.Command('$OPEN_VCDIFF_DIR/src/config.h', 122 env.Command('$OPEN_VCDIFF_DIR/src/config.h',
120 '$OPEN_VCDIFF_DIR/src/config.h.in', 123 '$OPEN_VCDIFF_DIR/src/config.h.in',
121 Action(AutoConfig, varlist=['DEFINES']), 124 Action(AutoConfig, varlist=['DEFINES']),
122 DEFINES=defines) 125 DEFINES=defines)
OLDNEW
« no previous file with comments | « sandbox/sandbox_sln.scons ('k') | site_scons/site_tools/chromium_builders.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698