OLD | NEW |
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 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', |
15 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', | 15 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', |
16 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', | 16 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', |
17 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 17 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', |
18 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', | 18 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', |
19 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 19 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', |
20 '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', | 21 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
22 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', | 22 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', |
23 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', | |
24 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', | |
25 'typeddata_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.cc', | 23 'typeddata_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.cc', |
26 'typeddata_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_patch_gen.c
c', | 24 'typeddata_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_patch_gen.c
c', |
27 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', | 25 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', |
28 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', | 26 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', |
29 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 27 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', |
30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 28 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
31 'snapshot_test_dart_file': 'snapshot_test.dart', | 29 'snapshot_test_dart_file': 'snapshot_test.dart', |
32 }, | 30 }, |
33 'targets': [ | 31 'targets': [ |
34 { | 32 { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 'generate_collection_dev_cc_file', | 98 'generate_collection_dev_cc_file', |
101 'generate_crypto_cc_file', | 99 'generate_crypto_cc_file', |
102 'generate_math_cc_file', | 100 'generate_math_cc_file', |
103 'generate_math_patch_cc_file', | 101 'generate_math_patch_cc_file', |
104 'generate_isolate_cc_file', | 102 'generate_isolate_cc_file', |
105 'generate_isolate_patch_cc_file', | 103 'generate_isolate_patch_cc_file', |
106 'generate_json_cc_file', | 104 'generate_json_cc_file', |
107 'generate_json_patch_cc_file', | 105 'generate_json_patch_cc_file', |
108 'generate_mirrors_cc_file', | 106 'generate_mirrors_cc_file', |
109 'generate_mirrors_patch_cc_file', | 107 'generate_mirrors_patch_cc_file', |
110 'generate_scalarlist_cc_file', | |
111 'generate_scalarlist_patch_cc_file', | |
112 'generate_typeddata_cc_file', | 108 'generate_typeddata_cc_file', |
113 'generate_typeddata_patch_cc_file', | 109 'generate_typeddata_patch_cc_file', |
114 'generate_uri_cc_file', | 110 'generate_uri_cc_file', |
115 'generate_utf_cc_file', | 111 'generate_utf_cc_file', |
116 ], | 112 ], |
117 'includes': [ | 113 'includes': [ |
118 '../lib/async_sources.gypi', | 114 '../lib/async_sources.gypi', |
119 '../lib/lib_sources.gypi', | 115 '../lib/lib_sources.gypi', |
120 '../lib/isolate_sources.gypi', | 116 '../lib/isolate_sources.gypi', |
121 '../lib/math_sources.gypi', | 117 '../lib/math_sources.gypi', |
122 '../lib/mirrors_sources.gypi', | 118 '../lib/mirrors_sources.gypi', |
123 '../lib/scalarlist_sources.gypi', | |
124 '../lib/typeddata_sources.gypi', | 119 '../lib/typeddata_sources.gypi', |
125 ], | 120 ], |
126 'sources': [ | 121 'sources': [ |
127 'bootstrap.cc', | 122 'bootstrap.cc', |
128 # Include generated source files. | 123 # Include generated source files. |
129 '<(async_cc_file)', | 124 '<(async_cc_file)', |
130 '<(async_patch_cc_file)', | 125 '<(async_patch_cc_file)', |
131 '<(corelib_cc_file)', | 126 '<(corelib_cc_file)', |
132 '<(corelib_patch_cc_file)', | 127 '<(corelib_patch_cc_file)', |
133 '<(collection_cc_file)', | 128 '<(collection_cc_file)', |
134 '<(collection_dev_cc_file)', | 129 '<(collection_dev_cc_file)', |
135 '<(crypto_cc_file)', | 130 '<(crypto_cc_file)', |
136 '<(math_cc_file)', | 131 '<(math_cc_file)', |
137 '<(math_patch_cc_file)', | 132 '<(math_patch_cc_file)', |
138 '<(isolate_cc_file)', | 133 '<(isolate_cc_file)', |
139 '<(isolate_patch_cc_file)', | 134 '<(isolate_patch_cc_file)', |
140 '<(json_cc_file)', | 135 '<(json_cc_file)', |
141 '<(json_patch_cc_file)', | 136 '<(json_patch_cc_file)', |
142 '<(mirrors_cc_file)', | 137 '<(mirrors_cc_file)', |
143 '<(mirrors_patch_cc_file)', | 138 '<(mirrors_patch_cc_file)', |
144 '<(scalarlist_cc_file)', | |
145 '<(scalarlist_patch_cc_file)', | |
146 '<(typeddata_cc_file)', | 139 '<(typeddata_cc_file)', |
147 '<(typeddata_patch_cc_file)', | 140 '<(typeddata_patch_cc_file)', |
148 '<(uri_cc_file)', | 141 '<(uri_cc_file)', |
149 '<(utf_cc_file)', | 142 '<(utf_cc_file)', |
150 ], | 143 ], |
151 'include_dirs': [ | 144 'include_dirs': [ |
152 '..', | 145 '..', |
153 ], | 146 ], |
154 }, | 147 }, |
155 { | 148 { |
156 'target_name': 'libdart_lib', | 149 'target_name': 'libdart_lib', |
157 'type': 'static_library', | 150 'type': 'static_library', |
158 'includes': [ | 151 'includes': [ |
159 '../lib/async_sources.gypi', | 152 '../lib/async_sources.gypi', |
160 '../lib/lib_sources.gypi', | 153 '../lib/lib_sources.gypi', |
161 '../lib/isolate_sources.gypi', | 154 '../lib/isolate_sources.gypi', |
162 '../lib/math_sources.gypi', | 155 '../lib/math_sources.gypi', |
163 '../lib/mirrors_sources.gypi', | 156 '../lib/mirrors_sources.gypi', |
164 '../lib/scalarlist_sources.gypi', | |
165 '../lib/typeddata_sources.gypi', | 157 '../lib/typeddata_sources.gypi', |
166 ], | 158 ], |
167 'sources': [ | 159 'sources': [ |
168 'bootstrap_nocorelib.cc', | 160 'bootstrap_nocorelib.cc', |
169 ], | 161 ], |
170 'include_dirs': [ | 162 'include_dirs': [ |
171 '..', | 163 '..', |
172 ], | 164 ], |
173 }, | 165 }, |
174 { | 166 { |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 '--input_cc', '<(builtin_in_cc_file)', | 882 '--input_cc', '<(builtin_in_cc_file)', |
891 '--include', 'vm/bootstrap.h', | 883 '--include', 'vm/bootstrap.h', |
892 '--var_name', 'dart::Bootstrap::json_patch_', | 884 '--var_name', 'dart::Bootstrap::json_patch_', |
893 '<@(_sources)', | 885 '<@(_sources)', |
894 ], | 886 ], |
895 'message': 'Generating ''<(json_patch_cc_file)'' file.' | 887 'message': 'Generating ''<(json_patch_cc_file)'' file.' |
896 }, | 888 }, |
897 ] | 889 ] |
898 }, | 890 }, |
899 { | 891 { |
900 'target_name': 'generate_scalarlist_cc_file', | |
901 'type': 'none', | |
902 'variables': { | |
903 'scalarlist_dart': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.dart', | |
904 }, | |
905 'includes': [ | |
906 # Load the shared library sources. | |
907 '../../sdk/lib/scalarlist/scalarlist_sources.gypi', | |
908 ], | |
909 'sources/': [ | |
910 # Exclude all .[cc|h] files. | |
911 # This is only here for reference. Excludes happen after | |
912 # variable expansion, so the script has to do its own | |
913 # exclude processing of the sources being passed. | |
914 ['exclude', '\\.cc|h$'], | |
915 ], | |
916 'actions': [ | |
917 { | |
918 'action_name': 'generate_scalarlist_dart', | |
919 'inputs': [ | |
920 '../tools/concat_library.py', | |
921 '<@(_sources)', | |
922 ], | |
923 'outputs': [ | |
924 '<(scalarlist_dart)', | |
925 ], | |
926 'action': [ | |
927 'python', | |
928 '<@(_inputs)', | |
929 '--output', '<(scalarlist_dart)', | |
930 ], | |
931 'message': 'Generating ''<(scalarlist_dart)'' file.', | |
932 }, | |
933 { | |
934 'action_name': 'generate_scalarlist_cc', | |
935 'inputs': [ | |
936 '../tools/create_string_literal.py', | |
937 '<(builtin_in_cc_file)', | |
938 '<(scalarlist_dart)', | |
939 ], | |
940 'outputs': [ | |
941 '<(scalarlist_cc_file)', | |
942 ], | |
943 'action': [ | |
944 'python', | |
945 'tools/create_string_literal.py', | |
946 '--output', '<(scalarlist_cc_file)', | |
947 '--input_cc', '<(builtin_in_cc_file)', | |
948 '--include', 'vm/bootstrap.h', | |
949 '--var_name', 'dart::Bootstrap::scalarlist_source_', | |
950 '<(scalarlist_dart)', | |
951 ], | |
952 'message': 'Generating ''<(scalarlist_cc_file)'' file.' | |
953 }, | |
954 ] | |
955 }, | |
956 { | |
957 'target_name': 'generate_scalarlist_patch_cc_file', | |
958 'type': 'none', | |
959 'includes': [ | |
960 # Load the runtime implementation sources. | |
961 '../lib/scalarlist_sources.gypi', | |
962 ], | |
963 'sources/': [ | |
964 # Exclude all .[cc|h] files. | |
965 # This is only here for reference. Excludes happen after | |
966 # variable expansion, so the script has to do its own | |
967 # exclude processing of the sources being passed. | |
968 ['exclude', '\\.cc|h$'], | |
969 ], | |
970 'actions': [ | |
971 { | |
972 'action_name': 'generate_scalarlist_patch_cc', | |
973 'inputs': [ | |
974 '../tools/create_string_literal.py', | |
975 '<(builtin_in_cc_file)', | |
976 '<@(_sources)', | |
977 ], | |
978 'outputs': [ | |
979 '<(scalarlist_patch_cc_file)', | |
980 ], | |
981 'action': [ | |
982 'python', | |
983 'tools/create_string_literal.py', | |
984 '--output', '<(scalarlist_patch_cc_file)', | |
985 '--input_cc', '<(builtin_in_cc_file)', | |
986 '--include', 'vm/bootstrap.h', | |
987 '--var_name', 'dart::Bootstrap::scalarlist_patch_', | |
988 '<@(_sources)', | |
989 ], | |
990 'message': 'Generating ''<(scalarlist_patch_cc_file)'' file.' | |
991 }, | |
992 ] | |
993 }, | |
994 { | |
995 'target_name': 'generate_typeddata_cc_file', | 892 'target_name': 'generate_typeddata_cc_file', |
996 'type': 'none', | 893 'type': 'none', |
997 'variables': { | 894 'variables': { |
998 'typeddata_dart': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.dart', | 895 'typeddata_dart': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.dart', |
999 }, | 896 }, |
1000 'includes': [ | 897 'includes': [ |
1001 # Load the shared library sources. | 898 # Load the shared library sources. |
1002 '../../sdk/lib/typeddata/typeddata_sources.gypi', | 899 '../../sdk/lib/typeddata/typeddata_sources.gypi', |
1003 ], | 900 ], |
1004 'sources/': [ | 901 'sources/': [ |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 '--include', 'INTENTIONALLY_LEFT_BLANK', | 1105 '--include', 'INTENTIONALLY_LEFT_BLANK', |
1209 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 1106 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
1210 '<(snapshot_test_dart_file)', | 1107 '<(snapshot_test_dart_file)', |
1211 ], | 1108 ], |
1212 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 1109 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
1213 }, | 1110 }, |
1214 ] | 1111 ] |
1215 }, | 1112 }, |
1216 ] | 1113 ] |
1217 } | 1114 } |
OLD | NEW |