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

Side by Side Diff: icu.gyp

Issue 1158933005: Remove unnecessary clang flags for ICU (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 5 years, 6 months 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
« BUILD.gn ('K') | « BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'includes': [ 6 'includes': [
7 'icu.gypi', 7 'icu.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'use_system_icu%': 0, 10 'use_system_icu%': 0,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 'source/i18n', 190 'source/i18n',
191 ], 191 ],
192 }, 192 },
193 'variables': { 193 'variables': {
194 'clang_warning_flags': [ 194 'clang_warning_flags': [
195 # ICU uses its own deprecated functions. 195 # ICU uses its own deprecated functions.
196 '-Wno-deprecated-declarations', 196 '-Wno-deprecated-declarations',
197 # ICU prefers `a && b || c` over `(a && b) || c`. 197 # ICU prefers `a && b || c` over `(a && b) || c`.
198 '-Wno-logical-op-parentheses', 198 '-Wno-logical-op-parentheses',
199 # ICU has some `unsigned < 0` checks. 199 # ICU has some `unsigned < 0` checks.
200 '-Wno-tautological-compare', 200 '-Wno-tautological-compare',
Nico 2015/05/28 02:33:52 Since the .gn file doesn't have it, you might be a
jungshik at Google 2015/05/28 18:10:19 BUILD.gn has both of them under |config("icu_code"
201 # Looks like a real issue, see http://crbug.com/114660
202 '-Wno-return-type-c-linkage',
203 ], 201 ],
204 }, 202 },
205 # Since ICU wants to internally use its own deprecated APIs, don't 203 # Since ICU wants to internally use its own deprecated APIs, don't
206 # complain about it. 204 # complain about it.
207 'cflags': [ 205 'cflags': [
208 '-Wno-deprecated-declarations', 206 '-Wno-deprecated-declarations',
209 ], 207 ],
210 'cflags_cc': [ 208 'cflags_cc': [
211 '-frtti', 209 '-frtti',
212 ], 210 ],
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 }, 583 },
586 'includes': [ 584 'includes': [
587 '../../build/shim_headers.gypi', 585 '../../build/shim_headers.gypi',
588 ], 586 ],
589 'toolsets': ['target'], 587 'toolsets': ['target'],
590 }, 588 },
591 ], # targets 589 ], # targets
592 }], 590 }],
593 ], # conditions 591 ], # conditions
594 } 592 }
OLDNEW
« BUILD.gn ('K') | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698