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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 'src/hunspell/suggestmgr.cxx', | 99 'src/hunspell/suggestmgr.cxx', |
100 'src/hunspell/suggestmgr.hxx', | 100 'src/hunspell/suggestmgr.hxx', |
101 'src/hunspell/utf_info.hxx', | 101 'src/hunspell/utf_info.hxx', |
102 ]), | 102 ]), |
103 MSVSFilter('Dictionaries', [ | 103 MSVSFilter('Dictionaries', [ |
104 'dictionaries/en-US-1-2.bdic', | 104 'dictionaries/en-US-1-2.bdic', |
105 ]), | 105 ]), |
106 MSVSFilter('google', [ | 106 MSVSFilter('google', [ |
107 'google/bdict.h', | 107 'google/bdict.h', |
108 'google/bdict_affentry.h', | 108 'google/bdict_affentry.h', |
109 'google/bdict_reader.cc', | |
110 'google/bdict_reader.h', | 109 'google/bdict_reader.h', |
111 'google/bdict_writer.cc', | |
112 'google/bdict_writer.h', | 110 'google/bdict_writer.h', |
113 ]), | 111 ]), |
114 ]) | 112 ]) |
115 | 113 |
| 114 if env.Bit('linux'): |
| 115 bdict_reader_o = env.ChromeObject('google/bdict_reader.cc') |
| 116 input_files.Append(bdict_reader_o) |
| 117 bdict_writer_o = env.ChromeObject('google/bdict_writer.cc') |
| 118 input_files.Append(bdict_writer_o) |
| 119 Export('bdict_reader_o', 'bdict_writer_o') |
| 120 else: |
| 121 input_files.Append( |
| 122 MSVSFilter('google', [ |
| 123 'google/bdict_reader.cc', |
| 124 'google/bdict_writer.cc', |
| 125 ]), |
| 126 ) |
| 127 |
116 env.ChromeLibrary('hunspell', input_files) | 128 env.ChromeLibrary('hunspell', input_files) |
117 | 129 |
118 | 130 |
119 dictionaries = [ | 131 dictionaries = [ |
120 'dictionaries/en-US-1-2.bdic', | 132 'dictionaries/en-US-1-2.bdic', |
121 'dictionaries/en-US.dic', | 133 'dictionaries/en-US.dic', |
122 'dictionaries/en-US.aff', | 134 'dictionaries/en-US.aff', |
123 ] | 135 ] |
124 | 136 |
125 i = env.Install('$DESTINATION_ROOT/Dictionaries', dictionaries) | 137 i = env.Install('$DESTINATION_ROOT/Dictionaries', dictionaries) |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 ]) | 180 ]) |
169 | 181 |
170 p.AddConfig('Release|Win32', | 182 p.AddConfig('Release|Win32', |
171 InheritedPropertySheets=[ | 183 InheritedPropertySheets=[ |
172 '$(SolutionDir)../build/common.vsprops', | 184 '$(SolutionDir)../build/common.vsprops', |
173 '../../../build/release.vsprops', | 185 '../../../build/release.vsprops', |
174 '$(SolutionDir)../build/external_code.vsprops', | 186 '$(SolutionDir)../build/external_code.vsprops', |
175 './hunspell.vsprops', | 187 './hunspell.vsprops', |
176 './using_hunspell.vsprops', | 188 './using_hunspell.vsprops', |
177 ]) | 189 ]) |
OLD | NEW |