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

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

Issue 584023004: Service isolate rework (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/builtin.h » ('j') | no next file with comments »
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 '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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 }], 169 }],
170 ['OS=="android"', { 170 ['OS=="android"', {
171 'link_settings': { 171 'link_settings': {
172 'libraries': [ 172 'libraries': [
173 '-ldl', 173 '-ldl',
174 ], 174 ],
175 }, 175 },
176 }], 176 }],
177 ], 177 ],
178 }, 178 },
179 # This is a combination of libdart_io, libdart_builtin, and vmservice bits.
180 # The dart_io is built without support for secure sockets.
181 {
182 'target_name': 'libvmservice_io',
183 'type': 'static_library',
184 'toolsets': ['host', 'target'],
185 'include_dirs': [
186 '..',
187 '../include',
188 ],
189 'includes': [
190 'io_impl_sources.gypi',
191 'builtin_impl_sources.gypi',
192 '../platform/platform_sources.gypi',
193 ],
194 'dependencies': [
195 'generate_builtin_cc_file#host',
196 'generate_io_cc_file#host',
197 'generate_io_patch_cc_file#host',
198 'generate_snapshot_file#host',
199 'generate_resources_cc_file#host',
200 ],
201 'sources': [
202 'builtin_common.cc',
203 'builtin_natives.cc',
204 'builtin_nolib.cc',
205 'builtin.h',
206 'dartutils.cc',
207 'dartutils.h',
208 'io_natives.cc',
209 'io_natives.h',
210 'log_android.cc',
211 'log_linux.cc',
212 'log_macos.cc',
213 'log_win.cc',
214 'vmservice_dartium.h',
215 'vmservice_dartium.cc',
216 'vmservice_impl.cc',
217 'vmservice_impl.h',
218 '<(resources_cc_file)',
219 '<(snapshot_cc_file)',
220 ],
221 'sources/': [
222 ['exclude', '_test\\.(cc|h)$'],
223 ],
224 'conditions': [
225 ['dart_io_secure_socket==0', {
226 'defines': [
227 'DART_IO_SECURE_SOCKET_DISABLED'
228 ],
229 }],
230 ['OS=="win"', {
231 'sources/' : [
232 ['exclude', 'fdutils.h'],
233 ],
234 # TODO(antonm): fix the implementation.
235 # Current implementation accepts char* strings
236 # and therefore fails to compile once _UNICODE is
237 # enabled. That should be addressed using -A
238 # versions of functions and adding necessary conversions.
239 'configurations': {
240 'Common_Base': {
241 'msvs_configuration_attributes': {
242 'CharacterSet': '0',
243 },
244 },
245 },
246 'link_settings': {
247 'libraries': [ '-liphlpapi.lib' ],
248 },
249 }],
250 ['OS=="mac"', {
251 'link_settings': {
252 'libraries': [
253 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
254 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework',
255 ],
256 },
257 }],
258 ['OS=="linux"', {
259 'link_settings': {
260 'libraries': [
261 '-ldl',
262 ],
263 },
264 }],
265 ['OS=="android"', {
266 'link_settings': {
267 'libraries': [
268 '-ldl',
269 ],
270 },
271 }],
272 ],
273 },
179 { 274 {
180 'target_name': 'libdart_io', 275 'target_name': 'libdart_io',
181 'type': 'static_library', 276 'type': 'static_library',
182 'toolsets': ['host', 'target'], 277 'toolsets': ['host', 'target'],
183 'include_dirs': [ 278 'include_dirs': [
184 '..', 279 '..',
185 ], 280 ],
186 'includes': [ 281 'includes': [
187 'io_impl_sources.gypi', 282 'io_impl_sources.gypi',
188 ], 283 ],
189 'sources': [ 284 'sources': [
190 'io_natives.h', 285 'io_natives.h',
191 'io_natives.cc', 286 'io_natives.cc',
192 ], 287 ],
193 'conditions': [ 288 'conditions': [
194 ['dart_io_support==1', { 289 ['dart_io_support==1 and dart_io_secure_socket==1', {
195 'dependencies': [ 290 'dependencies': [
196 'bin/net/ssl.gyp:libssl_dart', 291 'bin/net/ssl.gyp:libssl_dart',
197 ], 292 ],
198 }], 293 }],
294 ['dart_io_support==1 and dart_io_secure_socket==0', {
295 'dependencies': [
296 'bin/net/zlib.gyp:zlib_dart',
297 ],
298 }],
299 ['dart_io_secure_socket==0', {
300 'defines': [
301 'DART_IO_SECURE_SOCKET_DISABLED'
302 ],
303 }],
199 ['OS=="win"', { 304 ['OS=="win"', {
200 'link_settings': { 305 'link_settings': {
201 'libraries': [ '-liphlpapi.lib' ], 306 'libraries': [ '-liphlpapi.lib' ],
202 }, 307 },
203 # TODO(antonm): fix the implementation. 308 # TODO(antonm): fix the implementation.
204 # Current implementation accepts char* strings 309 # Current implementation accepts char* strings
205 # and therefore fails to compile once _UNICODE is 310 # and therefore fails to compile once _UNICODE is
206 # enabled. That should be addressed using -A 311 # enabled. That should be addressed using -A
207 # versions of functions and adding necessary conversions. 312 # versions of functions and adding necessary conversions.
208 'configurations': { 313 'configurations': {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 'libdart_withcore', 379 'libdart_withcore',
275 'libdart_builtin', 380 'libdart_builtin',
276 ], 381 ],
277 'include_dirs': [ 382 'include_dirs': [
278 '..', 383 '..',
279 ], 384 ],
280 'sources': [ 385 'sources': [
281 'gen_snapshot.cc', 386 'gen_snapshot.cc',
282 # Very limited native resolver provided. 387 # Very limited native resolver provided.
283 'builtin_gen_snapshot.cc', 388 'builtin_gen_snapshot.cc',
389 'builtin_common.cc',
284 'builtin.cc', 390 'builtin.cc',
285 'builtin.h', 391 'builtin.h',
392 'platform_android.cc',
393 'platform_linux.cc',
394 'platform_macos.cc',
395 'platform_win.cc',
396 'platform.h',
286 # Include generated source files. 397 # Include generated source files.
287 '<(builtin_cc_file)', 398 '<(builtin_cc_file)',
288 '<(io_cc_file)', 399 '<(io_cc_file)',
289 '<(io_patch_cc_file)', 400 '<(io_patch_cc_file)',
290 ], 401 ],
291 'conditions': [ 402 'conditions': [
292 ['OS=="win"', { 403 ['OS=="win"', {
293 'link_settings': { 404 'link_settings': {
294 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 405 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
295 }, 406 },
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 'libdart_io', 547 'libdart_io',
437 'build_observatory#host', 548 'build_observatory#host',
438 'generate_snapshot_file#host', 549 'generate_snapshot_file#host',
439 'generate_resources_cc_file#host', 550 'generate_resources_cc_file#host',
440 ], 551 ],
441 'include_dirs': [ 552 'include_dirs': [
442 '..', 553 '..',
443 ], 554 ],
444 'sources': [ 555 'sources': [
445 'main.cc', 556 'main.cc',
557 'builtin_common.cc',
446 'builtin_natives.cc', 558 'builtin_natives.cc',
447 'builtin_nolib.cc', 559 'builtin_nolib.cc',
448 'builtin.h', 560 'builtin.h',
449 'io_natives.h', 561 'io_natives.h',
450 'vmservice.h', 562 'vmservice.h',
451 'vmservice_impl.cc', 563 'vmservice_impl.cc',
452 'vmservice_impl.h', 564 'vmservice_impl.h',
453 '<(snapshot_cc_file)', 565 '<(snapshot_cc_file)',
454 '<(resources_cc_file)', 566 '<(resources_cc_file)',
455 ], 567 ],
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 'libdart_withcore', 599 'libdart_withcore',
488 'libdart_builtin', 600 'libdart_builtin',
489 'libdart_io', 601 'libdart_io',
490 'generate_bootstrap_resources_cc_file#host', 602 'generate_bootstrap_resources_cc_file#host',
491 ], 603 ],
492 'include_dirs': [ 604 'include_dirs': [
493 '..', 605 '..',
494 ], 606 ],
495 'sources': [ 607 'sources': [
496 'main.cc', 608 'main.cc',
609 'builtin_common.cc',
610 'builtin_natives.cc',
497 'builtin.cc', 611 'builtin.cc',
498 'builtin_natives.cc',
499 'builtin.h', 612 'builtin.h',
500 'io_natives.h', 613 'io_natives.h',
501 'vmservice.h', 614 'vmservice.h',
502 'vmservice_impl.cc', 615 'vmservice_impl.cc',
503 'vmservice_impl.h', 616 'vmservice_impl.h',
504 # Include generated source files. 617 # Include generated source files.
505 '<(builtin_cc_file)', 618 '<(builtin_cc_file)',
506 '<(io_cc_file)', 619 '<(io_cc_file)',
507 '<(io_patch_cc_file)', 620 '<(io_patch_cc_file)',
508 '<(bootstrap_resources_cc_file)', 621 '<(bootstrap_resources_cc_file)',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 'libdart_withcore', 653 'libdart_withcore',
541 'libdart_builtin', 654 'libdart_builtin',
542 'libdart_io', 655 'libdart_io',
543 'generate_resources_cc_file#host', 656 'generate_resources_cc_file#host',
544 ], 657 ],
545 'include_dirs': [ 658 'include_dirs': [
546 '..', 659 '..',
547 ], 660 ],
548 'sources': [ 661 'sources': [
549 'main.cc', 662 'main.cc',
663 'builtin_common.cc',
664 'builtin_natives.cc',
550 'builtin.cc', 665 'builtin.cc',
551 'builtin_natives.cc',
552 'builtin.h', 666 'builtin.h',
553 'io_natives.h', 667 'io_natives.h',
554 'vmservice.h', 668 'vmservice.h',
555 'vmservice_impl.cc', 669 'vmservice_impl.cc',
556 'vmservice_impl.h', 670 'vmservice_impl.h',
557 # Include generated source files. 671 # Include generated source files.
558 '<(builtin_cc_file)', 672 '<(builtin_cc_file)',
559 '<(io_cc_file)', 673 '<(io_cc_file)',
560 '<(io_patch_cc_file)', 674 '<(io_patch_cc_file)',
561 '<(resources_cc_file)', 675 '<(resources_cc_file)',
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 'libdart_io', 715 'libdart_io',
602 'generate_snapshot_file#host', 716 'generate_snapshot_file#host',
603 'generate_snapshot_test_dat_file#host', 717 'generate_snapshot_test_dat_file#host',
604 ], 718 ],
605 'include_dirs': [ 719 'include_dirs': [
606 '..', 720 '..',
607 '<(gen_source_dir)', 721 '<(gen_source_dir)',
608 ], 722 ],
609 'sources': [ 723 'sources': [
610 'run_vm_tests.cc', 724 'run_vm_tests.cc',
725 'builtin_common.cc',
611 'builtin_natives.cc', 726 'builtin_natives.cc',
612 'builtin_nolib.cc', 727 'builtin_nolib.cc',
613 'builtin.h', 728 'builtin.h',
614 'io_natives.h', 729 'io_natives.h',
615 # Include generated source files. 730 # Include generated source files.
616 '<(snapshot_cc_file)', 731 '<(snapshot_cc_file)',
617 '<(builtin_cc_file)', 732 '<(builtin_cc_file)',
618 '<(io_cc_file)', 733 '<(io_cc_file)',
619 '<(io_patch_cc_file)', 734 '<(io_patch_cc_file)',
620 ], 735 ],
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 }], 798 }],
684 ['OS=="linux"', { 799 ['OS=="linux"', {
685 'cflags': [ 800 'cflags': [
686 '-fPIC', 801 '-fPIC',
687 ], 802 ],
688 }], 803 }],
689 ], 804 ],
690 }, 805 },
691 ], 806 ],
692 } 807 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/builtin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698