| OLD | NEW |
| 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 Import('env') | 5 Import('env') |
| 6 | 6 |
| 7 env = env.Clone() | 7 env = env.Clone() |
| 8 | 8 |
| 9 env.ApplySConscript([ | 9 env.ApplySConscript([ |
| 10 '$BASE_DIR/using_base.scons', | 10 '$BASE_DIR/using_base.scons', |
| 11 # '$BASE_DIR/gfx/using_base_gfx.scons', | 11 # '$BASE_DIR/gfx/using_base_gfx.scons', |
| 12 # '$BREAKPAD_DIR/using_breakpad.scons', | 12 # '$BREAKPAD_DIR/using_breakpad.scons', |
| 13 '$ICU38_DIR/using_icu38.scons', | 13 '$ICU38_DIR/using_icu38.scons', |
| 14 # '$SKIA_DIR/using_skia.scons', | 14 # '$SKIA_DIR/using_skia.scons', |
| 15 # '$ZLIB_DIR/using_zlib.scons', | 15 # '$ZLIB_DIR/using_zlib.scons', |
| 16 ]) | 16 ]) |
| 17 | 17 |
| 18 if env['PLATFORM'] == 'win32': | 18 if env.Bit('windows'): |
| 19 env.Prepend( | 19 env.Prepend( |
| 20 LIBS = [ | 20 LIBS = [ |
| 21 #'breakpad_handler', | 21 #'breakpad_handler', |
| 22 #'breakpad_sender', | 22 #'breakpad_sender', |
| 23 #'common', | 23 #'common', |
| 24 ], | 24 ], |
| 25 ) | 25 ) |
| 26 | 26 |
| 27 input_files = [ | 27 input_files = [ |
| 28 'aff_reader.cc', | 28 'aff_reader.cc', |
| 29 'convert_dict.cc', | 29 'convert_dict.cc', |
| 30 'dic_reader.cc', | 30 'dic_reader.cc', |
| 31 'hunspell_reader.cc', | 31 'hunspell_reader.cc', |
| 32 '$CHROME_DIR/third_party/hunspell/google/bdict_reader$OBJSUFFIX', | 32 '$CHROME_DIR/third_party/hunspell/google/bdict_reader$OBJSUFFIX', |
| 33 '$CHROME_DIR/third_party/hunspell/google/bdict_writer.cc', | 33 '$CHROME_DIR/third_party/hunspell/google/bdict_writer.cc', |
| 34 ] | 34 ] |
| 35 | 35 |
| 36 env.ChromeProgram('convert_dict', input_files) | 36 env.ChromeProgram('convert_dict', input_files) |
| 37 | 37 |
| OLD | NEW |