OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'hunspell', | 8 'target_name': 'hunspell', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E', | 10 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E', |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 # affentry.hxx has NULL as default parameter for a FLAG in two | 70 # affentry.hxx has NULL as default parameter for a FLAG in two |
71 # places. | 71 # places. |
72 '-Wno-null-conversion', | 72 '-Wno-null-conversion', |
73 # hunspell has unused private fields. | 73 # hunspell has unused private fields. |
74 '-Wno-unused-private-field', | 74 '-Wno-unused-private-field', |
75 ], | 75 ], |
76 }, | 76 }, |
77 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 77 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
78 'msvs_disabled_warnings': [ 4267 ], | 78 'msvs_disabled_warnings': [ 4267 ], |
79 'conditions': [ | 79 'conditions': [ |
80 ['os_posix == 1 and OS != "mac"', { | 80 ['os_posix == 1 and OS != "mac" and clang==0', { |
81 'cflags': [ | 81 'cflags': [ |
82 '-Wno-unused-value', | 82 '-Wno-unused-value', |
83 '-Wno-unused-variable', | 83 '-Wno-unused-variable', |
84 '-Wno-write-strings', | 84 '-Wno-write-strings', |
85 ], | |
86 }], | |
87 ['gcc_version >= 48', { | |
88 'cflags': [ | |
89 # affentry.hxx has NULL as default parameter for a FLAG in two | 85 # affentry.hxx has NULL as default parameter for a FLAG in two |
90 # places. | 86 # places. |
91 '-Wno-conversion-null', | 87 '-Wno-conversion-null', |
92 ], | 88 ], |
93 }], | 89 }], |
94 ], | 90 ], |
95 }, | 91 }, |
96 ], | 92 ], |
97 } | 93 } |
OLD | NEW |