OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'base_target': 0, | 8 'base_target': 0, |
9 'base_extra_target': 0, | |
10 }, | 9 }, |
11 'target_conditions': [ | 10 'target_conditions': [ |
12 # This part is shared between the targets defined below. | 11 # This part is shared between the targets defined below. |
13 ['base_target==1', { | 12 ['base_target==1', { |
14 'sources': [ | 13 'sources': [ |
15 '../build/build_config.h', | 14 '../build/build_config.h', |
16 'third_party/dmg_fp/dmg_fp.h', | 15 'third_party/dmg_fp/dmg_fp.h', |
17 'third_party/dmg_fp/g_fmt.cc', | 16 'third_party/dmg_fp/g_fmt.cc', |
18 'third_party/dmg_fp/dtoa_wrapper.cc', | 17 'third_party/dmg_fp/dtoa_wrapper.cc', |
19 'third_party/icu/icu_utf.cc', | 18 'third_party/icu/icu_utf.cc', |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 'message_pump_libevent.cc', | 398 'message_pump_libevent.cc', |
400 # Not using sha1_win.cc because it may have caused a | 399 # Not using sha1_win.cc because it may have caused a |
401 # regression to page cycler moz. | 400 # regression to page cycler moz. |
402 'sha1_win.cc', | 401 'sha1_win.cc', |
403 'string16.cc', | 402 'string16.cc', |
404 'debug/trace_event.cc', | 403 'debug/trace_event.cc', |
405 ], | 404 ], |
406 },], | 405 },], |
407 ], | 406 ], |
408 }], | 407 }], |
409 ['base_extra_target==1', { | |
410 'sources': [ | |
411 'crypto/capi_util.cc', | |
412 'crypto/capi_util.h', | |
413 'crypto/cssm_init.cc', | |
414 'crypto/cssm_init.h', | |
415 'crypto/encryptor.h', | |
416 'crypto/encryptor_mac.cc', | |
417 'crypto/encryptor_nss.cc', | |
418 'crypto/encryptor_openssl.cc', | |
419 'crypto/encryptor_win.cc', | |
420 'crypto/rsa_private_key.h', | |
421 'crypto/rsa_private_key.cc', | |
422 'crypto/rsa_private_key_mac.cc', | |
423 'crypto/rsa_private_key_nss.cc', | |
424 'crypto/rsa_private_key_openssl.cc', | |
425 'crypto/rsa_private_key_win.cc', | |
426 'crypto/signature_creator.h', | |
427 'crypto/signature_creator_mac.cc', | |
428 'crypto/signature_creator_nss.cc', | |
429 'crypto/signature_creator_openssl.cc', | |
430 'crypto/signature_creator_win.cc', | |
431 'crypto/signature_verifier.h', | |
432 'crypto/signature_verifier_mac.cc', | |
433 'crypto/signature_verifier_nss.cc', | |
434 'crypto/signature_verifier_openssl.cc', | |
435 'crypto/signature_verifier_win.cc', | |
436 'crypto/symmetric_key.h', | |
437 'crypto/symmetric_key_mac.cc', | |
438 'crypto/symmetric_key_nss.cc', | |
439 'crypto/symmetric_key_openssl.cc', | |
440 'crypto/symmetric_key_win.cc', | |
441 'third_party/nspr/prcpucfg.h', | |
442 'third_party/nspr/prcpucfg_win.h', | |
443 'third_party/nspr/prtypes.h', | |
444 'third_party/nss/blapi.h', | |
445 'third_party/nss/blapit.h', | |
446 'third_party/nss/sha256.h', | |
447 'third_party/nss/sha512.cc', | |
448 'third_party/purify/pure.h', | |
449 'third_party/purify/pure_api.c', | |
450 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', | |
451 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', | |
452 'auto_reset.h', | |
453 'base64.cc', | |
454 'base64.h', | |
455 'data_pack.cc', | |
456 'event_recorder.cc', | |
457 'event_recorder.h', | |
458 'event_recorder_stubs.cc', | |
459 'file_descriptor_shuffle.cc', | |
460 'file_descriptor_shuffle.h', | |
461 'hmac.h', | |
462 'hmac_mac.cc', | |
463 'hmac_nss.cc', | |
464 'hmac_openssl.cc', | |
465 'hmac_win.cc', | |
466 'image_util.cc', | |
467 'image_util.h', | |
468 'linux_util.cc', | |
469 'linux_util.h', | |
470 'md5.cc', | |
471 'md5.h', | |
472 'message_pump_glib.cc', | |
473 'message_pump_glib.h', | |
474 'message_pump_glib_x.cc', | |
475 'message_pump_glib_x.h', | |
476 'message_pump_glib_x_dispatch.h', | |
477 'message_pump_libevent.cc', | |
478 'message_pump_libevent.h', | |
479 'message_pump_mac.h', | |
480 'message_pump_mac.mm', | |
481 'metrics/field_trial.cc', | |
482 'metrics/field_trial.h', | |
483 'nsimage_cache_mac.h', | |
484 'nsimage_cache_mac.mm', | |
485 'nss_util.cc', | |
486 'nss_util.h', | |
487 'openssl_util.cc', | |
488 'openssl_util.h', | |
489 'setproctitle_linux.c', | |
490 'setproctitle_linux.h', | |
491 'sha2.cc', | |
492 'sha2.h', | |
493 'sha2_openssl.cc', | |
494 'string16.cc', | |
495 'string16.h', | |
496 'sync_socket.h', | |
497 'sync_socket_win.cc', | |
498 'sync_socket_posix.cc', | |
499 'time_mac.cc', | |
500 'time_posix.cc', | |
501 ], | |
502 'conditions': [ | |
503 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solar
is"', { | |
504 'conditions': [ | |
505 [ 'chromeos==1', { | |
506 'sources/': [ ['include', '_chromeos\\.cc$'] ] | |
507 }, | |
508 ], | |
509 ], | |
510 'defines': [ | |
511 'USE_SYMBOLIZE', | |
512 ], | |
513 'cflags': [ | |
514 '-Wno-write-strings', | |
515 ], | |
516 }, { # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS !
= "solaris" | |
517 'sources/': [ | |
518 ['exclude', '/xdg_user_dirs/'], | |
519 ['exclude', '_nss\.cc$'], | |
520 ], | |
521 }], | |
522 [ 'OS != "mac"', { | |
523 'sources!': [ | |
524 'crypto/cssm_init.cc', | |
525 'crypto/cssm_init.h', | |
526 ], | |
527 },], | |
528 [ 'OS != "win"', { | |
529 'sources!': [ | |
530 'third_party/purify/pure_api.c', | |
531 'base_drag_source.cc', | |
532 'base_drop_target.cc', | |
533 'cpu.cc', | |
534 'crypto/capi_util.h', | |
535 'crypto/capi_util.cc', | |
536 'debug_on_start.cc', | |
537 'event_recorder.cc', | |
538 'file_version_info.cc', | |
539 'image_util.cc', | |
540 'object_watcher.cc', | |
541 'pe_image.cc', | |
542 'registry.cc', | |
543 'resource_util.cc', | |
544 'win_util.cc', | |
545 ], | |
546 },], | |
547 [ 'use_openssl==1', { | |
548 # TODO(joth): Use a glob to match exclude patterns once the | |
549 # OpenSSL file set is complete. | |
550 'sources!': [ | |
551 'crypto/encryptor_nss.cc', | |
552 'crypto/rsa_private_key_nss.cc', | |
553 'crypto/signature_creator_nss.cc', | |
554 'crypto/signature_verifier_nss.cc', | |
555 'crypto/symmetric_key_nss.cc', | |
556 'hmac_nss.cc', | |
557 'nss_util.cc', | |
558 'nss_util.h', | |
559 # Note that sha2.cc depends on the NSS files bundled into | |
560 # chromium; it does not have the _nss postfix as it is required | |
561 # on platforms besides linux and *bsd. | |
562 'sha2.cc', | |
563 'third_party/nss/blapi.h', | |
564 'third_party/nss/blapit.h', | |
565 'third_party/nss/sha256.h', | |
566 'third_party/nss/sha512.cc', | |
567 ], | |
568 }, { | |
569 'sources!': [ | |
570 'crypto/encryptor_openssl.cc', | |
571 'crypto/rsa_private_key_openssl.cc', | |
572 'crypto/signature_creator_openssl.cc', | |
573 'crypto/signature_verifier_openssl.cc', | |
574 'crypto/symmetric_key_openssl.cc', | |
575 'hmac_openssl.cc', | |
576 'openssl_util.cc', | |
577 'openssl_util.h', | |
578 'sha2_openssl.cc', | |
579 ], | |
580 },], | |
581 ], | |
582 }], | |
583 ], | 408 ], |
584 }, | 409 }, |
585 'targets': [ | 410 'targets': [ |
586 { | 411 { |
587 'target_name': 'base', | 412 'target_name': 'base', |
588 'type': '<(library)', | 413 'type': '<(library)', |
589 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', | 414 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', |
590 'variables': { | 415 'variables': { |
591 'base_target': 1, | 416 'base_target': 1, |
592 'base_extra_target': 1, | |
593 }, | 417 }, |
594 'dependencies': [ | 418 'dependencies': [ |
595 '../third_party/modp_b64/modp_b64.gyp:modp_b64', | 419 '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
596 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 420 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
597 ], | 421 ], |
598 # TODO(gregoryd): direct_dependent_settings should be shared with the | 422 # TODO(gregoryd): direct_dependent_settings should be shared with the |
599 # 64-bit target, but it doesn't work due to a bug in gyp | 423 # 64-bit target, but it doesn't work due to a bug in gyp |
600 'direct_dependent_settings': { | 424 'direct_dependent_settings': { |
601 'include_dirs': [ | 425 'include_dirs': [ |
602 '..', | 426 '..', |
603 ], | 427 ], |
604 }, | 428 }, |
605 'conditions': [ | 429 'conditions': [ |
606 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { | 430 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris
"', { |
607 'conditions': [ | 431 'conditions': [ |
| 432 [ 'chromeos==1', { |
| 433 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 434 }, |
| 435 ], |
608 [ 'linux_use_tcmalloc==0', { | 436 [ 'linux_use_tcmalloc==0', { |
609 'defines': [ | 437 'defines': [ |
610 'NO_TCMALLOC', | 438 'NO_TCMALLOC', |
611 ], | 439 ], |
612 'direct_dependent_settings': { | 440 'direct_dependent_settings': { |
613 'defines': [ | 441 'defines': [ |
614 'NO_TCMALLOC', | 442 'NO_TCMALLOC', |
615 ], | 443 ], |
616 }, | 444 }, |
617 }, | 445 }, |
618 ], | 446 ], |
619 [ 'use_openssl==1', { | 447 [ 'use_openssl==1', { |
620 'dependencies': [ | 448 'dependencies': [ |
621 '../build/linux/system.gyp:openssl', | 449 '../build/linux/system.gyp:openssl', |
622 ], | 450 ], |
623 }, { # use_openssl==0 | 451 }, { # use_openssl==0 |
624 'dependencies': [ | 452 'dependencies': [ |
625 '../build/linux/system.gyp:nss', | 453 '../build/linux/system.gyp:nss', |
626 ], | 454 ], |
627 } | 455 } |
628 ], | 456 ], |
629 ], | 457 ], |
630 'dependencies': [ | 458 'dependencies': [ |
631 'symbolize', | 459 'symbolize', |
632 '../build/util/build_util.gyp:lastchange', | 460 '../build/util/build_util.gyp:lastchange', |
633 '../build/linux/system.gyp:gtk', | 461 '../build/linux/system.gyp:gtk', |
634 '../build/linux/system.gyp:x11', | 462 '../build/linux/system.gyp:x11', |
635 'xdg_mime', | 463 'xdg_mime', |
636 ], | 464 ], |
| 465 'defines': [ |
| 466 'USE_SYMBOLIZE', |
| 467 ], |
| 468 'cflags': [ |
| 469 '-Wno-write-strings', |
| 470 ], |
637 'export_dependent_settings': [ | 471 'export_dependent_settings': [ |
638 '../build/linux/system.gyp:gtk', | 472 '../build/linux/system.gyp:gtk', |
639 '../build/linux/system.gyp:x11', | 473 '../build/linux/system.gyp:x11', |
640 ], | 474 ], |
641 },], | 475 }, { # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS !=
"solaris" |
| 476 'sources/': [ |
| 477 ['exclude', '/xdg_user_dirs/'], |
| 478 ['exclude', '_nss\.cc$'], |
| 479 ], |
| 480 }], |
642 [ 'OS == "freebsd" or OS == "openbsd"', { | 481 [ 'OS == "freebsd" or OS == "openbsd"', { |
643 'link_settings': { | 482 'link_settings': { |
644 'libraries': [ | 483 'libraries': [ |
645 '-L/usr/local/lib -lexecinfo', | 484 '-L/usr/local/lib -lexecinfo', |
646 ], | 485 ], |
647 }, | 486 }, |
648 }, | 487 }, |
649 ], | 488 ], |
650 [ 'OS == "linux"', { | 489 [ 'OS == "linux"', { |
651 'link_settings': { | 490 'link_settings': { |
652 'libraries': [ | 491 'libraries': [ |
653 # We need rt for clock_gettime(). | 492 # We need rt for clock_gettime(). |
654 '-lrt', | 493 '-lrt', |
655 # For 'native_library_linux.cc' | 494 # For 'native_library_linux.cc' |
656 '-ldl', | 495 '-ldl', |
657 ], | 496 ], |
658 }, | 497 }, |
659 }], | 498 }], |
660 [ 'OS == "mac"', { | 499 [ 'OS == "mac"', { |
661 'link_settings': { | 500 'link_settings': { |
662 'libraries': [ | 501 'libraries': [ |
663 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 502 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
664 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 503 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
665 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 504 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
666 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 505 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
667 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | 506 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
668 '$(SDKROOT)/System/Library/Frameworks/Security.framework', | 507 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
669 ], | 508 ], |
670 }, | 509 }, |
671 },], | 510 }, { # OS != "mac" |
| 511 'sources!': [ |
| 512 'crypto/cssm_init.cc', |
| 513 'crypto/cssm_init.h', |
| 514 ], |
| 515 }], |
672 [ 'OS == "mac" or OS == "win"', { | 516 [ 'OS == "mac" or OS == "win"', { |
673 'dependencies': [ | 517 'dependencies': [ |
674 '../third_party/nss/nss.gyp:nss', | 518 '../third_party/nss/nss.gyp:nss', |
675 ], | 519 ], |
676 },], | 520 },], |
677 [ 'OS != "win"', { | 521 [ 'OS != "win"', { |
678 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], | 522 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
| 523 'sources!': [ |
| 524 'third_party/purify/pure_api.c', |
| 525 'base_drag_source.cc', |
| 526 'base_drop_target.cc', |
| 527 'cpu.cc', |
| 528 'crypto/capi_util.h', |
| 529 'crypto/capi_util.cc', |
| 530 'debug_on_start.cc', |
| 531 'event_recorder.cc', |
| 532 'file_version_info.cc', |
| 533 'image_util.cc', |
| 534 'object_watcher.cc', |
| 535 'pe_image.cc', |
| 536 'registry.cc', |
| 537 'resource_util.cc', |
| 538 'win_util.cc', |
| 539 ], |
679 },], | 540 },], |
| 541 [ 'use_openssl==1', { |
| 542 # TODO(joth): Use a glob to match exclude patterns once the |
| 543 # OpenSSL file set is complete. |
| 544 'sources!': [ |
| 545 'crypto/encryptor_nss.cc', |
| 546 'crypto/rsa_private_key_nss.cc', |
| 547 'crypto/signature_creator_nss.cc', |
| 548 'crypto/signature_verifier_nss.cc', |
| 549 'crypto/symmetric_key_nss.cc', |
| 550 'hmac_nss.cc', |
| 551 'nss_util.cc', |
| 552 'nss_util.h', |
| 553 # Note that sha2.cc depends on the NSS files bundled into |
| 554 # chromium; it does not have the _nss postfix as it is required |
| 555 # on platforms besides linux and *bsd. |
| 556 'sha2.cc', |
| 557 'third_party/nss/blapi.h', |
| 558 'third_party/nss/blapit.h', |
| 559 'third_party/nss/sha256.h', |
| 560 'third_party/nss/sha512.cc', |
| 561 ], |
| 562 }, { |
| 563 'sources!': [ |
| 564 'crypto/encryptor_openssl.cc', |
| 565 'crypto/rsa_private_key_openssl.cc', |
| 566 'crypto/signature_creator_openssl.cc', |
| 567 'crypto/signature_verifier_openssl.cc', |
| 568 'crypto/symmetric_key_openssl.cc', |
| 569 'hmac_openssl.cc', |
| 570 'openssl_util.cc', |
| 571 'openssl_util.h', |
| 572 'sha2_openssl.cc', |
| 573 ], |
| 574 },], |
| 575 ], |
| 576 'sources': [ |
| 577 'crypto/capi_util.cc', |
| 578 'crypto/capi_util.h', |
| 579 'crypto/cssm_init.cc', |
| 580 'crypto/cssm_init.h', |
| 581 'crypto/encryptor.h', |
| 582 'crypto/encryptor_mac.cc', |
| 583 'crypto/encryptor_nss.cc', |
| 584 'crypto/encryptor_openssl.cc', |
| 585 'crypto/encryptor_win.cc', |
| 586 'crypto/rsa_private_key.h', |
| 587 'crypto/rsa_private_key.cc', |
| 588 'crypto/rsa_private_key_mac.cc', |
| 589 'crypto/rsa_private_key_nss.cc', |
| 590 'crypto/rsa_private_key_openssl.cc', |
| 591 'crypto/rsa_private_key_win.cc', |
| 592 'crypto/signature_creator.h', |
| 593 'crypto/signature_creator_mac.cc', |
| 594 'crypto/signature_creator_nss.cc', |
| 595 'crypto/signature_creator_openssl.cc', |
| 596 'crypto/signature_creator_win.cc', |
| 597 'crypto/signature_verifier.h', |
| 598 'crypto/signature_verifier_mac.cc', |
| 599 'crypto/signature_verifier_nss.cc', |
| 600 'crypto/signature_verifier_openssl.cc', |
| 601 'crypto/signature_verifier_win.cc', |
| 602 'crypto/symmetric_key.h', |
| 603 'crypto/symmetric_key_mac.cc', |
| 604 'crypto/symmetric_key_nss.cc', |
| 605 'crypto/symmetric_key_openssl.cc', |
| 606 'crypto/symmetric_key_win.cc', |
| 607 'third_party/nspr/prcpucfg.h', |
| 608 'third_party/nspr/prcpucfg_win.h', |
| 609 'third_party/nspr/prtypes.h', |
| 610 'third_party/nss/blapi.h', |
| 611 'third_party/nss/blapit.h', |
| 612 'third_party/nss/sha256.h', |
| 613 'third_party/nss/sha512.cc', |
| 614 'third_party/purify/pure.h', |
| 615 'third_party/purify/pure_api.c', |
| 616 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
| 617 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', |
| 618 'auto_reset.h', |
| 619 'base64.cc', |
| 620 'base64.h', |
| 621 'data_pack.cc', |
| 622 'event_recorder.cc', |
| 623 'event_recorder.h', |
| 624 'event_recorder_stubs.cc', |
| 625 'file_descriptor_shuffle.cc', |
| 626 'file_descriptor_shuffle.h', |
| 627 'hmac.h', |
| 628 'hmac_mac.cc', |
| 629 'hmac_nss.cc', |
| 630 'hmac_openssl.cc', |
| 631 'hmac_win.cc', |
| 632 'image_util.cc', |
| 633 'image_util.h', |
| 634 'linux_util.cc', |
| 635 'linux_util.h', |
| 636 'md5.cc', |
| 637 'md5.h', |
| 638 'message_pump_glib.cc', |
| 639 'message_pump_glib.h', |
| 640 'message_pump_glib_x.cc', |
| 641 'message_pump_glib_x.h', |
| 642 'message_pump_glib_x_dispatch.h', |
| 643 'message_pump_libevent.cc', |
| 644 'message_pump_libevent.h', |
| 645 'message_pump_mac.h', |
| 646 'message_pump_mac.mm', |
| 647 'metrics/field_trial.cc', |
| 648 'metrics/field_trial.h', |
| 649 'nsimage_cache_mac.h', |
| 650 'nsimage_cache_mac.mm', |
| 651 'nss_util.cc', |
| 652 'nss_util.h', |
| 653 'openssl_util.cc', |
| 654 'openssl_util.h', |
| 655 'setproctitle_linux.c', |
| 656 'setproctitle_linux.h', |
| 657 'sha2.cc', |
| 658 'sha2.h', |
| 659 'sha2_openssl.cc', |
| 660 'string16.cc', |
| 661 'string16.h', |
| 662 'sync_socket.h', |
| 663 'sync_socket_win.cc', |
| 664 'sync_socket_posix.cc', |
| 665 'time_mac.cc', |
| 666 'time_posix.cc', |
680 ], | 667 ], |
681 }, | 668 }, |
682 ], | 669 ], |
683 'conditions': [ | 670 'conditions': [ |
684 [ 'OS == "win"', { | 671 [ 'OS == "win"', { |
685 'targets': [ | 672 'targets': [ |
686 { | 673 { |
687 'target_name': 'base_nacl_win64', | 674 'target_name': 'base_nacl_win64', |
688 'type': '<(library)', | 675 'type': '<(library)', |
689 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE', | 676 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE', |
(...skipping 17 matching lines...) Expand all Loading... |
707 'i18n/icu_util_nacl_win64.cc', | 694 'i18n/icu_util_nacl_win64.cc', |
708 ], | 695 ], |
709 'configurations': { | 696 'configurations': { |
710 'Common_Base': { | 697 'Common_Base': { |
711 'msvs_target_platform': 'x64', | 698 'msvs_target_platform': 'x64', |
712 }, | 699 }, |
713 }, | 700 }, |
714 }, | 701 }, |
715 ], | 702 ], |
716 }], | 703 }], |
717 [ 'OS == "linux" and internal_pdf', { | |
718 'targets': [ | |
719 { | |
720 'target_name': 'base_fpic', | |
721 'type': '<(library)', | |
722 'variables': { | |
723 'base_target': 1, | |
724 'base_extra_target': 1, | |
725 }, | |
726 'cflags': [ | |
727 '-fPIC', | |
728 ], | |
729 'direct_dependent_settings': { | |
730 'include_dirs': [ | |
731 '..', | |
732 ], | |
733 }, | |
734 'conditions': [ | |
735 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { | |
736 'dependencies': [ | |
737 '../build/util/build_util.gyp:lastchange', | |
738 '../build/linux/system.gyp:gtk', | |
739 '../build/linux/system.gyp:nss', | |
740 '../build/linux/system.gyp:x11', | |
741 'xdg_mime', | |
742 ], | |
743 'export_dependent_settings': [ | |
744 '../build/linux/system.gyp:gtk', | |
745 '../build/linux/system.gyp:x11', | |
746 ], | |
747 },], | |
748 ['OS == "linux"', { | |
749 'link_settings': { | |
750 'libraries': [ | |
751 # We need rt for clock_gettime(). | |
752 '-lrt', | |
753 # For 'native_library_linux.cc' | |
754 '-ldl', | |
755 ], | |
756 }, | |
757 }], | |
758 [ 'OS == "mac" or OS == "win"', { | |
759 'dependencies': [ | |
760 '../third_party/nss/nss.gyp:nss', | |
761 ], | |
762 },], | |
763 [ 'OS != "win"', { | |
764 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'
], | |
765 },], | |
766 ], | |
767 }, | |
768 ], | |
769 }], | |
770 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"',
{ | 704 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"',
{ |
771 'targets': [ | 705 'targets': [ |
772 { | 706 { |
773 'target_name': 'symbolize', | 707 'target_name': 'symbolize', |
774 'type': '<(library)', | 708 'type': '<(library)', |
775 'variables': { | 709 'variables': { |
776 'chromium_code': 0, | 710 'chromium_code': 0, |
777 }, | 711 }, |
778 'conditions': [ | 712 'conditions': [ |
779 [ 'OS == "solaris"', { | 713 [ 'OS == "solaris"', { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 'third_party/xdg_mime/xdgmimemagic.c', | 753 'third_party/xdg_mime/xdgmimemagic.c', |
820 'third_party/xdg_mime/xdgmimemagic.h', | 754 'third_party/xdg_mime/xdgmimemagic.h', |
821 'third_party/xdg_mime/xdgmimeparent.c', | 755 'third_party/xdg_mime/xdgmimeparent.c', |
822 'third_party/xdg_mime/xdgmimeparent.h', | 756 'third_party/xdg_mime/xdgmimeparent.h', |
823 ], | 757 ], |
824 }, | 758 }, |
825 ], | 759 ], |
826 }], | 760 }], |
827 ], | 761 ], |
828 } | 762 } |
OLD | NEW |