| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 if env['PLATFORM'] == 'win32': | 60 if env['PLATFORM'] == 'win32': |
| 61 env.Append( | 61 env.Append( |
| 62 CCFLAGS = [ | 62 CCFLAGS = [ |
| 63 '/WX', | 63 '/WX', |
| 64 ] | 64 ] |
| 65 ) | 65 ) |
| 66 else: | 66 else: |
| 67 env.Append( | 67 env.Append( |
| 68 CCFLAGS = [ | 68 CCFLAGS = [ |
| 69 '-Wno-parentheses', | 69 '-Wno-parentheses', |
| 70 |
| 71 # see uprv_UnicodeStringDummy at end of source/common/unistr.cpp |
| 72 '-Wno-unused-function' |
| 70 ] | 73 ] |
| 71 ) | 74 ) |
| 72 | 75 |
| 73 if 'WIN32_LEAN_AND_MEAN' in env['CPPDEFINES']: | 76 if 'WIN32_LEAN_AND_MEAN' in env['CPPDEFINES']: |
| 74 env['CPPDEFINES'].remove('WIN32_LEAN_AND_MEAN') | 77 env['CPPDEFINES'].remove('WIN32_LEAN_AND_MEAN') |
| 75 | 78 |
| 76 input_files = [ | 79 input_files = [ |
| 77 'source/common/bmpset.cpp', | 80 'source/common/bmpset.cpp', |
| 78 'source/common/brkeng.cpp', | 81 'source/common/brkeng.cpp', |
| 79 'source/common/brkiter.cpp', | 82 'source/common/brkiter.cpp', |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 | 350 |
| 348 env.ChromeStaticLibrary('icuuc', cpp_object_files + | 351 env.ChromeStaticLibrary('icuuc', cpp_object_files + |
| 349 c_object_files + | 352 c_object_files + |
| 350 stray_object_files) | 353 stray_object_files) |
| 351 | 354 |
| 352 # On Windows the ICU data is built into a DLL. On Linux, install the .dat file. | 355 # On Windows the ICU data is built into a DLL. On Linux, install the .dat file. |
| 353 if env['PLATFORM'] == 'win32': | 356 if env['PLATFORM'] == 'win32': |
| 354 env.Install('$OBJ_ROOT', 'icudt38.dll') | 357 env.Install('$OBJ_ROOT', 'icudt38.dll') |
| 355 else: | 358 else: |
| 356 env.Install('$OBJ_ROOT', 'source/data/in/icudt38l.dat') | 359 env.Install('$OBJ_ROOT', 'source/data/in/icudt38l.dat') |
| OLD | NEW |