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

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

Issue 867113003: Revert r43217, r43215, r43208, r43207, and r43202. (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 ],
193 'dependencies': [
194 'generate_builtin_cc_file#host',
195 'generate_io_cc_file#host',
196 'generate_io_patch_cc_file#host',
197 'generate_snapshot_file#host',
198 'generate_resources_cc_file#host',
199 ],
200 'sources': [
201 'builtin_common.cc',
202 'builtin_natives.cc',
203 'builtin_nolib.cc',
204 'builtin.h',
205 'dartutils.cc',
206 'dartutils.h',
207 'io_natives.cc',
208 'io_natives.h',
209 'log_android.cc',
210 'log_linux.cc',
211 'log_macos.cc',
212 'log_win.cc',
213 'vmservice_dartium.h',
214 'vmservice_dartium.cc',
215 'vmservice_impl.cc',
216 'vmservice_impl.h',
217 '<(resources_cc_file)',
218 '<(snapshot_cc_file)',
219 ],
220 'sources/': [
221 ['exclude', '_test\\.(cc|h)$'],
222 ],
223 'conditions': [
224 ['dart_io_support==1 and dart_io_secure_socket==1', {
225 'dependencies': [
226 'bin/net/ssl.gyp:libssl_dart',
227 ],
228 }],
229 ['dart_io_secure_socket==0', {
230 'defines': [
231 'DART_IO_SECURE_SOCKET_DISABLED'
232 ],
233 }],
234 ['OS=="win"', {
235 'sources/' : [
236 ['exclude', 'fdutils.h'],
237 ],
238 # TODO(antonm): fix the implementation.
239 # Current implementation accepts char* strings
240 # and therefore fails to compile once _UNICODE is
241 # enabled. That should be addressed using -A
242 # versions of functions and adding necessary conversions.
243 'configurations': {
244 'Common_Base': {
245 'msvs_configuration_attributes': {
246 'CharacterSet': '0',
247 },
248 },
249 },
250 'link_settings': {
251 'libraries': [ '-liphlpapi.lib' ],
252 },
253 }],
254 ['OS=="mac"', {
255 'link_settings': {
256 'libraries': [
257 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
258 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework',
259 ],
260 },
261 }],
262 ['OS=="linux"', {
263 'link_settings': {
264 'libraries': [
265 '-ldl',
266 ],
267 },
268 }],
269 ['OS=="android"', {
270 'link_settings': {
271 'libraries': [
272 '-ldl',
273 ],
274 },
275 }],
276 ],
277 },
278 { 179 {
279 'target_name': 'libdart_io', 180 'target_name': 'libdart_io',
280 'type': 'static_library', 181 'type': 'static_library',
281 'toolsets': ['host', 'target'], 182 'toolsets': ['host', 'target'],
282 'include_dirs': [ 183 'include_dirs': [
283 '..', 184 '..',
284 ], 185 ],
285 'includes': [ 186 'includes': [
286 'io_impl_sources.gypi', 187 'io_impl_sources.gypi',
287 ], 188 ],
288 'sources': [ 189 'sources': [
289 'io_natives.h', 190 'io_natives.h',
290 'io_natives.cc', 191 'io_natives.cc',
291 ], 192 ],
292 'conditions': [ 193 'conditions': [
293 ['dart_io_support==1 and dart_io_secure_socket==1', { 194 ['dart_io_support==1', {
294 'dependencies': [ 195 'dependencies': [
295 'bin/net/ssl.gyp:libssl_dart', 196 'bin/net/ssl.gyp:libssl_dart',
296 ], 197 ],
297 }], 198 }],
298 ['dart_io_support==1 and dart_io_secure_socket==0', {
299 'dependencies': [
300 'bin/net/zlib.gyp:zlib_dart',
301 ],
302 }],
303 ['dart_io_secure_socket==0', {
304 'defines': [
305 'DART_IO_SECURE_SOCKET_DISABLED'
306 ],
307 }],
308 ['OS=="win"', { 199 ['OS=="win"', {
309 'link_settings': { 200 'link_settings': {
310 'libraries': [ '-liphlpapi.lib' ], 201 'libraries': [ '-liphlpapi.lib' ],
311 }, 202 },
312 # TODO(antonm): fix the implementation. 203 # TODO(antonm): fix the implementation.
313 # Current implementation accepts char* strings 204 # Current implementation accepts char* strings
314 # and therefore fails to compile once _UNICODE is 205 # and therefore fails to compile once _UNICODE is
315 # enabled. That should be addressed using -A 206 # enabled. That should be addressed using -A
316 # versions of functions and adding necessary conversions. 207 # versions of functions and adding necessary conversions.
317 'configurations': { 208 'configurations': {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 'libdart_withcore', 274 'libdart_withcore',
384 'libdart_builtin', 275 'libdart_builtin',
385 ], 276 ],
386 'include_dirs': [ 277 'include_dirs': [
387 '..', 278 '..',
388 ], 279 ],
389 'sources': [ 280 'sources': [
390 'gen_snapshot.cc', 281 'gen_snapshot.cc',
391 # Very limited native resolver provided. 282 # Very limited native resolver provided.
392 'builtin_gen_snapshot.cc', 283 'builtin_gen_snapshot.cc',
393 'builtin_common.cc',
394 'builtin.cc', 284 'builtin.cc',
395 'builtin.h', 285 'builtin.h',
396 'platform_android.cc',
397 'platform_linux.cc',
398 'platform_macos.cc',
399 'platform_win.cc',
400 'platform.h',
401 # Include generated source files. 286 # Include generated source files.
402 '<(builtin_cc_file)', 287 '<(builtin_cc_file)',
403 '<(io_cc_file)', 288 '<(io_cc_file)',
404 '<(io_patch_cc_file)', 289 '<(io_patch_cc_file)',
405 ], 290 ],
406 'defines': [
407 'PLATFORM_DISABLE_SOCKET'
408 ],
409 'conditions': [ 291 'conditions': [
410 ['OS=="win"', { 292 ['OS=="win"', {
411 'link_settings': { 293 'link_settings': {
412 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 294 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
413 }, 295 },
414 }], 296 }],
415 ], 297 ],
416 }, 298 },
417 { 299 {
418 # Generate snapshot bin file. 300 # Generate snapshot bin file.
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 'libdart_io', 436 'libdart_io',
555 'build_observatory#host', 437 'build_observatory#host',
556 'generate_snapshot_file#host', 438 'generate_snapshot_file#host',
557 'generate_resources_cc_file#host', 439 'generate_resources_cc_file#host',
558 ], 440 ],
559 'include_dirs': [ 441 'include_dirs': [
560 '..', 442 '..',
561 ], 443 ],
562 'sources': [ 444 'sources': [
563 'main.cc', 445 'main.cc',
564 'builtin_common.cc',
565 'builtin_natives.cc', 446 'builtin_natives.cc',
566 'builtin_nolib.cc', 447 'builtin_nolib.cc',
567 'builtin.h', 448 'builtin.h',
568 'io_natives.h', 449 'io_natives.h',
569 'vmservice.h', 450 'vmservice.h',
570 'vmservice_impl.cc', 451 'vmservice_impl.cc',
571 'vmservice_impl.h', 452 'vmservice_impl.h',
572 '<(snapshot_cc_file)', 453 '<(snapshot_cc_file)',
573 '<(resources_cc_file)', 454 '<(resources_cc_file)',
574 ], 455 ],
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 'libdart_withcore', 487 'libdart_withcore',
607 'libdart_builtin', 488 'libdart_builtin',
608 'libdart_io', 489 'libdart_io',
609 'generate_bootstrap_resources_cc_file#host', 490 'generate_bootstrap_resources_cc_file#host',
610 ], 491 ],
611 'include_dirs': [ 492 'include_dirs': [
612 '..', 493 '..',
613 ], 494 ],
614 'sources': [ 495 'sources': [
615 'main.cc', 496 'main.cc',
616 'builtin_common.cc', 497 'builtin.cc',
617 'builtin_natives.cc', 498 'builtin_natives.cc',
618 'builtin.cc',
619 'builtin.h', 499 'builtin.h',
620 'io_natives.h', 500 'io_natives.h',
621 'vmservice.h', 501 'vmservice.h',
622 'vmservice_impl.cc', 502 'vmservice_impl.cc',
623 'vmservice_impl.h', 503 'vmservice_impl.h',
624 # Include generated source files. 504 # Include generated source files.
625 '<(builtin_cc_file)', 505 '<(builtin_cc_file)',
626 '<(io_cc_file)', 506 '<(io_cc_file)',
627 '<(io_patch_cc_file)', 507 '<(io_patch_cc_file)',
628 '<(bootstrap_resources_cc_file)', 508 '<(bootstrap_resources_cc_file)',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 'libdart_withcore', 540 'libdart_withcore',
661 'libdart_builtin', 541 'libdart_builtin',
662 'libdart_io', 542 'libdart_io',
663 'generate_resources_cc_file#host', 543 'generate_resources_cc_file#host',
664 ], 544 ],
665 'include_dirs': [ 545 'include_dirs': [
666 '..', 546 '..',
667 ], 547 ],
668 'sources': [ 548 'sources': [
669 'main.cc', 549 'main.cc',
670 'builtin_common.cc', 550 'builtin.cc',
671 'builtin_natives.cc', 551 'builtin_natives.cc',
672 'builtin.cc',
673 'builtin.h', 552 'builtin.h',
674 'io_natives.h', 553 'io_natives.h',
675 'vmservice.h', 554 'vmservice.h',
676 'vmservice_impl.cc', 555 'vmservice_impl.cc',
677 'vmservice_impl.h', 556 'vmservice_impl.h',
678 # Include generated source files. 557 # Include generated source files.
679 '<(builtin_cc_file)', 558 '<(builtin_cc_file)',
680 '<(io_cc_file)', 559 '<(io_cc_file)',
681 '<(io_patch_cc_file)', 560 '<(io_patch_cc_file)',
682 '<(resources_cc_file)', 561 '<(resources_cc_file)',
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 'libdart_io', 601 'libdart_io',
723 'generate_snapshot_file#host', 602 'generate_snapshot_file#host',
724 'generate_snapshot_test_dat_file#host', 603 'generate_snapshot_test_dat_file#host',
725 ], 604 ],
726 'include_dirs': [ 605 'include_dirs': [
727 '..', 606 '..',
728 '<(gen_source_dir)', 607 '<(gen_source_dir)',
729 ], 608 ],
730 'sources': [ 609 'sources': [
731 'run_vm_tests.cc', 610 'run_vm_tests.cc',
732 'builtin_common.cc',
733 'builtin_natives.cc', 611 'builtin_natives.cc',
734 'builtin_nolib.cc', 612 'builtin_nolib.cc',
735 'builtin.h', 613 'builtin.h',
736 'io_natives.h', 614 'io_natives.h',
737 # Include generated source files. 615 # Include generated source files.
738 '<(snapshot_cc_file)', 616 '<(snapshot_cc_file)',
739 '<(builtin_cc_file)', 617 '<(builtin_cc_file)',
740 '<(io_cc_file)', 618 '<(io_cc_file)',
741 '<(io_patch_cc_file)', 619 '<(io_patch_cc_file)',
742 ], 620 ],
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 }], 683 }],
806 ['OS=="linux"', { 684 ['OS=="linux"', {
807 'cflags': [ 685 'cflags': [
808 '-fPIC', 686 '-fPIC',
809 ], 687 ],
810 }], 688 }],
811 ], 689 ],
812 }, 690 },
813 ], 691 ],
814 } 692 }
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