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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
66 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 66 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
67 'msvs_disabled_warnings': [ 4267 ], | 67 'msvs_disabled_warnings': [ 4267 ], |
68 'conditions': [ | 68 'conditions': [ |
69 ['os_posix == 1 and OS != "mac"', { | 69 ['os_posix == 1 and OS != "mac"', { |
70 'cflags': [ | 70 'cflags': [ |
71 '-Wno-unused-value', | 71 '-Wno-unused-value', |
72 '-Wno-unused-variable', | 72 '-Wno-unused-variable', |
73 '-Wno-write-strings', | 73 '-Wno-write-strings', |
74 ], | 74 ], |
75 }], | 75 }], |
76 ['gcc_version >= 48', { | 76 ['os_posix==1 and OS!="mac" and OS!="ios" and gcc_version >= 48', { |
77 'cflags': [ | 77 'cflags': [ |
Nico
2013/04/26 00:58:07
The old indent was right, I think? At least it mat
tfarina
2013/04/26 01:02:27
ops, done, also changed the declaration inside of
| |
78 # affentry.hxx has NULL as default parameter for a FLAG in two | 78 # affentry.hxx has NULL as default parameter for a FLAG in two |
79 # places. | 79 # places. |
80 '-Wno-conversion-null', | 80 '-Wno-conversion-null', |
81 ], | 81 ], |
82 }], | 82 }], |
83 ['clang == 1', { | 83 ['clang == 1', { |
84 'xcode_settings': { | 84 'xcode_settings': { |
85 'WARNING_CFLAGS': [ | 85 'WARNING_CFLAGS': [ |
86 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. | 86 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. |
87 '-Wno-empty-body', | 87 '-Wno-empty-body', |
88 # affentry.hxx has NULL as default parameter for a FLAG in two | 88 # affentry.hxx has NULL as default parameter for a FLAG in two |
89 # places. | 89 # places. |
90 '-Wno-null-conversion', | 90 '-Wno-null-conversion', |
91 ], | 91 ], |
92 }, | 92 }, |
93 'cflags': [ | 93 'cflags': [ |
94 '-Wno-empty-body', | 94 '-Wno-empty-body', |
95 '-Wno-null-conversion', | 95 '-Wno-null-conversion', |
96 ], | 96 ], |
97 }], | 97 }], |
98 ], | 98 ], |
99 }, | 99 }, |
100 ], | 100 ], |
101 } | 101 } |
OLD | NEW |