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

Unified Diff: sdch/SConscript

Issue 18717: Generate additional .vcproj files in miscellaneous top-level components.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « rlz/rlz.vcproj ('k') | sdch/sdch.vcproj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdch/SConscript
===================================================================
--- sdch/SConscript (revision 8575)
+++ sdch/SConscript (working copy)
@@ -17,26 +17,48 @@
env.Prepend(CPPPATH = cpppath)
-input_files = [
- '$OPEN_VCDIFF_DIR/src/addrcache.cc',
- '$OPEN_VCDIFF_DIR/src/adler32.c',
- '$OPEN_VCDIFF_DIR/src/blockhash.cc',
- '$OPEN_VCDIFF_DIR/src/codetable.cc',
- '$OPEN_VCDIFF_DIR/src/decodetable.cc',
- '$OPEN_VCDIFF_DIR/src/encodetable.cc',
- '$OPEN_VCDIFF_DIR/src/headerparser.cc',
- '$OPEN_VCDIFF_DIR/src/instruction_map.cc',
- '$OPEN_VCDIFF_DIR/src/logging.cc',
- '$OPEN_VCDIFF_DIR/src/varint_bigendian.cc',
- '$OPEN_VCDIFF_DIR/src/vcdecoder.cc',
- '$OPEN_VCDIFF_DIR/src/vcdiffengine.cc',
-]
+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.
+ MSVSFilter('Header Files', [
+ 'open-vcdiff/src/blockhash.h',
+ 'open-vcdiff/src/checksum.h',
+ 'open-vcdiff/src/codetable.h',
+ 'open-vcdiff/src/compile_assert.h',
+ 'open-vcdiff/vsprojects/config.h',
+ 'open-vcdiff/src/decodetable.h',
+ 'open-vcdiff/src/encodetable.h',
+ 'open-vcdiff/src/headerparser.h',
+ 'open-vcdiff/src/logging.h',
+ 'open-vcdiff/src/google/output_string.h',
+ 'open-vcdiff/src/rolling_hash.h',
+ 'open-vcdiff/vsprojects/stdint.h',
+ 'open-vcdiff/src/testing.h',
+ 'open-vcdiff/src/varint_bigendian.h',
+ 'open-vcdiff/src/google/vcdecoder.h',
+ 'open-vcdiff/src/vcdiff_defs.h',
+ 'open-vcdiff/src/vcdiffengine.h',
+ 'open-vcdiff/src/zconf.h',
+ 'open-vcdiff/src/zlib.h',
+ ]),
+ MSVSFilter('Source Files', [
+ 'open-vcdiff/src/addrcache.cc',
+ 'open-vcdiff/src/adler32.c',
+ 'open-vcdiff/src/blockhash.cc',
+ 'open-vcdiff/src/codetable.cc',
+ 'open-vcdiff/src/decodetable.cc',
+ 'open-vcdiff/src/encodetable.cc',
+ 'open-vcdiff/src/headerparser.cc',
+ 'open-vcdiff/src/logging.cc',
+ 'open-vcdiff/src/varint_bigendian.cc',
+ 'open-vcdiff/src/vcdecoder.cc',
+ 'open-vcdiff/src/vcdiffengine.cc',
+ ]),
+])
env.ChromeLibrary('sdch', input_files)
-env.ChromeMSVSProject('$SDCH_DIR/sdch.vcproj',
- guid='{F54ABC59-5C00-414A-A9BA-BAF26D1699F0}')
-
if env.Bit('posix'):
# Generate a target config.h file from a source config.h.in file.
@@ -124,3 +146,50 @@
'$OPEN_VCDIFF_DIR/src/config.h.in',
Action(AutoConfig, varlist=['DEFINES']),
DEFINES=defines)
+
+
+p = env.ChromeMSVSProject('sdch.vcproj',
+ dest='$CHROME_SRC_DIR/sdch/sdch.vcproj',
+ guid='{F54ABC59-5C00-414A-A9BA-BAF26D1699F0}',
+ keyword='Win32Proj',
+ # TODO(sgk): when we can intuit the hierarchy
+ # from the built targets.
+ #buildtargets=TODO,
+ files=input_files,
+ relative_path_prefix='./',
+ tools=[
+ 'VCPreBuildEventTool',
+ 'VCCustomBuildTool',
+ 'VCXMLDataGeneratorTool',
+ 'VCWebServiceProxyGeneratorTool',
+ 'VCMIDLTool',
+ MSVSTool('VCCLCompilerTool',
+ AdditionalIncludeDirectories=[
+ './open-vcdiff/vsprojects',
+ '',
+ ],
+ DefaultCharIsUnsigned="true"),
+ 'VCManagedResourceCompilerTool',
+ 'VCResourceCompilerTool',
+ 'VCPreLinkEventTool',
+ 'VCLibrarianTool',
+ 'VCALinkTool',
+ 'VCXDCMakeTool',
+ 'VCBscMakeTool',
+ 'VCFxCopTool',
+ 'VCPostBuildEventTool',
+ ],
+ ConfigurationType='4')
+
+
+p.AddConfig('Debug|Win32',
+ InheritedPropertySheets=[
+ '$(SolutionDir)../build/debug.vsprops',
+ '$(SolutionDir)../sdch/using_sdch.vsprops',
+ ])
+
+p.AddConfig('Release|Win32',
+ InheritedPropertySheets=[
+ '$(SolutionDir)../build/release.vsprops',
+ '$(SolutionDir)../sdch/using_sdch.vsprops',
+ ])
« no previous file with comments | « rlz/rlz.vcproj ('k') | sdch/sdch.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698