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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 'toolsets': ['host', 'target'], | 324 'toolsets': ['host', 'target'], |
325 }], | 325 }], |
326 [ 'use_system_icu==0 and want_separate_host_toolset==0', { | 326 [ 'use_system_icu==0 and want_separate_host_toolset==0', { |
327 'toolsets': ['target'], | 327 'toolsets': ['target'], |
328 }], | 328 }], |
329 [ 'OS == "win" and icu_use_data_file_flag==0', { | 329 [ 'OS == "win" and icu_use_data_file_flag==0', { |
330 'sources': [ | 330 'sources': [ |
331 'source/stubdata/stubdata.c', | 331 'source/stubdata/stubdata.c', |
332 ], | 332 ], |
333 }], | 333 }], |
| 334 [ 'OS == "win" and clang==1', { |
| 335 # Note: General clang warnings should go in the |
| 336 # clang_warning_flags block above. |
| 337 'msvs_settings': { |
| 338 'VCCLCompilerTool': { |
| 339 'AdditionalOptions': [ |
| 340 # See http://bugs.icu-project.org/trac/ticket/11122 |
| 341 '-Wno-inline-new-delete', |
| 342 '-Wno-implicit-exception-spec-mismatch', |
| 343 ], |
| 344 }, |
| 345 }, |
| 346 }], |
334 ['OS == "android" and use_system_stlport == 1', { | 347 ['OS == "android" and use_system_stlport == 1', { |
335 'target_conditions': [ | 348 'target_conditions': [ |
336 ['_toolset == "target"', { | 349 ['_toolset == "target"', { |
337 # ICU requires RTTI, which is not present in the system's | 350 # ICU requires RTTI, which is not present in the system's |
338 # stlport, so we have to include gabi++. | 351 # stlport, so we have to include gabi++. |
339 'include_dirs': [ | 352 'include_dirs': [ |
340 '<(android_src)/abi/cpp/include', | 353 '<(android_src)/abi/cpp/include', |
341 ], | 354 ], |
342 'link_settings': { | 355 'link_settings': { |
343 'libraries': [ | 356 'libraries': [ |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 }, | 608 }, |
596 'includes': [ | 609 'includes': [ |
597 '../../build/shim_headers.gypi', | 610 '../../build/shim_headers.gypi', |
598 ], | 611 ], |
599 'toolsets': ['target'], | 612 'toolsets': ['target'], |
600 }, | 613 }, |
601 ], # targets | 614 ], # targets |
602 }], | 615 }], |
603 ], # conditions | 616 ], # conditions |
604 } | 617 } |
OLD | NEW |