OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 Import('env') | |
6 Import('bdict_reader_o', 'bdict_writer_o') | |
7 | |
8 env = env.Clone() | |
9 | |
10 env.ApplySConscript([ | |
11 '$BASE_DIR/using_base.scons', | |
12 # '$BASE_DIR/gfx/using_base_gfx.scons', | |
13 # '$BREAKPAD_DIR/using_breakpad.scons', | |
14 '$ICU38_DIR/using_icu38.scons', | |
15 # '$SKIA_DIR/using_skia.scons', | |
16 # '$ZLIB_DIR/using_zlib.scons', | |
17 ]) | |
18 | |
19 if env.Bit('windows'): | |
20 env.Prepend( | |
21 LIBS = [ | |
22 #'breakpad_handler', | |
23 #'breakpad_sender', | |
24 #'common', | |
25 ], | |
26 ) | |
27 | |
28 input_files = ChromeFileList([ | |
29 'aff_reader.cc', | |
30 'aff_reader.h', | |
31 '$CHROME_DIR/third_party/hunspell/google/bdict.h', | |
32 bdict_reader_o, | |
33 '$CHROME_DIR/third_party/hunspell/google/bdict_reader.h', | |
34 bdict_writer_o, | |
35 '$CHROME_DIR/third_party/hunspell/google/bdict_writer.h', | |
36 'convert_dict.cc', | |
37 'dic_reader.cc', | |
38 'dic_reader.h', | |
39 'hunspell_reader.cc', | |
40 'hunspell_reader.h', | |
41 ]) | |
42 | |
43 env.ChromeProgram('convert_dict', input_files) | |
44 | |
45 p = env.ChromeMSVSProject('convert_dict.vcproj', | |
46 dest=('$CHROME_SRC_DIR/chrome/' | |
47 + 'tools/convert_dict/convert_dict.vcproj'), | |
48 guid='{42ECD5EC-722F-41DE-B6B8-83764C8016DF}', | |
49 keyword='Win32Proj', | |
50 dependencies = [ | |
51 '$BASE_DIR/build/base.vcproj', | |
52 '$ICU38_DIR/build/icu.vcproj', | |
53 '$ICU38_DIR/build/icudt.vcproj', | |
54 ], | |
55 # TODO(sgk): when we can intuit the hierarchy | |
56 # from the built targets. | |
57 #buildtargets=TODO, | |
58 files=input_files, | |
59 local_directory_prefix='./', | |
60 tools=[ | |
61 'VCPreBuildEventTool', | |
62 'VCCustomBuildTool', | |
63 'VCXMLDataGeneratorTool', | |
64 'VCWebServiceProxyGeneratorTool', | |
65 'VCMIDLTool', | |
66 'VCCLCompilerTool', | |
67 'VCManagedResourceCompilerTool', | |
68 'VCResourceCompilerTool', | |
69 'VCPreLinkEventTool', | |
70 'VCLinkerTool', | |
71 'VCALinkTool', | |
72 'VCManifestTool', | |
73 'VCXDCMakeTool', | |
74 'VCBscMakeTool', | |
75 'VCFxCopTool', | |
76 'VCAppVerifierTool', | |
77 'VCWebDeploymentTool', | |
78 'VCPostBuildEventTool', | |
79 ], | |
80 ConfigurationType='1') | |
81 | |
82 | |
83 p.AddConfig('Debug|Win32', | |
84 CharacterSet='2', | |
85 InheritedPropertySheets=[ | |
86 '../../../build/debug.vsprops', | |
87 ]) | |
88 | |
89 p.AddConfig('Release|Win32', | |
90 CharacterSet='2', | |
91 InheritedPropertySheets=[ | |
92 '../../../build/release.vsprops', | |
93 ]) | |
OLD | NEW |