| 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.Bit('windows'): | 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 = ChromeFileList([ |
| 28 'aff_reader.cc', | 28 'aff_reader.cc', |
| 29 'aff_reader.h', |
| 30 '$CHROME_DIR/third_party/hunspell/google/bdict.h', |
| 31 '$CHROME_DIR/third_party/hunspell/google/bdict_reader$OBJSUFFIX', |
| 32 '$CHROME_DIR/third_party/hunspell/google/bdict_reader.h', |
| 33 '$CHROME_DIR/third_party/hunspell/google/bdict_writer.cc', |
| 34 '$CHROME_DIR/third_party/hunspell/google/bdict_writer.h', |
| 29 'convert_dict.cc', | 35 'convert_dict.cc', |
| 30 'dic_reader.cc', | 36 'dic_reader.cc', |
| 37 'dic_reader.h', |
| 31 'hunspell_reader.cc', | 38 'hunspell_reader.cc', |
| 32 '$CHROME_DIR/third_party/hunspell/google/bdict_reader$OBJSUFFIX', | 39 'hunspell_reader.h', |
| 33 '$CHROME_DIR/third_party/hunspell/google/bdict_writer.cc', | 40 ]) |
| 34 ] | 41 |
| 35 | 42 |
| 36 # TODO(port): | 43 # TODO(port): |
| 37 if env.Bit('windows'): | 44 if env.Bit('windows'): |
| 38 env.ChromeProgram('convert_dict', input_files) | 45 env.ChromeProgram('convert_dict', input_files) |
| 39 | 46 |
| 40 env.ChromeMSVSProject('$CHROME_DIR/tools/convert_dict/convert_dict.vcproj', | 47 p = env.ChromeMSVSProject('convert_dict.vcproj', |
| 41 dependencies = [ | 48 dest=('$CHROME_SRC_DIR/chrome/' |
| 42 '$BASE_DIR/build/base.vcproj', | 49 + 'tools/convert_dict/convert_dict.vcproj'), |
| 43 '$ICU38_DIR/build/icu.vcproj', | 50 guid='{42ECD5EC-722F-41DE-B6B8-83764C8016DF}', |
| 44 '$ICU38_DIR/build/icudt.vcproj', | 51 keyword='Win32Proj', |
| 45 ], | 52 dependencies = [ |
| 46 guid='{42ECD5EC-722F-41DE-B6B8-83764C8016DF}') | 53 '$BASE_DIR/build/base.vcproj', |
| 54 '$ICU38_DIR/build/icu.vcproj', |
| 55 '$ICU38_DIR/build/icudt.vcproj', |
| 56 ], |
| 57 # TODO(sgk): when we can intuit the hierarchy |
| 58 # from the built targets. |
| 59 #buildtargets=TODO, |
| 60 files=input_files, |
| 61 local_directory_prefix='./', |
| 62 tools=[ |
| 63 'VCPreBuildEventTool', |
| 64 'VCCustomBuildTool', |
| 65 'VCXMLDataGeneratorTool', |
| 66 'VCWebServiceProxyGeneratorTool', |
| 67 'VCMIDLTool', |
| 68 'VCCLCompilerTool', |
| 69 'VCManagedResourceCompilerTool', |
| 70 'VCResourceCompilerTool', |
| 71 'VCPreLinkEventTool', |
| 72 'VCLinkerTool', |
| 73 'VCALinkTool', |
| 74 'VCManifestTool', |
| 75 'VCXDCMakeTool', |
| 76 'VCBscMakeTool', |
| 77 'VCFxCopTool', |
| 78 'VCAppVerifierTool', |
| 79 'VCWebDeploymentTool', |
| 80 'VCPostBuildEventTool', |
| 81 ], |
| 82 ConfigurationType='1') |
| 83 |
| 84 |
| 85 p.AddConfig('Debug|Win32', |
| 86 CharacterSet='2', |
| 87 InheritedPropertySheets=[ |
| 88 '../../../build/debug.vsprops', |
| 89 ]) |
| 90 |
| 91 p.AddConfig('Release|Win32', |
| 92 CharacterSet='2', |
| 93 InheritedPropertySheets=[ |
| 94 '../../../build/release.vsprops', |
| 95 ]) |
| OLD | NEW |