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

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

Issue 9465004: Add native extensions for the Dart shell to mac and windows (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 8 years, 9 months 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/extensions_win.cc » ('j') | runtime/bin/extensions_win.cc » ('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 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', 7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', 8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', 9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
10 'utf8_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf8_gen.cc', 10 'utf8_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf8_gen.cc',
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 'sources': [ 335 'sources': [
336 'main.cc', 336 'main.cc',
337 'builtin_nolib.cc', 337 'builtin_nolib.cc',
338 '<(snapshot_cc_file)', 338 '<(snapshot_cc_file)',
339 ], 339 ],
340 'conditions': [ 340 'conditions': [
341 ['OS=="win"', { 341 ['OS=="win"', {
342 'link_settings': { 342 'link_settings': {
343 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 343 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
344 }, 344 },
345 }]], 345 'msvs_settings': {
Mads Ager (google) 2012/03/06 15:32:50 Please add a comment that this linker settings for
Søren Gjesse 2012/03/07 06:58:31 Should we perhaps add the same for the dart_no_sna
Ivan Posva 2012/03/07 07:22:51 The dart_no_snapshot target is not shipped as part
346 'VCLinkerTool': {
347 'AdditionalOptions': [ '/EXPORT:Dart_True' ],
348 },
349 },
350 }],
351 ],
346 }, 352 },
347 { 353 {
348 # dart binary without any snapshot built in. 354 # dart binary without any snapshot built in.
349 'target_name': 'dart_no_snapshot', 355 'target_name': 'dart_no_snapshot',
350 'type': 'executable', 356 'type': 'executable',
351 'dependencies': [ 357 'dependencies': [
352 'libdart_withcore', 358 'libdart_withcore',
353 'libdart_builtin', 359 'libdart_builtin',
354 ], 360 ],
355 'include_dirs': [ 361 'include_dirs': [
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 ['include', 'run_vm_tests.cc'], 416 ['include', 'run_vm_tests.cc'],
411 ], 417 ],
412 'conditions': [ 418 'conditions': [
413 ['OS=="win"', { 419 ['OS=="win"', {
414 'link_settings': { 420 'link_settings': {
415 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 421 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
416 }, 422 },
417 }], 423 }],
418 ], 424 ],
419 }, 425 },
420 ], 426 {
421 'conditions': [ 427 'target_name': 'test_extension',
422 ['OS=="linux"', { 428 'type': 'shared_library',
423 'targets': [ 429 'dependencies': [
424 { 430 'dart',
425 'target_name': 'test_extension', 431 ],
426 'type': 'shared_library', 432 'include_dirs': [
427 'dependencies': [ 433 '..',
428 ], 434 ],
429 'include_dirs': [ 435 'sources': [
430 '.', 436 'test_extension.cc',
431 ], 437 'test_extension_dllmain_win.cc',
432 'sources': [ 438 ],
433 'test_extension_linux.cc', 439 'defines': [
434 ], 440 'DART_SHARED_LIB',
435 'defines': [ 441 ],
436 'DART_SHARED_LIB', 442 'msvs_settings': {
437 ], 443 'VCLinkerTool': {
444 'AdditionalDependencies': [ 'dart.lib' ],
445 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ],
438 }, 446 },
439 ], 447 },
440 }], 448 },
441 ], 449 ],
442 } 450 }
443 451
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/extensions_win.cc » ('j') | runtime/bin/extensions_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698