| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'icu_use_data_file_flag%': 0, | 8 'icu_use_data_file_flag%': 0, |
| 9 }, | 9 }, |
| 10 'target_defaults': { | 10 'target_defaults': { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 'type': 'none', | 60 'type': 'none', |
| 61 'copies': [ | 61 'copies': [ |
| 62 { | 62 { |
| 63 'destination': '<(PRODUCT_DIR)', | 63 'destination': '<(PRODUCT_DIR)', |
| 64 'files': [ | 64 'files': [ |
| 65 'windows/icudt.dll', | 65 'windows/icudt.dll', |
| 66 ], | 66 ], |
| 67 }, | 67 }, |
| 68 ], | 68 ], |
| 69 }], | 69 }], |
| 70 [ 'OS != "linux" or chromeos == 1', { | 70 [ 'OS == "win" or OS == "mac" or chromeos == 1', { |
| 71 'sources!': ['linux/icudt46l_dat.S'], | 71 'sources!': ['linux/icudt46l_dat.S'], |
| 72 }], | 72 }], |
| 73 [ 'OS != "mac"', { | 73 [ 'OS != "mac"', { |
| 74 'sources!': ['mac/icudt46l_dat.S'], | 74 'sources!': ['mac/icudt46l_dat.S'], |
| 75 }], | 75 }], |
| 76 [ 'chromeos != 1', { | 76 [ 'chromeos != 1', { |
| 77 'sources!': ['cros/icudt46l_dat.S'], | 77 'sources!': ['cros/icudt46l_dat.S'], |
| 78 }], | 78 }], |
| 79 [ 'OS != "win" and icu_use_data_file_flag', { | 79 [ 'OS != "win" and icu_use_data_file_flag', { |
| 80 # Remove any assembly data file. | 80 # Remove any assembly data file. |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 # ICU headers instead of the ones in ../WebKit/JavaScriptCore/wtf, | 270 # ICU headers instead of the ones in ../WebKit/JavaScriptCore/wtf, |
| 271 # also in WebKit's include path. | 271 # also in WebKit's include path. |
| 272 # TODO(mark): The triple + is a bug. It should be a double +. It | 272 # TODO(mark): The triple + is a bug. It should be a double +. It |
| 273 # seems that a + is being chopped off when the "target" section is | 273 # seems that a + is being chopped off when the "target" section is |
| 274 # merged into "target_defaults". | 274 # merged into "target_defaults". |
| 275 'include_dirs+++': [ | 275 'include_dirs+++': [ |
| 276 'public/i18n', | 276 'public/i18n', |
| 277 ], | 277 ], |
| 278 }, | 278 }, |
| 279 'conditions': [ | 279 'conditions': [ |
| 280 [ 'OS=="linux"', { | 280 [ 'os_posix==1 and OS!="mac"', { |
| 281 # Since ICU wants to internally use its own deprecated APIs, don't | 281 # Since ICU wants to internally use its own deprecated APIs, don't |
| 282 # complain about it. | 282 # complain about it. |
| 283 'cflags': [ | 283 'cflags': [ |
| 284 '-Wno-deprecated-declarations', | 284 '-Wno-deprecated-declarations', |
| 285 ], | 285 ], |
| 286 'cflags_cc': [ | 286 'cflags_cc': [ |
| 287 '-frtti', | 287 '-frtti', |
| 288 ], | 288 ], |
| 289 }], | 289 }], |
| 290 ['OS == "mac"', { | 290 ['OS == "mac"', { |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 ], | 482 ], |
| 483 }], | 483 }], |
| 484 ], | 484 ], |
| 485 }, | 485 }, |
| 486 'conditions': [ | 486 'conditions': [ |
| 487 [ 'OS == "win"', { | 487 [ 'OS == "win"', { |
| 488 'sources': [ | 488 'sources': [ |
| 489 'source/stubdata/stubdata.c', | 489 'source/stubdata/stubdata.c', |
| 490 ], | 490 ], |
| 491 }], | 491 }], |
| 492 [ 'OS == "linux"', { | 492 [ 'os_posix==1 and OS!="mac"', { |
| 493 'cflags': [ | 493 'cflags': [ |
| 494 # Since ICU wants to internally use its own deprecated APIs, | 494 # Since ICU wants to internally use its own deprecated APIs, |
| 495 # don't complain about it. | 495 # don't complain about it. |
| 496 '-Wno-deprecated-declarations', | 496 '-Wno-deprecated-declarations', |
| 497 '-Wno-unused-function', | 497 '-Wno-unused-function', |
| 498 ], | 498 ], |
| 499 'cflags_cc': [ | 499 'cflags_cc': [ |
| 500 '-frtti', | 500 '-frtti', |
| 501 ], | 501 ], |
| 502 }], | 502 }], |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 { | 549 { |
| 550 'target_name': 'icuuc', | 550 'target_name': 'icuuc', |
| 551 'type': 'none', | 551 'type': 'none', |
| 552 'dependencies': ['system_icu'], | 552 'dependencies': ['system_icu'], |
| 553 'export_dependent_settings': ['system_icu'], | 553 'export_dependent_settings': ['system_icu'], |
| 554 }, | 554 }, |
| 555 ], | 555 ], |
| 556 }], | 556 }], |
| 557 ], | 557 ], |
| 558 } | 558 } |
| OLD | NEW |