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

Side by Side Diff: third_party/icu/icu.gyp

Issue 6484008: Enable RTTI for ICU.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/icu/public/common/unicode/utypeinfo.h » ('j') | 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) 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 'conditions': [ 10 'conditions': [
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 'public/i18n', 263 'public/i18n',
264 ], 264 ],
265 }, 265 },
266 'conditions': [ 266 'conditions': [
267 [ 'OS=="linux"', { 267 [ 'OS=="linux"', {
268 # Since ICU wants to internally use its own deprecated APIs, don't 268 # Since ICU wants to internally use its own deprecated APIs, don't
269 # complain about it. 269 # complain about it.
270 'cflags': [ 270 'cflags': [
271 '-Wno-deprecated-declarations', 271 '-Wno-deprecated-declarations',
272 ], 272 ],
273 'cflags_cc': [
274 '-frtti',
275 ],
276 }],
277 ['OS == "mac"', {
278 'xcode_settings': {
279 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti
280 }
281 }],
282 ['OS == "win"', {
283 'msvs_settings': {
284 'VCCLCompilerTool': {
285 'RuntimeTypeInfo': 'true',
286 },
287 }
273 }], 288 }],
274 ], 289 ],
275 }, 290 },
276 { 291 {
277 'target_name': 'icuuc', 292 'target_name': 'icuuc',
278 'type': '<(component)', 293 'type': '<(component)',
279 'sources': [ 294 'sources': [
280 'source/common/bmpset.cpp', 295 'source/common/bmpset.cpp',
281 'source/common/brkeng.cpp', 296 'source/common/brkeng.cpp',
282 'source/common/brkiter.cpp', 297 'source/common/brkiter.cpp',
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 'source/stubdata/stubdata.c', 479 'source/stubdata/stubdata.c',
465 ], 480 ],
466 }], 481 }],
467 [ 'OS == "linux"', { 482 [ 'OS == "linux"', {
468 'cflags': [ 483 'cflags': [
469 # Since ICU wants to internally use its own deprecated APIs, 484 # Since ICU wants to internally use its own deprecated APIs,
470 # don't complain about it. 485 # don't complain about it.
471 '-Wno-deprecated-declarations', 486 '-Wno-deprecated-declarations',
472 '-Wno-unused-function', 487 '-Wno-unused-function',
473 ], 488 ],
489 'cflags_cc': [
490 '-frtti',
491 ],
492 }],
493 ['OS == "mac"', {
494 'xcode_settings': {
495 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti
496 }
497 }],
498 ['OS == "win"', {
499 'msvs_settings': {
500 'VCCLCompilerTool': {
501 'RuntimeTypeInfo': 'true',
502 },
503 }
474 }], 504 }],
475 ], 505 ],
476 }, 506 },
477 ], 507 ],
478 }, { # use_system_icu != 0 508 }, { # use_system_icu != 0
479 'targets': [ 509 'targets': [
480 { 510 {
481 'target_name': 'system_icu', 511 'target_name': 'system_icu',
482 'type': 'settings', 512 'type': 'settings',
483 'direct_dependent_settings': { 513 'direct_dependent_settings': {
(...skipping 25 matching lines...) Expand all
509 { 539 {
510 'target_name': 'icuuc', 540 'target_name': 'icuuc',
511 'type': 'none', 541 'type': 'none',
512 'dependencies': ['system_icu'], 542 'dependencies': ['system_icu'],
513 'export_dependent_settings': ['system_icu'], 543 'export_dependent_settings': ['system_icu'],
514 }, 544 },
515 ], 545 ],
516 }], 546 }],
517 ], 547 ],
518 } 548 }
OLDNEW
« no previous file with comments | « no previous file | third_party/icu/public/common/unicode/utypeinfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698