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

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

Issue 10952: More *.scons renaming:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « third_party/bspatch/SConscript ('k') | third_party/bspatch/using_bspatch.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/third_party/bspatch/SConscript:r69-2775
OLDNEW
1 # Copyright 2008, Google Inc. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be
3 # 3 # found in the LICENSE file.
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
6 # met:
7 #
8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above
11 # copyright notice, this list of conditions and the following disclaimer
12 # in the documentation and/or other materials provided with the
13 # distribution.
14 # * Neither the name of Google Inc. nor the names of its
15 # contributors may be used to endorse or promote products derived from
16 # this software without specific prior written permission.
17 #
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 4
30 # TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
31 Import('env') 5 Import('env')
32 6
33 env = env.Clone( 7 env = env.Clone()
34 )
35 8
36 env.Prepend( 9 env.ApplySConscript([
37 CPPPATH = [ 10 '$LZMA_SDK_DIR/using_lzma_sdk.scons',
38 '$CHROME_SRC_DIR/third_party/lzma_sdk/', 11 ])
39 ],
40 )
41
42 env.Append(
43 CPPDEFINES = [
44 '_LZMA_IN_CB',
45 ],
46 )
47 12
48 if env['PLATFORM'] == 'win32': 13 if env['PLATFORM'] == 'win32':
49 env.Append( 14 env.Append(
50 CCFLAGS = [ 15 CCFLAGS = [
51 '/TP', 16 '/TP',
52 '/wd4800', 17 '/wd4800',
53 ], 18 ],
54 ) 19 )
55 elif env['PLATFORM'] == 'posix': 20 elif env['PLATFORM'] == 'posix':
56 if '-Wall' in env['CXXFLAGS']: 21 # We're not responsible for bad warning hygiene in this third party code.
57 # We're not responsible for bad warning hygiene in this third party code. 22 env.FilterOut(
58 env['CXXFLAGS'].remove('-Wall') 23 CXXFLAGS = ['-Wall'],
24 )
59 25
60 input_files = [ 26 input_files = [
61 'mbspatch.cc', 27 'mbspatch.cc',
62 ] 28 ]
63 29
64 env.ChromeStaticLibrary('bspatch', input_files) 30 env.ChromeStaticLibrary('bspatch', input_files)
OLDNEW
« no previous file with comments | « third_party/bspatch/SConscript ('k') | third_party/bspatch/using_bspatch.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698