| 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 'variables': { | 6 'variables': { |
| 7 'use_system_icu%': 0, | 7 'use_system_icu%': 0, |
| 8 }, | 8 }, |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 ['use_system_icu==0', { | 10 ['use_system_icu==0', { |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 'public/i18n', | 239 'public/i18n', |
| 240 ], | 240 ], |
| 241 }, | 241 }, |
| 242 'conditions': [ | 242 'conditions': [ |
| 243 [ 'OS=="linux"', { | 243 [ 'OS=="linux"', { |
| 244 # Since ICU wants to internally use its own deprecated APIs, don't | 244 # Since ICU wants to internally use its own deprecated APIs, don't |
| 245 # complain about it. | 245 # complain about it. |
| 246 'cflags': [ | 246 'cflags': [ |
| 247 '-Wno-deprecated-declarations', | 247 '-Wno-deprecated-declarations', |
| 248 ], | 248 ], |
| 249 'cflags_cc': [ |
| 250 '-frtti', |
| 251 ], |
| 252 }], |
| 253 ['OS == "mac"', { |
| 254 'xcode_settings': { |
| 255 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti |
| 256 } |
| 257 }], |
| 258 ['OS == "win"', { |
| 259 'msvs_settings': { |
| 260 'VCCLCompilerTool': { |
| 261 'RuntimeTypeInfo': 'true', |
| 262 }, |
| 263 } |
| 249 }], | 264 }], |
| 250 ], | 265 ], |
| 251 }, | 266 }, |
| 252 { | 267 { |
| 253 'target_name': 'icuuc', | 268 'target_name': 'icuuc', |
| 254 'type': '<(component)', | 269 'type': '<(component)', |
| 255 'sources': [ | 270 'sources': [ |
| 256 'source/common/bmpset.cpp', | 271 'source/common/bmpset.cpp', |
| 257 'source/common/brkeng.cpp', | 272 'source/common/brkeng.cpp', |
| 258 'source/common/brkiter.cpp', | 273 'source/common/brkiter.cpp', |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 'source/stubdata/stubdata.c', | 455 'source/stubdata/stubdata.c', |
| 441 ], | 456 ], |
| 442 }], | 457 }], |
| 443 [ 'OS == "linux"', { | 458 [ 'OS == "linux"', { |
| 444 'cflags': [ | 459 'cflags': [ |
| 445 # Since ICU wants to internally use its own deprecated APIs, | 460 # Since ICU wants to internally use its own deprecated APIs, |
| 446 # don't complain about it. | 461 # don't complain about it. |
| 447 '-Wno-deprecated-declarations', | 462 '-Wno-deprecated-declarations', |
| 448 '-Wno-unused-function', | 463 '-Wno-unused-function', |
| 449 ], | 464 ], |
| 465 'cflags_cc': [ |
| 466 '-frtti', |
| 467 ], |
| 468 }], |
| 469 ['OS == "mac"', { |
| 470 'xcode_settings': { |
| 471 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti |
| 472 } |
| 473 }], |
| 474 ['OS == "win"', { |
| 475 'msvs_settings': { |
| 476 'VCCLCompilerTool': { |
| 477 'RuntimeTypeInfo': 'true', |
| 478 }, |
| 479 } |
| 450 }], | 480 }], |
| 451 ], | 481 ], |
| 452 }, | 482 }, |
| 453 ], | 483 ], |
| 454 }, { # use_system_icu != 0 | 484 }, { # use_system_icu != 0 |
| 455 'targets': [ | 485 'targets': [ |
| 456 { | 486 { |
| 457 'target_name': 'system_icu', | 487 'target_name': 'system_icu', |
| 458 'type': 'settings', | 488 'type': 'settings', |
| 459 'direct_dependent_settings': { | 489 'direct_dependent_settings': { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 485 { | 515 { |
| 486 'target_name': 'icuuc', | 516 'target_name': 'icuuc', |
| 487 'type': 'none', | 517 'type': 'none', |
| 488 'dependencies': ['system_icu'], | 518 'dependencies': ['system_icu'], |
| 489 'export_dependent_settings': ['system_icu'], | 519 'export_dependent_settings': ['system_icu'], |
| 490 }, | 520 }, |
| 491 ], | 521 ], |
| 492 }], | 522 }], |
| 493 ], | 523 ], |
| 494 } | 524 } |
| OLD | NEW |