| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 8 | 8 |
| 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', | 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', |
| 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', | 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', |
| (...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 'conditions': [ | 675 'conditions': [ |
| 676 ['OS != "mac" and dart_io_support==1 and dart_io_secure_socket==1', { | 676 ['OS != "mac" and dart_io_support==1 and dart_io_secure_socket==1', { |
| 677 'dependencies': [ | 677 'dependencies': [ |
| 678 '../third_party/boringssl/boringssl_dart.gyp:boringssl', | 678 '../third_party/boringssl/boringssl_dart.gyp:boringssl', |
| 679 ], | 679 ], |
| 680 }], | 680 }], |
| 681 ['dart_io_secure_socket==0 or dart_io_support==0', { | 681 ['dart_io_secure_socket==0 or dart_io_support==0', { |
| 682 'defines': [ | 682 'defines': [ |
| 683 'DART_IO_SECURE_SOCKET_DISABLED' | 683 'DART_IO_SECURE_SOCKET_DISABLED' |
| 684 ], | 684 ], |
| 685 }, { |
| 686 'sources': [ |
| 687 '../../third_party/root_certificates/root_certificates.cc', |
| 688 ], |
| 685 }], | 689 }], |
| 686 ['OS=="win"', { | 690 ['OS=="win"', { |
| 687 'sources/' : [ | 691 'sources/' : [ |
| 688 ['exclude', 'fdutils.h'], | 692 ['exclude', 'fdutils.h'], |
| 689 ], | 693 ], |
| 690 # TODO(antonm): fix the implementation. | 694 # TODO(antonm): fix the implementation. |
| 691 # Current implementation accepts char* strings | 695 # Current implementation accepts char* strings |
| 692 # and therefore fails to compile once _UNICODE is | 696 # and therefore fails to compile once _UNICODE is |
| 693 # enabled. That should be addressed using -A | 697 # enabled. That should be addressed using -A |
| 694 # versions of functions and adding necessary conversions. | 698 # versions of functions and adding necessary conversions. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 751 }, { # dart_io_support == 0 | 755 }, { # dart_io_support == 0 |
| 752 'defines': [ | 756 'defines': [ |
| 753 'DART_IO_DISABLED', | 757 'DART_IO_DISABLED', |
| 754 'DART_IO_SECURE_SOCKET_DISABLED', | 758 'DART_IO_SECURE_SOCKET_DISABLED', |
| 755 ], | 759 ], |
| 756 }], | 760 }], |
| 757 ['dart_io_secure_socket==0', { | 761 ['dart_io_secure_socket==0', { |
| 758 'defines': [ | 762 'defines': [ |
| 759 'DART_IO_SECURE_SOCKET_DISABLED' | 763 'DART_IO_SECURE_SOCKET_DISABLED' |
| 760 ], | 764 ], |
| 765 }, { |
| 766 'sources': [ |
| 767 '../../third_party/root_certificates/root_certificates.cc', |
| 768 ], |
| 761 }], | 769 }], |
| 762 ['OS != "mac" and dart_io_support==1 and dart_io_secure_socket==1', { | 770 ['OS != "mac" and dart_io_support==1 and dart_io_secure_socket==1', { |
| 763 'dependencies': [ | 771 'dependencies': [ |
| 764 '../third_party/boringssl/boringssl_dart.gyp:boringssl', | 772 '../third_party/boringssl/boringssl_dart.gyp:boringssl', |
| 765 ], | 773 ], |
| 766 }], | 774 }], |
| 767 ['OS=="win"', { | 775 ['OS=="win"', { |
| 768 'link_settings': { | 776 'link_settings': { |
| 769 'libraries': [ '-liphlpapi.lib' ], | 777 'libraries': [ '-liphlpapi.lib' ], |
| 770 }, | 778 }, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 'io_natives.cc', | 819 'io_natives.cc', |
| 812 ], | 820 ], |
| 813 'dependencies': [ | 821 'dependencies': [ |
| 814 'bin/zlib.gyp:zlib_dart', | 822 'bin/zlib.gyp:zlib_dart', |
| 815 ], | 823 ], |
| 816 'conditions': [ | 824 'conditions': [ |
| 817 ['dart_io_support==0 or dart_io_secure_socket==0', { | 825 ['dart_io_support==0 or dart_io_secure_socket==0', { |
| 818 'defines': [ | 826 'defines': [ |
| 819 'DART_IO_SECURE_SOCKET_DISABLED', | 827 'DART_IO_SECURE_SOCKET_DISABLED', |
| 820 ], | 828 ], |
| 829 }, { |
| 830 'sources': [ |
| 831 '../../third_party/root_certificates/root_certificates.cc', |
| 832 ], |
| 821 }], | 833 }], |
| 822 ['OS != "mac" and dart_io_support==1 and dart_io_secure_socket==1', { | 834 ['OS != "mac" and dart_io_support==1 and dart_io_secure_socket==1', { |
| 823 'dependencies': [ | 835 'dependencies': [ |
| 824 '../third_party/boringssl/boringssl_dart.gyp:boringssl', | 836 '../third_party/boringssl/boringssl_dart.gyp:boringssl', |
| 825 ], | 837 ], |
| 826 }], | 838 }], |
| 827 ['OS=="win"', { | 839 ['OS=="win"', { |
| 828 'link_settings': { | 840 'link_settings': { |
| 829 'libraries': [ '-liphlpapi.lib' ], | 841 'libraries': [ '-liphlpapi.lib' ], |
| 830 }, | 842 }, |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 }], | 1428 }], |
| 1417 ['OS=="linux"', { | 1429 ['OS=="linux"', { |
| 1418 'cflags': [ | 1430 'cflags': [ |
| 1419 '-fPIC', | 1431 '-fPIC', |
| 1420 ], | 1432 ], |
| 1421 }], | 1433 }], |
| 1422 ], | 1434 ], |
| 1423 }, | 1435 }, |
| 1424 ], | 1436 ], |
| 1425 } | 1437 } |
| OLD | NEW |