| OLD | NEW |
| 1 # Copyright 2008, Google Inc. | 1 # Copyright 2008, Google Inc. |
| 2 # All rights reserved. | 2 # All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 ) | 46 ) |
| 47 | 47 |
| 48 if env['PLATFORM'] == 'win32': | 48 if env['PLATFORM'] == 'win32': |
| 49 env.Append( | 49 env.Append( |
| 50 CCFLAGS = [ | 50 CCFLAGS = [ |
| 51 '/TP', | 51 '/TP', |
| 52 '/wd4800', | 52 '/wd4800', |
| 53 ], | 53 ], |
| 54 ) | 54 ) |
| 55 elif env['PLATFORM'] == 'posix': | 55 elif env['PLATFORM'] == 'posix': |
| 56 if '-Wall' in env['CCFLAGS']: | 56 if '-Wall' in env['CXXFLAGS']: |
| 57 # 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. |
| 58 env['CCFLAGS'].remove('-Wall') | 58 env['CXXFLAGS'].remove('-Wall') |
| 59 | 59 |
| 60 input_files = [ | 60 input_files = [ |
| 61 'mbspatch.cc', | 61 'mbspatch.cc', |
| 62 ] | 62 ] |
| 63 | 63 |
| 64 env.ChromeStaticLibrary('bspatch', input_files) | 64 env.ChromeStaticLibrary('bspatch', input_files) |
| OLD | NEW |