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': '<(library)', | 9 'type': '<(library)', |
10 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E', | 10 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 'src/parsers/textparser.cxx', | 56 'src/parsers/textparser.cxx', |
57 'src/parsers/textparser.hxx', | 57 'src/parsers/textparser.hxx', |
58 ], | 58 ], |
59 'direct_dependent_settings': { | 59 'direct_dependent_settings': { |
60 'defines': [ | 60 'defines': [ |
61 'HUNSPELL_STATIC', | 61 'HUNSPELL_STATIC', |
62 'HUNSPELL_CHROME_CLIENT', | 62 'HUNSPELL_CHROME_CLIENT', |
63 'USE_HUNSPELL', | 63 'USE_HUNSPELL', |
64 ], | 64 ], |
65 }, | 65 }, |
| 66 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
| 67 'msvs_disabled_warnings': [ 4267 ], |
66 'conditions': [ | 68 'conditions': [ |
67 ['os_posix == 1 and OS != "mac"', { | 69 ['os_posix == 1 and OS != "mac"', { |
68 'cflags': [ | 70 'cflags': [ |
69 '-Wno-unused-value', | 71 '-Wno-unused-value', |
70 '-Wno-unused-variable', | 72 '-Wno-unused-variable', |
71 '-Wno-write-strings', | 73 '-Wno-write-strings', |
72 ], | 74 ], |
73 }], | 75 }], |
74 ['clang == 1', { | 76 ['clang == 1', { |
75 'xcode_settings': { | 77 'xcode_settings': { |
76 'WARNING_CFLAGS': [ | 78 'WARNING_CFLAGS': [ |
77 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. | 79 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. |
78 '-Wno-empty-body', | 80 '-Wno-empty-body', |
79 # affentry.hxx has NULL as default parameter for a FLAG in two | 81 # affentry.hxx has NULL as default parameter for a FLAG in two |
80 # places. | 82 # places. |
81 '-Wno-null-conversion', | 83 '-Wno-null-conversion', |
82 ], | 84 ], |
83 }, | 85 }, |
84 'cflags': [ | 86 'cflags': [ |
85 '-Wno-empty-body', | 87 '-Wno-empty-body', |
86 '-Wno-null-conversion', | 88 '-Wno-null-conversion', |
87 ], | 89 ], |
88 }], | 90 }], |
89 ], | 91 ], |
90 }, | 92 }, |
91 ], | 93 ], |
92 } | 94 } |
OLD | NEW |