| OLD | NEW |
| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 # enum (e.g. URES_TABLE32 which is in UResInternalType). This | 292 # enum (e.g. URES_TABLE32 which is in UResInternalType). This |
| 293 # is on purpose. | 293 # is on purpose. |
| 294 '-Wno-switch', | 294 '-Wno-switch', |
| 295 # ICU has some code with the pattern: | 295 # ICU has some code with the pattern: |
| 296 # if (found = uprv_getWindowsTimeZoneInfo(...)) | 296 # if (found = uprv_getWindowsTimeZoneInfo(...)) |
| 297 '-Wno-parentheses', | 297 '-Wno-parentheses', |
| 298 # ICU generally has no unused variables, but there are a few | 298 # ICU generally has no unused variables, but there are a few |
| 299 # places where this warning triggers. | 299 # places where this warning triggers. |
| 300 # See https://codereview.chromium.org/1222643002/ and | 300 # See https://codereview.chromium.org/1222643002/ and |
| 301 # http://www.icu-project.org/trac/ticket/11759. | 301 # http://www.icu-project.org/trac/ticket/11759. |
| 302 "-Wno-unused-const-variable", | 302 '-Wno-unused-const-variable', |
| 303 # ucnv2022.cpp contains three functions that are only used when |
| 304 # certain preprocessor defines are set. |
| 305 '-Wno-unused-function', |
| 303 ], | 306 ], |
| 304 }, | 307 }, |
| 305 'cflags': [ | 308 'cflags': [ |
| 306 # Since ICU wants to internally use its own deprecated APIs, | 309 # Since ICU wants to internally use its own deprecated APIs, |
| 307 # don't complain about it. | 310 # don't complain about it. |
| 308 '-Wno-deprecated-declarations', | 311 '-Wno-deprecated-declarations', |
| 309 '-Wno-unused-function', | 312 '-Wno-unused-function', |
| 310 ], | 313 ], |
| 311 'cflags_cc': [ | 314 'cflags_cc': [ |
| 312 '-frtti', | 315 '-frtti', |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 }, | 599 }, |
| 597 'includes': [ | 600 'includes': [ |
| 598 '../../build/shim_headers.gypi', | 601 '../../build/shim_headers.gypi', |
| 599 ], | 602 ], |
| 600 'toolsets': ['target'], | 603 'toolsets': ['target'], |
| 601 }, | 604 }, |
| 602 ], # targets | 605 ], # targets |
| 603 }], | 606 }], |
| 604 ], # conditions | 607 ], # conditions |
| 605 } | 608 } |
| OLD | NEW |