diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-16 14:04:11 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-16 14:04:11 +0000 |
commit | 633fd2d782adaff26b5726f6a5738df62366e681 (patch) | |
tree | 71c95831d53be4fb71c850b0d2e6b0a8e1fbc006 /third_party | |
parent | edd41c5c3443318af2c793458c985c2118d188d8 (diff) | |
download | chromium_src-633fd2d782adaff26b5726f6a5738df62366e681.zip chromium_src-633fd2d782adaff26b5726f6a5738df62366e681.tar.gz chromium_src-633fd2d782adaff26b5726f6a5738df62366e681.tar.bz2 |
Remove the checked-in .scons files now that lzma_sdk is using gyp.
Review URL: http://codereview.chromium.org/113501
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16235 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/lzma_sdk/lzma_sdk.scons | 123 | ||||
-rw-r--r-- | third_party/lzma_sdk/using_lzma_sdk.scons | 21 |
2 files changed, 0 insertions, 144 deletions
diff --git a/third_party/lzma_sdk/lzma_sdk.scons b/third_party/lzma_sdk/lzma_sdk.scons deleted file mode 100644 index 51db052..0000000 --- a/third_party/lzma_sdk/lzma_sdk.scons +++ /dev/null @@ -1,123 +0,0 @@ -# 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. - -Import('env') - -env = env.Clone() - -if env.WantSystemLib('lzma_sdk'): - Return() - -env.Prepend( - CPPPATH = [ - '.', - '$CHROME_SRC_DIR', - ] -) - -env.Append( - CPPDEFINES = [ - '_LZMA_PROB32', - '_LZMA_IN_CB', - ], -) - -if env.Bit('windows'): - env.Append( - CCFLAGS = [ - '/TC', - '/wd4800', - ], - ) - -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('LZMA', [ - 'Compress/Lzma/LzmaDecode.c', - 'Compress/Lzma/LzmaDecode.h', - 'Compress/Lzma/LzmaTypes.h', - ]), - MSVSFilter('Common', [ - '7zCrc.c', - '7zCrc.h', - 'Types.h', - ]), - MSVSFilter('Branch', [ - 'Compress/Branch/BranchTypes.h', - 'Compress/Branch/BranchX86.c', - 'Compress/Branch/BranchX86.h', - 'Compress/Branch/BranchX86_2.c', - 'Compress/Branch/BranchX86_2.h', - ]), - MSVSFilter('7z', [ - 'Archive/7z/7zAlloc.c', - 'Archive/7z/7zAlloc.h', - 'Archive/7z/7zBuffer.c', - 'Archive/7z/7zBuffer.h', - 'Archive/7z/7zDecode.c', - 'Archive/7z/7zDecode.h', - 'Archive/7z/7zExtract.c', - 'Archive/7z/7zExtract.h', - 'Archive/7z/7zHeader.c', - 'Archive/7z/7zHeader.h', - 'Archive/7z/7zIn.c', - 'Archive/7z/7zIn.h', - 'Archive/7z/7zItem.c', - 'Archive/7z/7zItem.h', - 'Archive/7z/7zMethodID.c', - 'Archive/7z/7zMethodID.h', - ]), -]) - -env.ChromeLibrary('lzma_sdk', input_files) - -p = env.ChromeMSVSProject('7z_C.vcproj', - dest=('$CHROME_SRC_DIR/third_party/' + - 'lzma_sdk/7z_C.vcproj'), - name='lzma_sdk', - guid='{B84553C8-5676-427B-B3E4-23DDDC4DBC7B}', - keyword='Win32Proj', - # TODO(sgk): when we can intuit the hierarchy - # from the built targets. - #buildtargets=TODO, - files=input_files, - ConfigurationType='4') - -p.AddConfig('Debug|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/debug.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - '$(SolutionDir)../third_party/lzma_sdk/using_lzma_sdk.vsprops', - ], - tools=[ - MSVSTool('VCCLCompilerTool', - PreprocessorDefinitions=[ - '_DEBUG', - 'WIN32', - '_CONSOLE', - '_LZMA_PROB32' - ]), - 'VCLibrarianTool', - ]) - -p.AddConfig('Release|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/release.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - '$(SolutionDir)../third_party/lzma_sdk/using_lzma_sdk.vsprops', - ], - tools=[ - MSVSTool('VCCLCompilerTool', - PreprocessorDefinitions=[ - 'NDEBUG', - 'WIN32', - '_CONSOLE', - '_LZMA_PROB32' - ]), - 'VCLibrarianTool', - ]) diff --git a/third_party/lzma_sdk/using_lzma_sdk.scons b/third_party/lzma_sdk/using_lzma_sdk.scons deleted file mode 100644 index d3f4801..0000000 --- a/third_party/lzma_sdk/using_lzma_sdk.scons +++ /dev/null @@ -1,21 +0,0 @@ -# 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__ = """ -Settings for other components using the lzma_sdk library. -""" - -Import("env") - -env.Append( - CPPPATH = [ - '$LZMA_SDK_DIR', - ], - CPPDEFINES = [ - "_LZMA_IN_CB", - ], - LIBS = [ - 'lzma_sdk', - ], -) |