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

Side by Side Diff: runtime/bin/bin.gypi

Issue 10916081: Add secure sockets to dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove some magic numbers, edit TODOs. Created 8 years, 1 month 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 | runtime/bin/dartutils.h » ('j') | runtime/bin/tls_socket.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', 7 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc',
8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', 8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
9 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', 9 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc',
10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', 10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 'builtin.h', 269 'builtin.h',
270 'io_natives.h', 270 'io_natives.h',
271 ], 271 ],
272 'includes': [ 272 'includes': [
273 'builtin_impl_sources.gypi', 273 'builtin_impl_sources.gypi',
274 '../platform/platform_sources.gypi', 274 '../platform/platform_sources.gypi',
275 ], 275 ],
276 'sources/': [ 276 'sources/': [
277 ['exclude', '_test\\.(cc|h)$'], 277 ['exclude', '_test\\.(cc|h)$'],
278 ], 278 ],
279 'defines': [
280 'NSS_USE_STATIC_LIBS=1',
281 ],
279 'conditions': [ 282 'conditions': [
280 ['OS=="win"', { 283 ['OS=="win"', {
281 'sources/' : [ 284 'sources/' : [
282 ['exclude', 'fdutils.h'], 285 ['exclude', 'fdutils.h'],
283 ], 286 ],
284 # TODO(antonm): fix the implementation. 287 # TODO(antonm): fix the implementation.
285 # Current implementation accepts char* strings 288 # Current implementation accepts char* strings
286 # and therefore fails to compile once _UNICODE is 289 # and therefore fails to compile once _UNICODE is
287 # enabled. That should be addressed using -A 290 # enabled. That should be addressed using -A
288 # versions of functions and adding necessary conversions. 291 # versions of functions and adding necessary conversions.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 '<(crypto_cc_file)', 407 '<(crypto_cc_file)',
405 '<(io_cc_file)', 408 '<(io_cc_file)',
406 '<(io_patch_cc_file)', 409 '<(io_patch_cc_file)',
407 '<(json_cc_file)', 410 '<(json_cc_file)',
408 '<(uri_cc_file)', 411 '<(uri_cc_file)',
409 '<(utf_cc_file)', 412 '<(utf_cc_file)',
410 ], 413 ],
411 'conditions': [ 414 'conditions': [
412 ['OS=="win"', { 415 ['OS=="win"', {
413 'link_settings': { 416 'link_settings': {
414 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 417 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
415 }, 418 },
416 }]], 419 }]],
417 }, 420 },
418 { 421 {
419 # Generate snapshot bin file. 422 # Generate snapshot bin file.
420 'target_name': 'generate_snapshot_bin', 423 'target_name': 'generate_snapshot_bin',
421 'type': 'none', 424 'type': 'none',
422 'dependencies': [ 425 'dependencies': [
423 'gen_snapshot', 426 'gen_snapshot',
424 ], 427 ],
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 '..', 490 '..',
488 ], 491 ],
489 'sources': [ 492 'sources': [
490 'main.cc', 493 'main.cc',
491 'builtin_nolib.cc', 494 'builtin_nolib.cc',
492 '<(snapshot_cc_file)', 495 '<(snapshot_cc_file)',
493 ], 496 ],
494 'conditions': [ 497 'conditions': [
495 ['OS=="win"', { 498 ['OS=="win"', {
496 'link_settings': { 499 'link_settings': {
497 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 500 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
498 }, 501 },
499 # Generate an import library on Windows, by exporting a function. 502 # Generate an import library on Windows, by exporting a function.
500 # Extensions use this import library to link to the API in dart.exe. 503 # Extensions use this import library to link to the API in dart.exe.
501 'msvs_settings': { 504 'msvs_settings': {
502 'VCLinkerTool': { 505 'VCLinkerTool': {
503 'AdditionalOptions': [ '/EXPORT:Dart_True' ], 506 'AdditionalOptions': [ '/EXPORT:Dart_True' ],
504 }, 507 },
505 }, 508 },
506 }], 509 }],
507 ], 510 ],
(...skipping 19 matching lines...) Expand all
527 '<(io_cc_file)', 530 '<(io_cc_file)',
528 '<(io_patch_cc_file)', 531 '<(io_patch_cc_file)',
529 '<(json_cc_file)', 532 '<(json_cc_file)',
530 '<(uri_cc_file)', 533 '<(uri_cc_file)',
531 '<(utf_cc_file)', 534 '<(utf_cc_file)',
532 'snapshot_empty.cc', 535 'snapshot_empty.cc',
533 ], 536 ],
534 'conditions': [ 537 'conditions': [
535 ['OS=="win"', { 538 ['OS=="win"', {
536 'link_settings': { 539 'link_settings': {
537 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 540 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
538 }, 541 },
539 # Generate an import library on Windows, by exporting a function. 542 # Generate an import library on Windows, by exporting a function.
540 # Extensions use this import library to link to the API in dart.exe. 543 # Extensions use this import library to link to the API in dart.exe.
541 'msvs_settings': { 544 'msvs_settings': {
542 'VCLinkerTool': { 545 'VCLinkerTool': {
543 'AdditionalOptions': [ '/EXPORT:Dart_True' ], 546 'AdditionalOptions': [ '/EXPORT:Dart_True' ],
544 }, 547 },
545 }, 548 },
546 }]], 549 }]],
547 }, 550 },
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 'sources/': [ 592 'sources/': [
590 ['exclude', '\\.(cc|h)$'], 593 ['exclude', '\\.(cc|h)$'],
591 ['include', 'run_vm_tests.cc'], 594 ['include', 'run_vm_tests.cc'],
592 ['include', 'builtin.cc'], 595 ['include', 'builtin.cc'],
593 ['include', '_gen\\.cc$'], 596 ['include', '_gen\\.cc$'],
594 ['include', '_test\\.(cc|h)$'], 597 ['include', '_test\\.(cc|h)$'],
595 ], 598 ],
596 'conditions': [ 599 'conditions': [
597 ['OS=="win"', { 600 ['OS=="win"', {
598 'link_settings': { 601 'link_settings': {
599 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 602 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
600 }, 603 },
601 }], 604 }],
602 ], 605 ],
603 }, 606 },
604 { 607 {
605 'target_name': 'test_extension', 608 'target_name': 'test_extension',
606 'type': 'shared_library', 609 'type': 'shared_library',
607 'dependencies': [ 610 'dependencies': [
608 'dart', 611 'dart',
609 ], 612 ],
(...skipping 20 matching lines...) Expand all
630 ['OS=="mac"', { 633 ['OS=="mac"', {
631 'xcode_settings': { 634 'xcode_settings': {
632 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 635 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
633 }, 636 },
634 }], 637 }],
635 ], 638 ],
636 }, 639 },
637 ], 640 ],
638 } 641 }
639 642
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/dartutils.h » ('j') | runtime/bin/tls_socket.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698