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, |
11 'icu_use_data_file_flag%': 0, | 11 'icu_use_data_file_flag%': 0, |
12 'want_separate_host_toolset%': 1, | 12 'want_separate_host_toolset%': 1, |
13 }, | 13 }, |
14 'target_defaults': { | 14 'target_defaults': { |
15 'direct_dependent_settings': { | 15 'direct_dependent_settings': { |
16 'defines': [ | 16 'defines': [ |
17 # Tell ICU to not insert |using namespace icu;| into its headers, | 17 # Tell ICU to not insert |using namespace icu;| into its headers, |
18 # so that chrome's source explicitly has to use |icu::|. | 18 # so that chrome's source explicitly has to use |icu::|. |
19 'U_USING_ICU_NAMESPACE=0', | 19 'U_USING_ICU_NAMESPACE=0', |
20 # We don't use ICU plugins and dyload is only necessary for them. | 20 # We don't use ICU plugins and dyload is only necessary for them. |
21 # NaCl-related builds also fail looking for dlfcn.h when it's enabled. | 21 # NaCl-related builds also fail looking for dlfcn.h when it's enabled. |
22 'U_ENABLE_DYLOAD=0', | 22 'U_ENABLE_DYLOAD=0', |
23 # With exception disabled, MSVC emits C4577 warning on coming across | |
24 # 'noexcept'. See http://bugs.icu-project.org/trac/ticket/12406 | |
25 # TODO(jshin): Remove this when updating to a newer version with this | |
26 # fixed. | |
27 'U_NOEXCEPT=', | |
28 ], | 23 ], |
29 }, | 24 }, |
30 'defines': [ | 25 'defines': [ |
31 'U_USING_ICU_NAMESPACE=0', | 26 'U_USING_ICU_NAMESPACE=0', |
32 'HAVE_DLOPEN=0', | 27 'HAVE_DLOPEN=0', |
33 # Only build encoding coverters and detectors necessary for HTML5. | 28 # Only build encoding coverters and detectors necessary for HTML5. |
34 'UCONFIG_ONLY_HTML_CONVERSION=1', | 29 'UCONFIG_ONLY_HTML_CONVERSION=1', |
35 # No dependency on the default platform encoding. | 30 # No dependency on the default platform encoding. |
36 # Will cut down the code size. | 31 # Will cut down the code size. |
37 'U_CHARSET_IS_UTF8=1', | 32 'U_CHARSET_IS_UTF8=1', |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 }, | 469 }, |
475 { | 470 { |
476 'target_name': 'icui18n', | 471 'target_name': 'icui18n', |
477 'type': 'none', | 472 'type': 'none', |
478 'dependencies': ['system_icu'], | 473 'dependencies': ['system_icu'], |
479 'export_dependent_settings': ['system_icu'], | 474 'export_dependent_settings': ['system_icu'], |
480 'variables': { | 475 'variables': { |
481 'headers_root_path': 'source/i18n', | 476 'headers_root_path': 'source/i18n', |
482 'header_filenames': [ | 477 'header_filenames': [ |
483 # This list can easily be updated using the command below: | 478 # This list can easily be updated using the command below: |
484 # find source/i18n/unicode -iname '*.h' \ | 479 # ls source/i18n/unicode/*h | sort | \ |
485 # -printf " '%p',\n" | \ | 480 # sed "s/^.*i18n\/\(.*\)$/ '\1',/" |
486 # sed -e 's|source/i18n/||' | sort -u | |
487 'unicode/alphaindex.h', | 481 'unicode/alphaindex.h', |
488 'unicode/basictz.h', | 482 'unicode/basictz.h', |
489 'unicode/calendar.h', | 483 'unicode/calendar.h', |
490 'unicode/choicfmt.h', | 484 'unicode/choicfmt.h', |
491 'unicode/coleitr.h', | 485 'unicode/coleitr.h', |
492 'unicode/coll.h', | 486 'unicode/coll.h', |
493 'unicode/compactdecimalformat.h', | 487 'unicode/compactdecimalformat.h', |
494 'unicode/curramt.h', | 488 'unicode/curramt.h', |
495 'unicode/currpinf.h', | 489 'unicode/currpinf.h', |
496 'unicode/currunit.h', | 490 'unicode/currunit.h', |
497 'unicode/datefmt.h', | 491 'unicode/datefmt.h', |
498 'unicode/dcfmtsym.h', | 492 'unicode/dcfmtsym.h', |
499 'unicode/decimfmt.h', | 493 'unicode/decimfmt.h', |
500 'unicode/dtfmtsym.h', | 494 'unicode/dtfmtsym.h', |
501 'unicode/dtitvfmt.h', | 495 'unicode/dtitvfmt.h', |
502 'unicode/dtitvinf.h', | 496 'unicode/dtitvinf.h', |
503 'unicode/dtptngen.h', | 497 'unicode/dtptngen.h', |
504 'unicode/dtrule.h', | 498 'unicode/dtrule.h', |
505 'unicode/fieldpos.h', | 499 'unicode/fieldpos.h', |
506 'unicode/filteredbrk.h', | |
507 'unicode/fmtable.h', | 500 'unicode/fmtable.h', |
508 'unicode/format.h', | 501 'unicode/format.h', |
509 'unicode/fpositer.h', | 502 'unicode/fpositer.h', |
510 'unicode/gender.h', | 503 'unicode/gender.h', |
511 'unicode/gregocal.h', | 504 'unicode/gregocal.h', |
512 'unicode/locdspnm.h', | |
513 'unicode/measfmt.h', | 505 'unicode/measfmt.h', |
514 'unicode/measunit.h', | 506 'unicode/measunit.h', |
515 'unicode/measure.h', | 507 'unicode/measure.h', |
516 'unicode/msgfmt.h', | 508 'unicode/msgfmt.h', |
517 'unicode/numfmt.h', | 509 'unicode/numfmt.h', |
518 'unicode/numsys.h', | 510 'unicode/numsys.h', |
519 'unicode/plurfmt.h', | 511 'unicode/plurfmt.h', |
520 'unicode/plurrule.h', | 512 'unicode/plurrule.h', |
521 'unicode/rbnf.h', | 513 'unicode/rbnf.h', |
522 'unicode/rbtz.h', | 514 'unicode/rbtz.h', |
523 'unicode/regex.h', | 515 'unicode/regex.h', |
524 'unicode/region.h', | 516 'unicode/region.h', |
525 'unicode/reldatefmt.h', | 517 'unicode/reldatefmt.h', |
526 'unicode/scientificformathelper.h', | 518 'unicode/scientificnumberformatter.h', |
527 'unicode/search.h', | 519 'unicode/search.h', |
528 'unicode/selfmt.h', | 520 'unicode/selfmt.h', |
529 'unicode/simpletz.h', | 521 'unicode/simpletz.h', |
530 'unicode/smpdtfmt.h', | 522 'unicode/smpdtfmt.h', |
531 'unicode/sortkey.h', | 523 'unicode/sortkey.h', |
532 'unicode/stsearch.h', | 524 'unicode/stsearch.h', |
533 'unicode/tblcoll.h', | 525 'unicode/tblcoll.h', |
534 'unicode/timezone.h', | 526 'unicode/timezone.h', |
535 'unicode/tmunit.h', | 527 'unicode/tmunit.h', |
536 'unicode/tmutamt.h', | 528 'unicode/tmutamt.h', |
537 'unicode/tmutfmt.h', | 529 'unicode/tmutfmt.h', |
538 'unicode/translit.h', | 530 'unicode/translit.h', |
539 'unicode/tzfmt.h', | 531 'unicode/tzfmt.h', |
540 'unicode/tznames.h', | 532 'unicode/tznames.h', |
541 'unicode/tzrule.h', | 533 'unicode/tzrule.h', |
542 'unicode/tztrans.h', | 534 'unicode/tztrans.h', |
543 'unicode/ucal.h', | 535 'unicode/ucal.h', |
544 'unicode/ucoleitr.h', | 536 'unicode/ucoleitr.h', |
545 'unicode/ucol.h', | 537 'unicode/ucol.h', |
546 'unicode/ucsdet.h', | 538 'unicode/ucsdet.h', |
547 'unicode/ucurr.h', | |
548 'unicode/udateintervalformat.h', | 539 'unicode/udateintervalformat.h', |
549 'unicode/udat.h', | 540 'unicode/udat.h', |
550 'unicode/udatpg.h', | 541 'unicode/udatpg.h', |
551 'unicode/udisplaycontext.h', | 542 'unicode/ufieldpositer.h', |
552 'unicode/uformattable.h', | 543 'unicode/uformattable.h', |
553 'unicode/ugender.h', | 544 'unicode/ugender.h', |
554 'unicode/uldnames.h', | |
555 'unicode/ulocdata.h', | 545 'unicode/ulocdata.h', |
556 'unicode/umsg.h', | 546 'unicode/umsg.h', |
557 'unicode/unirepl.h', | 547 'unicode/unirepl.h', |
558 'unicode/unum.h', | 548 'unicode/unum.h', |
559 'unicode/unumsys.h', | 549 'unicode/unumsys.h', |
560 'unicode/upluralrules.h', | 550 'unicode/upluralrules.h', |
561 'unicode/uregex.h', | 551 'unicode/uregex.h', |
562 'unicode/uregion.h', | 552 'unicode/uregion.h', |
| 553 'unicode/ureldatefmt.h', |
563 'unicode/usearch.h', | 554 'unicode/usearch.h', |
564 'unicode/uspoof.h', | 555 'unicode/uspoof.h', |
565 'unicode/utmscale.h', | 556 'unicode/utmscale.h', |
566 'unicode/utrans.h', | 557 'unicode/utrans.h', |
567 'unicode/vtzone.h', | 558 'unicode/vtzone.h', |
568 ], | 559 ], |
569 }, | 560 }, |
570 'includes': [ | 561 'includes': [ |
571 'shim_headers.gypi', | 562 'shim_headers.gypi', |
572 ], | 563 ], |
573 'toolsets': ['target'], | 564 'toolsets': ['target'], |
574 }, | 565 }, |
575 { | 566 { |
576 'target_name': 'icuuc', | 567 'target_name': 'icuuc', |
577 'type': 'none', | 568 'type': 'none', |
578 'dependencies': ['system_icu'], | 569 'dependencies': ['system_icu'], |
579 'export_dependent_settings': ['system_icu'], | 570 'export_dependent_settings': ['system_icu'], |
580 'variables': { | 571 'variables': { |
581 'headers_root_path': 'source/common', | 572 'headers_root_path': 'source/common', |
582 'header_filenames': [ | 573 'header_filenames': [ |
583 # This list can easily be updated using the command below: | 574 # This list can easily be updated using the command below: |
584 # find source/common/unicode -iname '*.h' \ | 575 # ls source/common/unicode/*h | sort | \ |
585 # -printf " '%p',\n" | \ | 576 # sed "s/^.*common\/\(.*\)$/ '\1',/" |
586 # sed -e 's|source/common/||' | sort -u | |
587 'unicode/appendable.h', | 577 'unicode/appendable.h', |
588 'unicode/brkiter.h', | 578 'unicode/brkiter.h', |
589 'unicode/bytestream.h', | 579 'unicode/bytestream.h', |
590 'unicode/bytestriebuilder.h', | 580 'unicode/bytestriebuilder.h', |
591 'unicode/bytestrie.h', | 581 'unicode/bytestrie.h', |
592 'unicode/caniter.h', | 582 'unicode/caniter.h', |
593 'unicode/chariter.h', | 583 'unicode/chariter.h', |
594 'unicode/dbbi.h', | 584 'unicode/dbbi.h', |
595 'unicode/docmain.h', | 585 'unicode/docmain.h', |
596 'unicode/dtintrv.h', | 586 'unicode/dtintrv.h', |
597 'unicode/enumset.h', | 587 'unicode/enumset.h', |
598 'unicode/errorcode.h', | 588 'unicode/errorcode.h', |
| 589 'unicode/filteredbrk.h', |
599 'unicode/icudataver.h', | 590 'unicode/icudataver.h', |
600 'unicode/icuplug.h', | 591 'unicode/icuplug.h', |
601 'unicode/idna.h', | 592 'unicode/idna.h', |
602 'unicode/listformatter.h', | 593 'unicode/listformatter.h', |
603 'unicode/localpointer.h', | 594 'unicode/localpointer.h', |
| 595 'unicode/locdspnm.h', |
604 'unicode/locid.h', | 596 'unicode/locid.h', |
605 'unicode/messagepattern.h', | 597 'unicode/messagepattern.h', |
606 'unicode/normalizer2.h', | 598 'unicode/normalizer2.h', |
607 'unicode/normlzr.h', | 599 'unicode/normlzr.h', |
608 'unicode/parseerr.h', | 600 'unicode/parseerr.h', |
609 'unicode/parsepos.h', | 601 'unicode/parsepos.h', |
610 'unicode/platform.h', | 602 'unicode/platform.h', |
611 'unicode/ptypes.h', | 603 'unicode/ptypes.h', |
612 'unicode/putil.h', | 604 'unicode/putil.h', |
613 'unicode/rbbi.h', | 605 'unicode/rbbi.h', |
614 'unicode/rep.h', | 606 'unicode/rep.h', |
615 'unicode/resbund.h', | 607 'unicode/resbund.h', |
616 'unicode/schriter.h', | 608 'unicode/schriter.h', |
| 609 'unicode/simpleformatter.h', |
617 'unicode/std_string.h', | 610 'unicode/std_string.h', |
618 'unicode/strenum.h', | 611 'unicode/strenum.h', |
619 'unicode/stringpiece.h', | 612 'unicode/stringpiece.h', |
620 'unicode/stringtriebuilder.h', | 613 'unicode/stringtriebuilder.h', |
621 'unicode/symtable.h', | 614 'unicode/symtable.h', |
622 'unicode/ubidi.h', | 615 'unicode/ubidi.h', |
| 616 'unicode/ubiditransform.h', |
623 'unicode/ubrk.h', | 617 'unicode/ubrk.h', |
624 'unicode/ucasemap.h', | 618 'unicode/ucasemap.h', |
625 'unicode/ucat.h', | 619 'unicode/ucat.h', |
626 'unicode/uchar.h', | 620 'unicode/uchar.h', |
627 'unicode/ucharstriebuilder.h', | 621 'unicode/ucharstriebuilder.h', |
628 'unicode/ucharstrie.h', | 622 'unicode/ucharstrie.h', |
629 'unicode/uchriter.h', | 623 'unicode/uchriter.h', |
630 'unicode/uclean.h', | 624 'unicode/uclean.h', |
631 'unicode/ucnv_cb.h', | 625 'unicode/ucnv_cb.h', |
632 'unicode/ucnv_err.h', | 626 'unicode/ucnv_err.h', |
633 'unicode/ucnv.h', | 627 'unicode/ucnv.h', |
634 'unicode/ucnvsel.h', | 628 'unicode/ucnvsel.h', |
635 'unicode/uconfig.h', | 629 'unicode/uconfig.h', |
| 630 'unicode/ucurr.h', |
636 'unicode/udata.h', | 631 'unicode/udata.h', |
| 632 'unicode/udisplaycontext.h', |
637 'unicode/uenum.h', | 633 'unicode/uenum.h', |
638 'unicode/uidna.h', | 634 'unicode/uidna.h', |
639 'unicode/uiter.h', | 635 'unicode/uiter.h', |
| 636 'unicode/uldnames.h', |
| 637 'unicode/ulistformatter.h', |
640 'unicode/uloc.h', | 638 'unicode/uloc.h', |
641 'unicode/umachine.h', | 639 'unicode/umachine.h', |
642 'unicode/umisc.h', | 640 'unicode/umisc.h', |
643 'unicode/unifilt.h', | 641 'unicode/unifilt.h', |
644 'unicode/unifunct.h', | 642 'unicode/unifunct.h', |
645 'unicode/unimatch.h', | 643 'unicode/unimatch.h', |
646 'unicode/uniset.h', | 644 'unicode/uniset.h', |
647 'unicode/unistr.h', | 645 'unicode/unistr.h', |
648 'unicode/unorm2.h', | 646 'unicode/unorm2.h', |
649 'unicode/unorm.h', | 647 'unicode/unorm.h', |
(...skipping 22 matching lines...) Expand all Loading... |
672 }, | 670 }, |
673 'includes': [ | 671 'includes': [ |
674 'shim_headers.gypi', | 672 'shim_headers.gypi', |
675 ], | 673 ], |
676 'toolsets': ['target'], | 674 'toolsets': ['target'], |
677 }, | 675 }, |
678 ], # targets | 676 ], # targets |
679 }], | 677 }], |
680 ], # conditions | 678 ], # conditions |
681 } | 679 } |
OLD | NEW |