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

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

Issue 12318031: Move json, uri, utf and crypto libraries into the VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
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 'builtin_in_cc_file': '../bin/builtin_in.cc', 7 'builtin_in_cc_file': '../bin/builtin_in.cc',
8 'async_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_gen.cc', 8 'async_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_gen.cc',
9 'async_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_patch_gen.cc', 9 'async_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_patch_gen.cc',
10 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', 10 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc',
11 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', 11 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc',
12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', 12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc',
13 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc' , 13 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc' ,
14 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc',
14 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', 15 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc',
15 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', 16 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc',
16 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', 17 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc',
17 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', 18 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc',
18 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', 19 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc',
19 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', 20 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc',
21 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
20 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', 22 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc',
21 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen .cc', 23 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen .cc',
24 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
25 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc',
22 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', 26 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat',
23 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', 27 'snapshot_test_in_dat_file': 'snapshot_test_in.dat',
24 'snapshot_test_dart_file': 'snapshot_test.dart', 28 'snapshot_test_dart_file': 'snapshot_test.dart',
25 }, 29 },
26 'targets': [ 30 'targets': [
27 { 31 {
28 'target_name': 'libdart_vm', 32 'target_name': 'libdart_vm',
29 'type': 'static_library', 33 'type': 'static_library',
30 'includes': [ 34 'includes': [
31 'vm_sources.gypi', 35 'vm_sources.gypi',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 { 88 {
85 'target_name': 'libdart_lib_withcore', 89 'target_name': 'libdart_lib_withcore',
86 'type': 'static_library', 90 'type': 'static_library',
87 'dependencies': [ 91 'dependencies': [
88 'generate_async_cc_file', 92 'generate_async_cc_file',
89 'generate_async_patch_cc_file', 93 'generate_async_patch_cc_file',
90 'generate_corelib_cc_file', 94 'generate_corelib_cc_file',
91 'generate_corelib_patch_cc_file', 95 'generate_corelib_patch_cc_file',
92 'generate_collection_cc_file', 96 'generate_collection_cc_file',
93 'generate_collection_dev_cc_file', 97 'generate_collection_dev_cc_file',
98 'generate_crypto_cc_file',
94 'generate_math_cc_file', 99 'generate_math_cc_file',
95 'generate_math_patch_cc_file', 100 'generate_math_patch_cc_file',
96 'generate_isolate_cc_file', 101 'generate_isolate_cc_file',
97 'generate_isolate_patch_cc_file', 102 'generate_isolate_patch_cc_file',
103 'generate_json_cc_file',
98 'generate_mirrors_cc_file', 104 'generate_mirrors_cc_file',
99 'generate_mirrors_patch_cc_file', 105 'generate_mirrors_patch_cc_file',
100 'generate_scalarlist_cc_file', 106 'generate_scalarlist_cc_file',
101 'generate_scalarlist_patch_cc_file', 107 'generate_scalarlist_patch_cc_file',
108 'generate_uri_cc_file',
109 'generate_utf_cc_file',
102 ], 110 ],
103 'includes': [ 111 'includes': [
104 '../lib/async_sources.gypi', 112 '../lib/async_sources.gypi',
105 '../lib/lib_sources.gypi', 113 '../lib/lib_sources.gypi',
106 '../lib/isolate_sources.gypi', 114 '../lib/isolate_sources.gypi',
107 '../lib/math_sources.gypi', 115 '../lib/math_sources.gypi',
108 '../lib/mirrors_sources.gypi', 116 '../lib/mirrors_sources.gypi',
109 '../lib/scalarlist_sources.gypi', 117 '../lib/scalarlist_sources.gypi',
110 ], 118 ],
111 'sources': [ 119 'sources': [
112 'bootstrap.cc', 120 'bootstrap.cc',
113 # Include generated source files. 121 # Include generated source files.
114 '<(async_cc_file)', 122 '<(async_cc_file)',
115 '<(async_patch_cc_file)', 123 '<(async_patch_cc_file)',
116 '<(corelib_cc_file)', 124 '<(corelib_cc_file)',
117 '<(corelib_patch_cc_file)', 125 '<(corelib_patch_cc_file)',
118 '<(collection_cc_file)', 126 '<(collection_cc_file)',
119 '<(collection_dev_cc_file)', 127 '<(collection_dev_cc_file)',
128 '<(crypto_cc_file)',
120 '<(math_cc_file)', 129 '<(math_cc_file)',
121 '<(math_patch_cc_file)', 130 '<(math_patch_cc_file)',
122 '<(isolate_cc_file)', 131 '<(isolate_cc_file)',
123 '<(isolate_patch_cc_file)', 132 '<(isolate_patch_cc_file)',
133 '<(json_cc_file)',
124 '<(mirrors_cc_file)', 134 '<(mirrors_cc_file)',
125 '<(mirrors_patch_cc_file)', 135 '<(mirrors_patch_cc_file)',
126 '<(scalarlist_cc_file)', 136 '<(scalarlist_cc_file)',
127 '<(scalarlist_patch_cc_file)', 137 '<(scalarlist_patch_cc_file)',
138 '<(uri_cc_file)',
139 '<(utf_cc_file)',
128 ], 140 ],
129 'include_dirs': [ 141 'include_dirs': [
130 '..', 142 '..',
131 ], 143 ],
132 }, 144 },
133 { 145 {
134 'target_name': 'libdart_lib', 146 'target_name': 'libdart_lib',
135 'type': 'static_library', 147 'type': 'static_library',
136 'includes': [ 148 'includes': [
137 '../lib/async_sources.gypi', 149 '../lib/async_sources.gypi',
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 '--input_cc', '<(builtin_in_cc_file)', 418 '--input_cc', '<(builtin_in_cc_file)',
407 '--include', 'vm/bootstrap.h', 419 '--include', 'vm/bootstrap.h',
408 '--var_name', 'dart::Bootstrap::collection_dev_source_', 420 '--var_name', 'dart::Bootstrap::collection_dev_source_',
409 '<(collection_dev_dart)', 421 '<(collection_dev_dart)',
410 ], 422 ],
411 'message': 'Generating ''<(collection_dev_cc_file)'' file.' 423 'message': 'Generating ''<(collection_dev_cc_file)'' file.'
412 }, 424 },
413 ] 425 ]
414 }, 426 },
415 { 427 {
428 'target_name': 'generate_crypto_cc_file',
429 'type': 'none',
430 'variables': {
431 'crypto_dart': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.dart',
432 },
433 'includes': [
434 # Load the shared crypto sources.
435 '../../sdk/lib/crypto/crypto_sources.gypi',
436 ],
437 'actions': [
438 {
439 'action_name': 'generate_crypto_dart',
440 'inputs': [
441 '../tools/concat_library.py',
442 '<@(_sources)',
443 ],
444 'outputs': [
445 '<(crypto_dart)',
446 ],
447 'action': [
448 'python',
449 '<@(_inputs)',
450 '--output', '<(crypto_dart)',
451 ],
452 'message': 'Generating ''<(crypto_dart)'' file.',
453 },
454 {
455 'action_name': 'generate_crypto_cc',
456 'inputs': [
457 '../tools/create_string_literal.py',
458 '<(builtin_in_cc_file)',
459 '<(crypto_dart)',
460 ],
461 'outputs': [
462 '<(crypto_cc_file)',
463 ],
464 'action': [
465 'python',
466 'tools/create_string_literal.py',
467 '--output', '<(crypto_cc_file)',
468 '--input_cc', '<(builtin_in_cc_file)',
469 '--include', 'vm/bootstrap.h',
470 '--var_name', 'dart::Bootstrap::crypto_source_',
471 '<(crypto_dart)',
472 ],
473 'message': 'Generating ''<(crypto_cc_file)'' file.'
474 },
475 ]
476 },
477 {
416 'target_name': 'generate_math_cc_file', 478 'target_name': 'generate_math_cc_file',
417 'type': 'none', 479 'type': 'none',
418 'variables': { 480 'variables': {
419 'math_dart': '<(SHARED_INTERMEDIATE_DIR)/math_gen.dart', 481 'math_dart': '<(SHARED_INTERMEDIATE_DIR)/math_gen.dart',
420 }, 482 },
421 'includes': [ 483 'includes': [
422 # Load the shared math library sources. 484 # Load the shared math library sources.
423 '../../sdk/lib/math/math_sources.gypi', 485 '../../sdk/lib/math/math_sources.gypi',
424 ], 486 ],
425 'sources/': [ 487 'sources/': [
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 '--input_cc', '<(builtin_in_cc_file)', 791 '--input_cc', '<(builtin_in_cc_file)',
730 '--include', 'vm/bootstrap.h', 792 '--include', 'vm/bootstrap.h',
731 '--var_name', 'dart::Bootstrap::isolate_patch_', 793 '--var_name', 'dart::Bootstrap::isolate_patch_',
732 '<@(_sources)', 794 '<@(_sources)',
733 ], 795 ],
734 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' 796 'message': 'Generating ''<(isolate_patch_cc_file)'' file.'
735 }, 797 },
736 ] 798 ]
737 }, 799 },
738 { 800 {
801 'target_name': 'generate_json_cc_file',
802 'type': 'none',
803 'variables': {
804 'json_dart': '<(SHARED_INTERMEDIATE_DIR)/json_gen.dart',
805 },
806 'includes': [
807 # Load the shared json sources.
808 '../../sdk/lib/json/json_sources.gypi',
809 ],
810 'actions': [
811 {
812 'action_name': 'generate_json_dart',
813 'inputs': [
814 '../tools/concat_library.py',
815 '<@(_sources)',
816 ],
817 'outputs': [
818 '<(json_dart)',
819 ],
820 'action': [
821 'python',
822 '<@(_inputs)',
823 '--output', '<(json_dart)',
824 ],
825 'message': 'Generating ''<(json_dart)'' file.',
826 },
827 {
828 'action_name': 'generate_json_cc',
829 'inputs': [
830 '../tools/create_string_literal.py',
831 '<(builtin_in_cc_file)',
832 '<(json_dart)',
833 ],
834 'outputs': [
835 '<(json_cc_file)',
836 ],
837 'action': [
838 'python',
839 'tools/create_string_literal.py',
840 '--output', '<(json_cc_file)',
841 '--input_cc', '<(builtin_in_cc_file)',
842 '--include', 'vm/bootstrap.h',
843 '--var_name', 'dart::Bootstrap::json_source_',
844 '<(json_dart)',
845 ],
846 'message': 'Generating ''<(json_cc_file)'' file.'
847 },
848 ]
849 },
850 {
739 'target_name': 'generate_scalarlist_cc_file', 851 'target_name': 'generate_scalarlist_cc_file',
740 'type': 'none', 852 'type': 'none',
741 'variables': { 853 'variables': {
742 'scalarlist_dart': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.dart', 854 'scalarlist_dart': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.dart',
743 }, 855 },
744 'includes': [ 856 'includes': [
745 # Load the shared library sources. 857 # Load the shared library sources.
746 '../../sdk/lib/scalarlist/scalarlist_sources.gypi', 858 '../../sdk/lib/scalarlist/scalarlist_sources.gypi',
747 ], 859 ],
748 'sources/': [ 860 'sources/': [
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 '--input_cc', '<(builtin_in_cc_file)', 936 '--input_cc', '<(builtin_in_cc_file)',
825 '--include', 'vm/bootstrap.h', 937 '--include', 'vm/bootstrap.h',
826 '--var_name', 'dart::Bootstrap::scalarlist_patch_', 938 '--var_name', 'dart::Bootstrap::scalarlist_patch_',
827 '<@(_sources)', 939 '<@(_sources)',
828 ], 940 ],
829 'message': 'Generating ''<(scalarlist_patch_cc_file)'' file.' 941 'message': 'Generating ''<(scalarlist_patch_cc_file)'' file.'
830 }, 942 },
831 ] 943 ]
832 }, 944 },
833 { 945 {
946 'target_name': 'generate_uri_cc_file',
947 'type': 'none',
948 'variables': {
949 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart',
950 },
951 'includes': [
952 # Load the shared uri sources.
953 '../../sdk/lib/uri/uri_sources.gypi',
954 ],
955 'actions': [
956 {
957 'action_name': 'generate_uri_dart',
958 'inputs': [
959 '../tools/concat_library.py',
960 '<@(_sources)',
961 ],
962 'outputs': [
963 '<(uri_dart)',
964 ],
965 'action': [
966 'python',
967 '<@(_inputs)',
968 '--output', '<(uri_dart)',
969 ],
970 'message': 'Generating ''<(uri_dart)'' file.'
971 },
972 {
973 'action_name': 'generate_uri_cc',
974 'inputs': [
975 '../tools/create_string_literal.py',
976 '<(builtin_in_cc_file)',
977 '<(uri_dart)',
978 ],
979 'outputs': [
980 '<(uri_cc_file)',
981 ],
982 'action': [
983 'python',
984 'tools/create_string_literal.py',
985 '--output', '<(uri_cc_file)',
986 '--input_cc', '<(builtin_in_cc_file)',
987 '--include', 'vm/bootstrap.h',
988 '--var_name', 'dart::Bootstrap::uri_source_',
989 '<(uri_dart)',
990 ],
991 'message': 'Generating ''<(uri_cc_file)'' file.'
992 },
993 ]
994 },
995 {
996 'target_name': 'generate_utf_cc_file',
997 'type': 'none',
998 'variables': {
999 'utf_dart': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.dart',
1000 },
1001 'includes': [
1002 # Load the shared utf sources.
1003 '../../sdk/lib/utf/utf_sources.gypi',
1004 ],
1005 'actions': [
1006 {
1007 'action_name': 'generate_utf_dart',
1008 'inputs': [
1009 '../tools/concat_library.py',
1010 '<@(_sources)',
1011 ],
1012 'outputs': [
1013 '<(utf_dart)',
1014 ],
1015 'action': [
1016 'python',
1017 '<@(_inputs)',
1018 '--output', '<(utf_dart)',
1019 ],
1020 'message': 'Generating ''<(utf_dart)'' file.',
1021 },
1022 {
1023 'action_name': 'generate_utf_cc',
1024 'inputs': [
1025 '../tools/create_string_literal.py',
1026 '<(builtin_in_cc_file)',
1027 '<(utf_dart)',
1028 ],
1029 'outputs': [
1030 '<(utf_cc_file)',
1031 ],
1032 'action': [
1033 'python',
1034 'tools/create_string_literal.py',
1035 '--output', '<(utf_cc_file)',
1036 '--input_cc', '<(builtin_in_cc_file)',
1037 '--include', 'vm/bootstrap.h',
1038 '--var_name', 'dart::Bootstrap::utf_source_',
1039 '<(utf_dart)',
1040 ],
1041 'message': 'Generating ''<(utf_cc_file)'' file.'
1042 },
1043 ]
1044 },
1045 {
834 'target_name': 'generate_snapshot_test_dat_file', 1046 'target_name': 'generate_snapshot_test_dat_file',
835 'type': 'none', 1047 'type': 'none',
836 'actions': [ 1048 'actions': [
837 { 1049 {
838 'action_name': 'generate_snapshot_test_dat', 1050 'action_name': 'generate_snapshot_test_dat',
839 'inputs': [ 1051 'inputs': [
840 '../tools/create_string_literal.py', 1052 '../tools/create_string_literal.py',
841 '<(snapshot_test_in_dat_file)', 1053 '<(snapshot_test_in_dat_file)',
842 '<(snapshot_test_dart_file)', 1054 '<(snapshot_test_dart_file)',
843 ], 1055 ],
844 'outputs': [ 1056 'outputs': [
845 '<(snapshot_test_dat_file)', 1057 '<(snapshot_test_dat_file)',
846 ], 1058 ],
847 'action': [ 1059 'action': [
848 'python', 1060 'python',
849 'tools/create_string_literal.py', 1061 'tools/create_string_literal.py',
850 '--output', '<(snapshot_test_dat_file)', 1062 '--output', '<(snapshot_test_dat_file)',
851 '--input_cc', '<(snapshot_test_in_dat_file)', 1063 '--input_cc', '<(snapshot_test_in_dat_file)',
852 '--include', 'INTENTIONALLY_LEFT_BLANK', 1064 '--include', 'INTENTIONALLY_LEFT_BLANK',
853 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', 1065 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO',
854 '<(snapshot_test_dart_file)', 1066 '<(snapshot_test_dart_file)',
855 ], 1067 ],
856 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' 1068 'message': 'Generating ''<(snapshot_test_dat_file)'' file.'
857 }, 1069 },
858 ] 1070 ]
859 }, 1071 },
860 ] 1072 ]
861 } 1073 }
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/unit_test.cc ('k') | sdk/lib/crypto/crypto.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698