Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: chrome/third_party/hunspell/SConscript

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/unit/unit_tests.scons ('k') | chrome/tools/convert_dict/convert_dict.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « chrome/test/unit/unit_tests.scons ('k') | chrome/tools/convert_dict/convert_dict.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698