| 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', | 23 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', |
| 24 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', | 24 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', |
| 25 'typeddata_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.cc', |
| 26 'typeddata_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_patch_gen.c
c', |
| 25 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', | 27 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', |
| 26 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', | 28 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', |
| 27 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 29 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', |
| 28 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| 29 'snapshot_test_dart_file': 'snapshot_test.dart', | 31 'snapshot_test_dart_file': 'snapshot_test.dart', |
| 30 }, | 32 }, |
| 31 'targets': [ | 33 'targets': [ |
| 32 { | 34 { |
| 33 'target_name': 'libdart_vm', | 35 'target_name': 'libdart_vm', |
| 34 'type': 'static_library', | 36 'type': 'static_library', |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 'generate_math_cc_file', | 102 'generate_math_cc_file', |
| 101 'generate_math_patch_cc_file', | 103 'generate_math_patch_cc_file', |
| 102 'generate_isolate_cc_file', | 104 'generate_isolate_cc_file', |
| 103 'generate_isolate_patch_cc_file', | 105 'generate_isolate_patch_cc_file', |
| 104 'generate_json_cc_file', | 106 'generate_json_cc_file', |
| 105 'generate_json_patch_cc_file', | 107 'generate_json_patch_cc_file', |
| 106 'generate_mirrors_cc_file', | 108 'generate_mirrors_cc_file', |
| 107 'generate_mirrors_patch_cc_file', | 109 'generate_mirrors_patch_cc_file', |
| 108 'generate_scalarlist_cc_file', | 110 'generate_scalarlist_cc_file', |
| 109 'generate_scalarlist_patch_cc_file', | 111 'generate_scalarlist_patch_cc_file', |
| 112 'generate_typeddata_cc_file', |
| 113 'generate_typeddata_patch_cc_file', |
| 110 'generate_uri_cc_file', | 114 'generate_uri_cc_file', |
| 111 'generate_utf_cc_file', | 115 'generate_utf_cc_file', |
| 112 ], | 116 ], |
| 113 'includes': [ | 117 'includes': [ |
| 114 '../lib/async_sources.gypi', | 118 '../lib/async_sources.gypi', |
| 115 '../lib/lib_sources.gypi', | 119 '../lib/lib_sources.gypi', |
| 116 '../lib/isolate_sources.gypi', | 120 '../lib/isolate_sources.gypi', |
| 117 '../lib/math_sources.gypi', | 121 '../lib/math_sources.gypi', |
| 118 '../lib/mirrors_sources.gypi', | 122 '../lib/mirrors_sources.gypi', |
| 119 '../lib/scalarlist_sources.gypi', | 123 '../lib/scalarlist_sources.gypi', |
| 124 '../lib/typeddata_sources.gypi', |
| 120 ], | 125 ], |
| 121 'sources': [ | 126 'sources': [ |
| 122 'bootstrap.cc', | 127 'bootstrap.cc', |
| 123 # Include generated source files. | 128 # Include generated source files. |
| 124 '<(async_cc_file)', | 129 '<(async_cc_file)', |
| 125 '<(async_patch_cc_file)', | 130 '<(async_patch_cc_file)', |
| 126 '<(corelib_cc_file)', | 131 '<(corelib_cc_file)', |
| 127 '<(corelib_patch_cc_file)', | 132 '<(corelib_patch_cc_file)', |
| 128 '<(collection_cc_file)', | 133 '<(collection_cc_file)', |
| 129 '<(collection_dev_cc_file)', | 134 '<(collection_dev_cc_file)', |
| 130 '<(crypto_cc_file)', | 135 '<(crypto_cc_file)', |
| 131 '<(math_cc_file)', | 136 '<(math_cc_file)', |
| 132 '<(math_patch_cc_file)', | 137 '<(math_patch_cc_file)', |
| 133 '<(isolate_cc_file)', | 138 '<(isolate_cc_file)', |
| 134 '<(isolate_patch_cc_file)', | 139 '<(isolate_patch_cc_file)', |
| 135 '<(json_cc_file)', | 140 '<(json_cc_file)', |
| 136 '<(json_patch_cc_file)', | 141 '<(json_patch_cc_file)', |
| 137 '<(mirrors_cc_file)', | 142 '<(mirrors_cc_file)', |
| 138 '<(mirrors_patch_cc_file)', | 143 '<(mirrors_patch_cc_file)', |
| 139 '<(scalarlist_cc_file)', | 144 '<(scalarlist_cc_file)', |
| 140 '<(scalarlist_patch_cc_file)', | 145 '<(scalarlist_patch_cc_file)', |
| 146 '<(typeddata_cc_file)', |
| 147 '<(typeddata_patch_cc_file)', |
| 141 '<(uri_cc_file)', | 148 '<(uri_cc_file)', |
| 142 '<(utf_cc_file)', | 149 '<(utf_cc_file)', |
| 143 ], | 150 ], |
| 144 'include_dirs': [ | 151 'include_dirs': [ |
| 145 '..', | 152 '..', |
| 146 ], | 153 ], |
| 147 }, | 154 }, |
| 148 { | 155 { |
| 149 'target_name': 'libdart_lib', | 156 'target_name': 'libdart_lib', |
| 150 'type': 'static_library', | 157 'type': 'static_library', |
| 151 'includes': [ | 158 'includes': [ |
| 152 '../lib/async_sources.gypi', | 159 '../lib/async_sources.gypi', |
| 153 '../lib/lib_sources.gypi', | 160 '../lib/lib_sources.gypi', |
| 154 '../lib/isolate_sources.gypi', | 161 '../lib/isolate_sources.gypi', |
| 155 '../lib/math_sources.gypi', | 162 '../lib/math_sources.gypi', |
| 156 '../lib/mirrors_sources.gypi', | 163 '../lib/mirrors_sources.gypi', |
| 157 '../lib/scalarlist_sources.gypi', | 164 '../lib/scalarlist_sources.gypi', |
| 165 '../lib/typeddata_sources.gypi', |
| 158 ], | 166 ], |
| 159 'sources': [ | 167 'sources': [ |
| 160 'bootstrap_nocorelib.cc', | 168 'bootstrap_nocorelib.cc', |
| 161 ], | 169 ], |
| 162 'include_dirs': [ | 170 'include_dirs': [ |
| 163 '..', | 171 '..', |
| 164 ], | 172 ], |
| 165 }, | 173 }, |
| 166 { | 174 { |
| 167 'target_name': 'generate_async_cc_file', | 175 'target_name': 'generate_async_cc_file', |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 977 '--input_cc', '<(builtin_in_cc_file)', | 985 '--input_cc', '<(builtin_in_cc_file)', |
| 978 '--include', 'vm/bootstrap.h', | 986 '--include', 'vm/bootstrap.h', |
| 979 '--var_name', 'dart::Bootstrap::scalarlist_patch_', | 987 '--var_name', 'dart::Bootstrap::scalarlist_patch_', |
| 980 '<@(_sources)', | 988 '<@(_sources)', |
| 981 ], | 989 ], |
| 982 'message': 'Generating ''<(scalarlist_patch_cc_file)'' file.' | 990 'message': 'Generating ''<(scalarlist_patch_cc_file)'' file.' |
| 983 }, | 991 }, |
| 984 ] | 992 ] |
| 985 }, | 993 }, |
| 986 { | 994 { |
| 995 'target_name': 'generate_typeddata_cc_file', |
| 996 'type': 'none', |
| 997 'variables': { |
| 998 'typeddata_dart': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.dart', |
| 999 }, |
| 1000 'includes': [ |
| 1001 # Load the shared library sources. |
| 1002 '../../sdk/lib/typeddata/typeddata_sources.gypi', |
| 1003 ], |
| 1004 'sources/': [ |
| 1005 # Exclude all .[cc|h] files. |
| 1006 # This is only here for reference. Excludes happen after |
| 1007 # variable expansion, so the script has to do its own |
| 1008 # exclude processing of the sources being passed. |
| 1009 ['exclude', '\\.cc|h$'], |
| 1010 ], |
| 1011 'actions': [ |
| 1012 { |
| 1013 'action_name': 'generate_typeddata_dart', |
| 1014 'inputs': [ |
| 1015 '../tools/concat_library.py', |
| 1016 '<@(_sources)', |
| 1017 ], |
| 1018 'outputs': [ |
| 1019 '<(typeddata_dart)', |
| 1020 ], |
| 1021 'action': [ |
| 1022 'python', |
| 1023 '<@(_inputs)', |
| 1024 '--output', '<(typeddata_dart)', |
| 1025 ], |
| 1026 'message': 'Generating ''<(typeddata_dart)'' file.', |
| 1027 }, |
| 1028 { |
| 1029 'action_name': 'generate_typeddata_cc', |
| 1030 'inputs': [ |
| 1031 '../tools/create_string_literal.py', |
| 1032 '<(builtin_in_cc_file)', |
| 1033 '<(typeddata_dart)', |
| 1034 ], |
| 1035 'outputs': [ |
| 1036 '<(typeddata_cc_file)', |
| 1037 ], |
| 1038 'action': [ |
| 1039 'python', |
| 1040 'tools/create_string_literal.py', |
| 1041 '--output', '<(typeddata_cc_file)', |
| 1042 '--input_cc', '<(builtin_in_cc_file)', |
| 1043 '--include', 'vm/bootstrap.h', |
| 1044 '--var_name', 'dart::Bootstrap::typeddata_source_', |
| 1045 '<(typeddata_dart)', |
| 1046 ], |
| 1047 'message': 'Generating ''<(typeddata_cc_file)'' file.' |
| 1048 }, |
| 1049 ] |
| 1050 }, |
| 1051 { |
| 1052 'target_name': 'generate_typeddata_patch_cc_file', |
| 1053 'type': 'none', |
| 1054 'includes': [ |
| 1055 # Load the runtime implementation sources. |
| 1056 '../lib/typeddata_sources.gypi', |
| 1057 ], |
| 1058 'sources/': [ |
| 1059 # Exclude all .[cc|h] files. |
| 1060 # This is only here for reference. Excludes happen after |
| 1061 # variable expansion, so the script has to do its own |
| 1062 # exclude processing of the sources being passed. |
| 1063 ['exclude', '\\.cc|h$'], |
| 1064 ], |
| 1065 'actions': [ |
| 1066 { |
| 1067 'action_name': 'generate_typeddata_patch_cc', |
| 1068 'inputs': [ |
| 1069 '../tools/create_string_literal.py', |
| 1070 '<(builtin_in_cc_file)', |
| 1071 '<@(_sources)', |
| 1072 ], |
| 1073 'outputs': [ |
| 1074 '<(typeddata_patch_cc_file)', |
| 1075 ], |
| 1076 'action': [ |
| 1077 'python', |
| 1078 'tools/create_string_literal.py', |
| 1079 '--output', '<(typeddata_patch_cc_file)', |
| 1080 '--input_cc', '<(builtin_in_cc_file)', |
| 1081 '--include', 'vm/bootstrap.h', |
| 1082 '--var_name', 'dart::Bootstrap::typeddata_patch_', |
| 1083 '<@(_sources)', |
| 1084 ], |
| 1085 'message': 'Generating ''<(typeddata_patch_cc_file)'' file.' |
| 1086 }, |
| 1087 ] |
| 1088 }, |
| 1089 { |
| 987 'target_name': 'generate_uri_cc_file', | 1090 'target_name': 'generate_uri_cc_file', |
| 988 'type': 'none', | 1091 'type': 'none', |
| 989 'variables': { | 1092 'variables': { |
| 990 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart', | 1093 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart', |
| 991 }, | 1094 }, |
| 992 'includes': [ | 1095 'includes': [ |
| 993 # Load the shared uri sources. | 1096 # Load the shared uri sources. |
| 994 '../../sdk/lib/uri/uri_sources.gypi', | 1097 '../../sdk/lib/uri/uri_sources.gypi', |
| 995 ], | 1098 ], |
| 996 'actions': [ | 1099 'actions': [ |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 '--include', 'INTENTIONALLY_LEFT_BLANK', | 1208 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 1106 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 1209 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 1107 '<(snapshot_test_dart_file)', | 1210 '<(snapshot_test_dart_file)', |
| 1108 ], | 1211 ], |
| 1109 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 1212 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 1110 }, | 1213 }, |
| 1111 ] | 1214 ] |
| 1112 }, | 1215 }, |
| 1113 ] | 1216 ] |
| 1114 } | 1217 } |
| OLD | NEW |