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 30 matching lines...) Expand all Loading... |
41 ) | 41 ) |
42 | 42 |
43 env.Append( | 43 env.Append( |
44 CPPDEFINES = [ | 44 CPPDEFINES = [ |
45 'OPENOFFICEORG', | 45 'OPENOFFICEORG', |
46 'CHROME_SPELL', | 46 'CHROME_SPELL', |
47 'HUNSPELL_CHROME_CLIENT', | 47 'HUNSPELL_CHROME_CLIENT', |
48 ], | 48 ], |
49 ) | 49 ) |
50 | 50 |
51 if env['PLATFORM'] == 'win32': | 51 if env.Bit('windows'): |
52 env.Append( | 52 env.Append( |
53 CPPDEFINES = [ | 53 CPPDEFINES = [ |
54 'W32', | 54 'W32', |
55 ], | 55 ], |
56 CCFLAGS = [ | 56 CCFLAGS = [ |
57 '/TP', | 57 '/TP', |
58 | 58 |
59 '/wd4800', | 59 '/wd4800', |
60 ], | 60 ], |
61 ) | 61 ) |
62 | 62 |
63 if env['PLATFORM'] == 'posix': | 63 if env.Bit('linux'): |
64 env.Append( | 64 env.Append( |
65 CCFLAGS = [ | 65 CCFLAGS = [ |
66 '-Wno-parentheses', | 66 '-Wno-parentheses', |
67 '-Wno-unused-value', | 67 '-Wno-unused-value', |
68 '-Wno-unused-variable', | 68 '-Wno-unused-variable', |
69 '-Wno-write-strings', | 69 '-Wno-write-strings', |
70 ], | 70 ], |
71 ) | 71 ) |
72 | 72 |
73 input_files = [ | 73 input_files = [ |
(...skipping 13 matching lines...) Expand all Loading... |
87 | 87 |
88 | 88 |
89 dictionaries = [ | 89 dictionaries = [ |
90 'dictionaries/en-US-1-1.bdic', | 90 'dictionaries/en-US-1-1.bdic', |
91 'dictionaries/en-US.dic', | 91 'dictionaries/en-US.dic', |
92 'dictionaries/en-US.aff', | 92 'dictionaries/en-US.aff', |
93 ] | 93 ] |
94 | 94 |
95 i = env.Install('$DESTINATION_ROOT/Dictionaries', dictionaries) | 95 i = env.Install('$DESTINATION_ROOT/Dictionaries', dictionaries) |
96 env.Alias('chrome_Dictionaries', i) | 96 env.Alias('chrome_Dictionaries', i) |
OLD | NEW |