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

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: Switch to system of patched libraries in dart:io for new TlsSocket class. 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
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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 'target_name': 'libdart_builtin', 253 'target_name': 'libdart_builtin',
254 'type': 'static_library', 254 'type': 'static_library',
255 'dependencies': [ 255 'dependencies': [
256 'generate_builtin_cc_file', 256 'generate_builtin_cc_file',
257 'generate_crypto_cc_file', 257 'generate_crypto_cc_file',
258 'generate_io_cc_file', 258 'generate_io_cc_file',
259 'generate_io_patch_cc_file', 259 'generate_io_patch_cc_file',
260 'generate_json_cc_file', 260 'generate_json_cc_file',
261 'generate_uri_cc_file', 261 'generate_uri_cc_file',
262 'generate_utf_cc_file', 262 'generate_utf_cc_file',
263 'bin/net/nss.gyp:nss',
264 'bin/net/nss.gyp:nspr',
265 'bin/net/nss.gyp:nssckbi',
266 'bin/net/nss.gyp:nss_static',
267 'bin/net/ssl.gyp:libssl',
Bill Hesse 2012/10/31 16:33:29 Changed to "net" target in bin.gypi.
268 'bin/net/zlib.gyp:zlib',
263 ], 269 ],
264 'include_dirs': [ 270 'include_dirs': [
265 '..', 271 '..',
266 ], 272 ],
267 'sources': [ 273 'sources': [
268 'builtin_natives.cc', 274 'builtin_natives.cc',
269 'builtin.h', 275 'builtin.h',
270 ], 276 ],
271 'includes': [ 277 'includes': [
272 'builtin_impl_sources.gypi', 278 'builtin_impl_sources.gypi',
273 '../platform/platform_sources.gypi', 279 '../platform/platform_sources.gypi',
274 ], 280 ],
275 'sources/': [ 281 'sources/': [
276 ['exclude', '_test\\.(cc|h)$'], 282 ['exclude', '_test\\.(cc|h)$'],
277 ], 283 ],
284 'defines': [
285 'NSS_USE_STATIC_LIBS=1',
Bill Hesse 2012/10/31 16:33:29 Move to nss.gyp (in)direct dependent settings? Be
286 ],
278 'conditions': [ 287 'conditions': [
279 ['OS=="win"', { 288 ['OS=="win"', {
280 'sources/' : [ 289 'sources/': [
281 ['exclude', 'fdutils.h'], 290 ['exclude', 'fdutils.h'],
282 ], 291 ],
292
283 # TODO(antonm): fix the implementation. 293 # TODO(antonm): fix the implementation.
284 # Current implementation accepts char* strings 294 # Current implementation accepts char* strings
285 # and therefore fails to compile once _UNICODE is 295 # and therefore fails to compile once _UNICODE is
286 # enabled. That should be addressed using -A 296 # enabled. That should be addressed using -A
287 # versions of functions and adding necessary conversions. 297 # versions of functions and adding necessary conversions.
288 'configurations': { 298 'configurations': {
289 'Common_Base': { 299 'Common_Base': {
290 'msvs_configuration_attributes': { 300 'msvs_configuration_attributes': {
291 'CharacterSet': '0', 301 'CharacterSet': '0',
292 }, 302 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 '<(crypto_cc_file)', 352 '<(crypto_cc_file)',
343 '<(io_cc_file)', 353 '<(io_cc_file)',
344 '<(io_patch_cc_file)', 354 '<(io_patch_cc_file)',
345 '<(json_cc_file)', 355 '<(json_cc_file)',
346 '<(uri_cc_file)', 356 '<(uri_cc_file)',
347 '<(utf_cc_file)', 357 '<(utf_cc_file)',
348 ], 358 ],
349 'conditions': [ 359 'conditions': [
350 ['OS=="win"', { 360 ['OS=="win"', {
351 'link_settings': { 361 'link_settings': {
352 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 362 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
Bill Hesse 2012/10/31 16:33:29 Move to nss.gyp direct dependent settings?
353 }, 363 },
354 }]], 364 }]],
355 }, 365 },
356 { 366 {
357 # Generate snapshot bin file. 367 # Generate snapshot bin file.
358 'target_name': 'generate_snapshot_bin', 368 'target_name': 'generate_snapshot_bin',
359 'type': 'none', 369 'type': 'none',
360 'dependencies': [ 370 'dependencies': [
361 'gen_snapshot', 371 'gen_snapshot',
362 ], 372 ],
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 '..', 434 '..',
425 ], 435 ],
426 'sources': [ 436 'sources': [
427 'main.cc', 437 'main.cc',
428 'builtin_nolib.cc', 438 'builtin_nolib.cc',
429 '<(snapshot_cc_file)', 439 '<(snapshot_cc_file)',
430 ], 440 ],
431 'conditions': [ 441 'conditions': [
432 ['OS=="win"', { 442 ['OS=="win"', {
433 'link_settings': { 443 'link_settings': {
434 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 444 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
435 }, 445 },
436 # Generate an import library on Windows, by exporting a function. 446 # Generate an import library on Windows, by exporting a function.
437 # Extensions use this import library to link to the API in dart.exe. 447 # Extensions use this import library to link to the API in dart.exe.
438 'msvs_settings': { 448 'msvs_settings': {
439 'VCLinkerTool': { 449 'VCLinkerTool': {
440 'AdditionalOptions': [ '/EXPORT:Dart_True' ], 450 'AdditionalOptions': [ '/EXPORT:Dart_True' ],
441 }, 451 },
442 }, 452 },
443 }], 453 }],
444 ], 454 ],
(...skipping 18 matching lines...) Expand all
463 '<(io_cc_file)', 473 '<(io_cc_file)',
464 '<(io_patch_cc_file)', 474 '<(io_patch_cc_file)',
465 '<(json_cc_file)', 475 '<(json_cc_file)',
466 '<(uri_cc_file)', 476 '<(uri_cc_file)',
467 '<(utf_cc_file)', 477 '<(utf_cc_file)',
468 'snapshot_empty.cc', 478 'snapshot_empty.cc',
469 ], 479 ],
470 'conditions': [ 480 'conditions': [
471 ['OS=="win"', { 481 ['OS=="win"', {
472 'link_settings': { 482 'link_settings': {
473 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 483 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
474 }, 484 },
475 }]], 485 }]],
476 }, 486 },
477 { 487 {
478 'target_name': 'process_test', 488 'target_name': 'process_test',
479 'type': 'executable', 489 'type': 'executable',
480 'sources': [ 490 'sources': [
481 'process_test.cc', 491 'process_test.cc',
482 ] 492 ]
483 }, 493 },
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 'sources/': [ 527 'sources/': [
518 ['exclude', '\\.(cc|h)$'], 528 ['exclude', '\\.(cc|h)$'],
519 ['include', 'run_vm_tests.cc'], 529 ['include', 'run_vm_tests.cc'],
520 ['include', 'builtin.cc'], 530 ['include', 'builtin.cc'],
521 ['include', '_gen\\.cc$'], 531 ['include', '_gen\\.cc$'],
522 ['include', '_test\\.(cc|h)$'], 532 ['include', '_test\\.(cc|h)$'],
523 ], 533 ],
524 'conditions': [ 534 'conditions': [
525 ['OS=="win"', { 535 ['OS=="win"', {
526 'link_settings': { 536 'link_settings': {
527 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 537 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
528 }, 538 },
529 }], 539 }],
530 ], 540 ],
531 }, 541 },
532 { 542 {
533 'target_name': 'test_extension', 543 'target_name': 'test_extension',
534 'type': 'shared_library', 544 'type': 'shared_library',
535 'dependencies': [ 545 'dependencies': [
536 'dart', 546 'dart',
537 ], 547 ],
(...skipping 19 matching lines...) Expand all
557 ['OS=="mac"', { 567 ['OS=="mac"', {
558 'xcode_settings': { 568 'xcode_settings': {
559 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 569 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
560 }, 570 },
561 }], 571 }],
562 ], 572 ],
563 }, 573 },
564 ], 574 ],
565 } 575 }
566 576
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698