| 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 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 8 'libgen_in_cc_file': '../lib/libgen_in.cc', | 8 'libgen_in_cc_file': '../lib/libgen_in.cc', |
| 9 'builtin_in_cc_file': '../bin/builtin_in.cc', | 9 'builtin_in_cc_file': '../bin/builtin_in.cc', |
| 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
| 11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', | 11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', |
| 12 'core_cc_file': '<(gen_source_dir)/core_gen.cc', | 12 'core_cc_file': '<(gen_source_dir)/core_gen.cc', |
| 13 'core_patch_cc_file': '<(gen_source_dir)/core_patch_gen.cc', | 13 'core_patch_cc_file': '<(gen_source_dir)/core_patch_gen.cc', |
| 14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', | 14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', |
| 15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', | 15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', |
| 16 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', | 16 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', |
| 17 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', | 17 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', |
| 18 'debugger_cc_file': '<(gen_source_dir)/debugger_gen.cc', |
| 19 'debugger_patch_cc_file': '<(gen_source_dir)/debugger_patch_gen.cc', |
| 18 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', | 20 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', |
| 19 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', | 21 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', |
| 20 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | 22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
| 21 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | 23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', |
| 22 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 24 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
| 23 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 25 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
| 24 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 26 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
| 25 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 27 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
| 28 'profiler_cc_file': '<(gen_source_dir)/profiler_gen.cc', |
| 29 'profiler_patch_cc_file': '<(gen_source_dir)/profiler_patch_gen.cc', |
| 26 'service_cc_file': '<(gen_source_dir)/service_gen.cc', | 30 'service_cc_file': '<(gen_source_dir)/service_gen.cc', |
| 27 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 31 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
| 28 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 32 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| 29 'snapshot_test_dart_file': 'snapshot_test.dart', | 33 'snapshot_test_dart_file': 'snapshot_test.dart', |
| 30 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 34 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', |
| 31 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', | 35 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', |
| 32 'profiler_cc_file': '<(gen_source_dir)/profiler_gen.cc', | |
| 33 'profiler_patch_cc_file': '<(gen_source_dir)/profiler_patch_gen.cc', | |
| 34 }, | 36 }, |
| 35 'targets': [ | 37 'targets': [ |
| 36 { | 38 { |
| 37 'target_name': 'libdart_vm', | 39 'target_name': 'libdart_vm', |
| 38 'type': 'static_library', | 40 'type': 'static_library', |
| 39 'toolsets':['host', 'target'], | 41 'toolsets':['host', 'target'], |
| 40 'dependencies': [ | 42 'dependencies': [ |
| 41 'generate_service_cc_file#host' | 43 'generate_service_cc_file#host' |
| 42 ], | 44 ], |
| 43 'includes': [ | 45 'includes': [ |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 'toolsets':['host', 'target'], | 108 'toolsets':['host', 'target'], |
| 107 'dependencies': [ | 109 'dependencies': [ |
| 108 'generate_async_cc_file#host', | 110 'generate_async_cc_file#host', |
| 109 'generate_async_patch_cc_file#host', | 111 'generate_async_patch_cc_file#host', |
| 110 'generate_core_cc_file#host', | 112 'generate_core_cc_file#host', |
| 111 'generate_core_patch_cc_file#host', | 113 'generate_core_patch_cc_file#host', |
| 112 'generate_collection_cc_file#host', | 114 'generate_collection_cc_file#host', |
| 113 'generate_collection_patch_cc_file#host', | 115 'generate_collection_patch_cc_file#host', |
| 114 'generate_convert_cc_file#host', | 116 'generate_convert_cc_file#host', |
| 115 'generate_convert_patch_cc_file#host', | 117 'generate_convert_patch_cc_file#host', |
| 118 'generate_debugger_cc_file#host', |
| 119 'generate_debugger_patch_cc_file#host', |
| 116 'generate_internal_cc_file#host', | 120 'generate_internal_cc_file#host', |
| 117 'generate_internal_patch_cc_file#host', | 121 'generate_internal_patch_cc_file#host', |
| 118 'generate_isolate_cc_file#host', | 122 'generate_isolate_cc_file#host', |
| 119 'generate_isolate_patch_cc_file#host', | 123 'generate_isolate_patch_cc_file#host', |
| 120 'generate_math_cc_file#host', | 124 'generate_math_cc_file#host', |
| 121 'generate_math_patch_cc_file#host', | 125 'generate_math_patch_cc_file#host', |
| 122 'generate_mirrors_cc_file#host', | 126 'generate_mirrors_cc_file#host', |
| 123 'generate_mirrors_patch_cc_file#host', | 127 'generate_mirrors_patch_cc_file#host', |
| 128 'generate_profiler_cc_file#host', |
| 129 'generate_profiler_patch_cc_file#host', |
| 124 'generate_typed_data_cc_file#host', | 130 'generate_typed_data_cc_file#host', |
| 125 'generate_typed_data_patch_cc_file#host', | 131 'generate_typed_data_patch_cc_file#host', |
| 126 'generate_profiler_cc_file#host', | |
| 127 'generate_profiler_patch_cc_file#host', | |
| 128 ], | 132 ], |
| 129 'includes': [ | 133 'includes': [ |
| 130 '../lib/async_sources.gypi', | 134 '../lib/async_sources.gypi', |
| 131 '../lib/collection_sources.gypi', | 135 '../lib/collection_sources.gypi', |
| 132 '../lib/core_sources.gypi', | 136 '../lib/core_sources.gypi', |
| 137 '../lib/debugger_sources.gypi', |
| 138 '../lib/internal_sources.gypi', |
| 133 '../lib/isolate_sources.gypi', | 139 '../lib/isolate_sources.gypi', |
| 134 '../lib/math_sources.gypi', | 140 '../lib/math_sources.gypi', |
| 135 '../lib/mirrors_sources.gypi', | 141 '../lib/mirrors_sources.gypi', |
| 142 '../lib/profiler_sources.gypi', |
| 136 '../lib/typed_data_sources.gypi', | 143 '../lib/typed_data_sources.gypi', |
| 137 '../lib/profiler_sources.gypi', | |
| 138 '../lib/internal_sources.gypi', | |
| 139 ], | 144 ], |
| 140 'sources': [ | 145 'sources': [ |
| 141 'bootstrap.cc', | 146 'bootstrap.cc', |
| 142 # Include generated source files. | 147 # Include generated source files. |
| 143 '<(async_cc_file)', | 148 '<(async_cc_file)', |
| 144 '<(async_patch_cc_file)', | 149 '<(async_patch_cc_file)', |
| 145 '<(core_cc_file)', | 150 '<(core_cc_file)', |
| 146 '<(core_patch_cc_file)', | 151 '<(core_patch_cc_file)', |
| 147 '<(collection_cc_file)', | 152 '<(collection_cc_file)', |
| 148 '<(collection_patch_cc_file)', | 153 '<(collection_patch_cc_file)', |
| 149 '<(convert_cc_file)', | 154 '<(convert_cc_file)', |
| 150 '<(convert_patch_cc_file)', | 155 '<(convert_patch_cc_file)', |
| 156 '<(debugger_cc_file)', |
| 157 '<(debugger_patch_cc_file)', |
| 151 '<(internal_cc_file)', | 158 '<(internal_cc_file)', |
| 152 '<(internal_patch_cc_file)', | 159 '<(internal_patch_cc_file)', |
| 153 '<(isolate_cc_file)', | 160 '<(isolate_cc_file)', |
| 154 '<(isolate_patch_cc_file)', | 161 '<(isolate_patch_cc_file)', |
| 155 '<(math_cc_file)', | 162 '<(math_cc_file)', |
| 156 '<(math_patch_cc_file)', | 163 '<(math_patch_cc_file)', |
| 157 '<(mirrors_cc_file)', | 164 '<(mirrors_cc_file)', |
| 158 '<(mirrors_patch_cc_file)', | 165 '<(mirrors_patch_cc_file)', |
| 166 '<(profiler_cc_file)', |
| 167 '<(profiler_patch_cc_file)', |
| 159 '<(typed_data_cc_file)', | 168 '<(typed_data_cc_file)', |
| 160 '<(typed_data_patch_cc_file)', | 169 '<(typed_data_patch_cc_file)', |
| 161 '<(profiler_cc_file)', | |
| 162 '<(profiler_patch_cc_file)', | |
| 163 ], | 170 ], |
| 164 'include_dirs': [ | 171 'include_dirs': [ |
| 165 '..', | 172 '..', |
| 166 ], | 173 ], |
| 167 }, | 174 }, |
| 168 { | 175 { |
| 169 'target_name': 'libdart_lib', | 176 'target_name': 'libdart_lib', |
| 170 'type': 'static_library', | 177 'type': 'static_library', |
| 171 'toolsets':['host', 'target'], | 178 'toolsets':['host', 'target'], |
| 172 'includes': [ | 179 'includes': [ |
| 173 '../lib/async_sources.gypi', | 180 '../lib/async_sources.gypi', |
| 174 '../lib/collection_sources.gypi', | 181 '../lib/collection_sources.gypi', |
| 175 '../lib/core_sources.gypi', | 182 '../lib/core_sources.gypi', |
| 183 '../lib/debugger_sources.gypi', |
| 184 '../lib/internal_sources.gypi', |
| 176 '../lib/isolate_sources.gypi', | 185 '../lib/isolate_sources.gypi', |
| 177 '../lib/math_sources.gypi', | 186 '../lib/math_sources.gypi', |
| 178 '../lib/mirrors_sources.gypi', | 187 '../lib/mirrors_sources.gypi', |
| 188 '../lib/profiler_sources.gypi', |
| 179 '../lib/typed_data_sources.gypi', | 189 '../lib/typed_data_sources.gypi', |
| 180 '../lib/profiler_sources.gypi', | |
| 181 '../lib/internal_sources.gypi', | |
| 182 ], | 190 ], |
| 183 'sources': [ | 191 'sources': [ |
| 184 'bootstrap_nocore.cc', | 192 'bootstrap_nocore.cc', |
| 185 ], | 193 ], |
| 186 'include_dirs': [ | 194 'include_dirs': [ |
| 187 '..', | 195 '..', |
| 188 ], | 196 ], |
| 189 }, | 197 }, |
| 190 { | 198 { |
| 191 'target_name': 'generate_async_cc_file', | 199 'target_name': 'generate_async_cc_file', |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 '--include', 'vm/bootstrap.h', | 988 '--include', 'vm/bootstrap.h', |
| 981 '--var_name', 'dart::Bootstrap::profiler_patch_paths_', | 989 '--var_name', 'dart::Bootstrap::profiler_patch_paths_', |
| 982 '--library_name', 'dart:profiler', | 990 '--library_name', 'dart:profiler', |
| 983 '<@(_sources)', | 991 '<@(_sources)', |
| 984 ], | 992 ], |
| 985 'message': 'Generating ''<(profiler_patch_cc_file)'' file.' | 993 'message': 'Generating ''<(profiler_patch_cc_file)'' file.' |
| 986 }, | 994 }, |
| 987 ] | 995 ] |
| 988 }, | 996 }, |
| 989 { | 997 { |
| 998 'target_name': 'generate_debugger_cc_file', |
| 999 'type': 'none', |
| 1000 'toolsets':['host'], |
| 1001 'includes': [ |
| 1002 # Load the shared library sources. |
| 1003 '../../sdk/lib/debugger/debugger_sources.gypi', |
| 1004 ], |
| 1005 'sources/': [ |
| 1006 # Exclude all .[cc|h] files. |
| 1007 # This is only here for reference. Excludes happen after |
| 1008 # variable expansion, so the script has to do its own |
| 1009 # exclude processing of the sources being passed. |
| 1010 ['exclude', '\\.cc|h$'], |
| 1011 ], |
| 1012 'actions': [ |
| 1013 { |
| 1014 'action_name': 'generate_debugger_cc', |
| 1015 'inputs': [ |
| 1016 '../tools/gen_library_src_paths.py', |
| 1017 '<(libgen_in_cc_file)', |
| 1018 '<@(_sources)', |
| 1019 ], |
| 1020 'outputs': [ |
| 1021 '<(debugger_cc_file)', |
| 1022 ], |
| 1023 'action': [ |
| 1024 'python', |
| 1025 'tools/gen_library_src_paths.py', |
| 1026 '--output', '<(debugger_cc_file)', |
| 1027 '--input_cc', '<(libgen_in_cc_file)', |
| 1028 '--include', 'vm/bootstrap.h', |
| 1029 '--var_name', 'dart::Bootstrap::debugger_source_paths_', |
| 1030 '--library_name', 'dart:debugger', |
| 1031 '<@(_sources)', |
| 1032 ], |
| 1033 'message': 'Generating ''<(debugger_cc_file)'' file.' |
| 1034 }, |
| 1035 ] |
| 1036 }, |
| 1037 { |
| 1038 'target_name': 'generate_debugger_patch_cc_file', |
| 1039 'type': 'none', |
| 1040 'toolsets':['host'], |
| 1041 'includes': [ |
| 1042 # Load the runtime implementation sources. |
| 1043 '../lib/debugger_sources.gypi', |
| 1044 ], |
| 1045 'sources/': [ |
| 1046 # Exclude all .[cc|h] files. |
| 1047 # This is only here for reference. Excludes happen after |
| 1048 # variable expansion, so the script has to do its own |
| 1049 # exclude processing of the sources being passed. |
| 1050 ['exclude', '\\.cc|h$'], |
| 1051 ], |
| 1052 'actions': [ |
| 1053 { |
| 1054 'action_name': 'generate_debugger_patch_cc', |
| 1055 'inputs': [ |
| 1056 '../tools/gen_library_src_paths.py', |
| 1057 '<(libgen_in_cc_file)', |
| 1058 '<@(_sources)', |
| 1059 ], |
| 1060 'outputs': [ |
| 1061 '<(debugger_patch_cc_file)', |
| 1062 ], |
| 1063 'action': [ |
| 1064 'python', |
| 1065 'tools/gen_library_src_paths.py', |
| 1066 '--output', '<(debugger_patch_cc_file)', |
| 1067 '--input_cc', '<(libgen_in_cc_file)', |
| 1068 '--include', 'vm/bootstrap.h', |
| 1069 '--var_name', 'dart::Bootstrap::debugger_patch_paths_', |
| 1070 '--library_name', 'dart:debugger', |
| 1071 '<@(_sources)', |
| 1072 ], |
| 1073 'message': 'Generating ''<(debugger_patch_cc_file)'' file.' |
| 1074 }, |
| 1075 ] |
| 1076 }, |
| 1077 { |
| 990 'target_name': 'generate_snapshot_test_dat_file', | 1078 'target_name': 'generate_snapshot_test_dat_file', |
| 991 'type': 'none', | 1079 'type': 'none', |
| 992 'toolsets':['host'], | 1080 'toolsets':['host'], |
| 993 'actions': [ | 1081 'actions': [ |
| 994 { | 1082 { |
| 995 'action_name': 'generate_snapshot_test_dat', | 1083 'action_name': 'generate_snapshot_test_dat', |
| 996 'inputs': [ | 1084 'inputs': [ |
| 997 '../tools/create_string_literal.py', | 1085 '../tools/create_string_literal.py', |
| 998 '<(snapshot_test_in_dat_file)', | 1086 '<(snapshot_test_in_dat_file)', |
| 999 '<(snapshot_test_dart_file)', | 1087 '<(snapshot_test_dart_file)', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1039 '--table_name', 'service', | 1127 '--table_name', 'service', |
| 1040 '--root_prefix', 'vm/service/', | 1128 '--root_prefix', 'vm/service/', |
| 1041 '<@(_sources)' | 1129 '<@(_sources)' |
| 1042 ], | 1130 ], |
| 1043 'message': 'Generating ''<(service_cc_file)'' file.' | 1131 'message': 'Generating ''<(service_cc_file)'' file.' |
| 1044 }, | 1132 }, |
| 1045 ] | 1133 ] |
| 1046 }, | 1134 }, |
| 1047 ] | 1135 ] |
| 1048 } | 1136 } |
| OLD | NEW |