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 'developer_cc_file': '<(gen_source_dir)/developer_gen.cc', | 18 'developer_cc_file': '<(gen_source_dir)/developer_gen.cc', |
19 'developer_patch_cc_file': '<(gen_source_dir)/developer_patch_gen.cc', | 19 'developer_patch_cc_file': '<(gen_source_dir)/developer_patch_gen.cc', |
20 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', | 20 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', |
21 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', | 21 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', |
22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | 22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | 23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', |
24 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 24 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
25 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 25 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
26 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 26 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
27 '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', | |
30 'service_cc_file': '<(gen_source_dir)/service_gen.cc', | 28 'service_cc_file': '<(gen_source_dir)/service_gen.cc', |
31 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 29 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
32 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
33 'snapshot_test_dart_file': 'snapshot_test.dart', | 31 'snapshot_test_dart_file': 'snapshot_test.dart', |
34 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 32 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', |
35 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', | 33 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', |
36 }, | 34 }, |
37 'targets': [ | 35 'targets': [ |
38 { | 36 { |
39 'target_name': 'libdart_vm', | 37 'target_name': 'libdart_vm', |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 'generate_developer_cc_file#host', | 116 'generate_developer_cc_file#host', |
119 'generate_developer_patch_cc_file#host', | 117 'generate_developer_patch_cc_file#host', |
120 'generate_internal_cc_file#host', | 118 'generate_internal_cc_file#host', |
121 'generate_internal_patch_cc_file#host', | 119 'generate_internal_patch_cc_file#host', |
122 'generate_isolate_cc_file#host', | 120 'generate_isolate_cc_file#host', |
123 'generate_isolate_patch_cc_file#host', | 121 'generate_isolate_patch_cc_file#host', |
124 'generate_math_cc_file#host', | 122 'generate_math_cc_file#host', |
125 'generate_math_patch_cc_file#host', | 123 'generate_math_patch_cc_file#host', |
126 'generate_mirrors_cc_file#host', | 124 'generate_mirrors_cc_file#host', |
127 'generate_mirrors_patch_cc_file#host', | 125 'generate_mirrors_patch_cc_file#host', |
128 'generate_profiler_cc_file#host', | |
129 'generate_profiler_patch_cc_file#host', | |
130 'generate_typed_data_cc_file#host', | 126 'generate_typed_data_cc_file#host', |
131 'generate_typed_data_patch_cc_file#host', | 127 'generate_typed_data_patch_cc_file#host', |
132 ], | 128 ], |
133 'includes': [ | 129 'includes': [ |
134 '../lib/async_sources.gypi', | 130 '../lib/async_sources.gypi', |
135 '../lib/collection_sources.gypi', | 131 '../lib/collection_sources.gypi', |
136 '../lib/core_sources.gypi', | 132 '../lib/core_sources.gypi', |
137 '../lib/developer_sources.gypi', | 133 '../lib/developer_sources.gypi', |
138 '../lib/internal_sources.gypi', | 134 '../lib/internal_sources.gypi', |
139 '../lib/isolate_sources.gypi', | 135 '../lib/isolate_sources.gypi', |
140 '../lib/math_sources.gypi', | 136 '../lib/math_sources.gypi', |
141 '../lib/mirrors_sources.gypi', | 137 '../lib/mirrors_sources.gypi', |
142 '../lib/profiler_sources.gypi', | |
143 '../lib/typed_data_sources.gypi', | 138 '../lib/typed_data_sources.gypi', |
144 ], | 139 ], |
145 'sources': [ | 140 'sources': [ |
146 'bootstrap.cc', | 141 'bootstrap.cc', |
147 # Include generated source files. | 142 # Include generated source files. |
148 '<(async_cc_file)', | 143 '<(async_cc_file)', |
149 '<(async_patch_cc_file)', | 144 '<(async_patch_cc_file)', |
150 '<(core_cc_file)', | 145 '<(core_cc_file)', |
151 '<(core_patch_cc_file)', | 146 '<(core_patch_cc_file)', |
152 '<(collection_cc_file)', | 147 '<(collection_cc_file)', |
153 '<(collection_patch_cc_file)', | 148 '<(collection_patch_cc_file)', |
154 '<(convert_cc_file)', | 149 '<(convert_cc_file)', |
155 '<(convert_patch_cc_file)', | 150 '<(convert_patch_cc_file)', |
156 '<(developer_cc_file)', | 151 '<(developer_cc_file)', |
157 '<(developer_patch_cc_file)', | 152 '<(developer_patch_cc_file)', |
158 '<(internal_cc_file)', | 153 '<(internal_cc_file)', |
159 '<(internal_patch_cc_file)', | 154 '<(internal_patch_cc_file)', |
160 '<(isolate_cc_file)', | 155 '<(isolate_cc_file)', |
161 '<(isolate_patch_cc_file)', | 156 '<(isolate_patch_cc_file)', |
162 '<(math_cc_file)', | 157 '<(math_cc_file)', |
163 '<(math_patch_cc_file)', | 158 '<(math_patch_cc_file)', |
164 '<(mirrors_cc_file)', | 159 '<(mirrors_cc_file)', |
165 '<(mirrors_patch_cc_file)', | 160 '<(mirrors_patch_cc_file)', |
166 '<(profiler_cc_file)', | |
167 '<(profiler_patch_cc_file)', | |
168 '<(typed_data_cc_file)', | 161 '<(typed_data_cc_file)', |
169 '<(typed_data_patch_cc_file)', | 162 '<(typed_data_patch_cc_file)', |
170 ], | 163 ], |
171 'include_dirs': [ | 164 'include_dirs': [ |
172 '..', | 165 '..', |
173 ], | 166 ], |
174 }, | 167 }, |
175 { | 168 { |
176 'target_name': 'libdart_lib', | 169 'target_name': 'libdart_lib', |
177 'type': 'static_library', | 170 'type': 'static_library', |
178 'toolsets':['host', 'target'], | 171 'toolsets':['host', 'target'], |
179 'includes': [ | 172 'includes': [ |
180 '../lib/async_sources.gypi', | 173 '../lib/async_sources.gypi', |
181 '../lib/collection_sources.gypi', | 174 '../lib/collection_sources.gypi', |
182 '../lib/core_sources.gypi', | 175 '../lib/core_sources.gypi', |
183 '../lib/developer_sources.gypi', | 176 '../lib/developer_sources.gypi', |
184 '../lib/internal_sources.gypi', | 177 '../lib/internal_sources.gypi', |
185 '../lib/isolate_sources.gypi', | 178 '../lib/isolate_sources.gypi', |
186 '../lib/math_sources.gypi', | 179 '../lib/math_sources.gypi', |
187 '../lib/mirrors_sources.gypi', | 180 '../lib/mirrors_sources.gypi', |
188 '../lib/profiler_sources.gypi', | |
189 '../lib/typed_data_sources.gypi', | 181 '../lib/typed_data_sources.gypi', |
190 ], | 182 ], |
191 'sources': [ | 183 'sources': [ |
192 'bootstrap_nocore.cc', | 184 'bootstrap_nocore.cc', |
193 ], | 185 ], |
194 'include_dirs': [ | 186 'include_dirs': [ |
195 '..', | 187 '..', |
196 ], | 188 ], |
197 }, | 189 }, |
198 { | 190 { |
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 '--include', 'vm/bootstrap.h', | 900 '--include', 'vm/bootstrap.h', |
909 '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', | 901 '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', |
910 '--library_name', 'dart:typed_data', | 902 '--library_name', 'dart:typed_data', |
911 '<@(_sources)', | 903 '<@(_sources)', |
912 ], | 904 ], |
913 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' | 905 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' |
914 }, | 906 }, |
915 ] | 907 ] |
916 }, | 908 }, |
917 { | 909 { |
918 'target_name': 'generate_profiler_cc_file', | |
919 'type': 'none', | |
920 'toolsets':['host'], | |
921 'includes': [ | |
922 # Load the shared library sources. | |
923 '../../sdk/lib/profiler/profiler_sources.gypi', | |
924 ], | |
925 'sources/': [ | |
926 # Exclude all .[cc|h] files. | |
927 # This is only here for reference. Excludes happen after | |
928 # variable expansion, so the script has to do its own | |
929 # exclude processing of the sources being passed. | |
930 ['exclude', '\\.cc|h$'], | |
931 ], | |
932 'actions': [ | |
933 { | |
934 'action_name': 'generate_profiler_cc', | |
935 'inputs': [ | |
936 '../tools/gen_library_src_paths.py', | |
937 '<(libgen_in_cc_file)', | |
938 '<@(_sources)', | |
939 ], | |
940 'outputs': [ | |
941 '<(profiler_cc_file)', | |
942 ], | |
943 'action': [ | |
944 'python', | |
945 'tools/gen_library_src_paths.py', | |
946 '--output', '<(profiler_cc_file)', | |
947 '--input_cc', '<(libgen_in_cc_file)', | |
948 '--include', 'vm/bootstrap.h', | |
949 '--var_name', 'dart::Bootstrap::profiler_source_paths_', | |
950 '--library_name', 'dart:profiler', | |
951 '<@(_sources)', | |
952 ], | |
953 'message': 'Generating ''<(profiler_cc_file)'' file.' | |
954 }, | |
955 ] | |
956 }, | |
957 { | |
958 'target_name': 'generate_profiler_patch_cc_file', | |
959 'type': 'none', | |
960 'toolsets':['host'], | |
961 'includes': [ | |
962 # Load the runtime implementation sources. | |
963 '../lib/profiler_sources.gypi', | |
964 ], | |
965 'sources/': [ | |
966 # Exclude all .[cc|h] files. | |
967 # This is only here for reference. Excludes happen after | |
968 # variable expansion, so the script has to do its own | |
969 # exclude processing of the sources being passed. | |
970 ['exclude', '\\.cc|h$'], | |
971 ], | |
972 'actions': [ | |
973 { | |
974 'action_name': 'generate_profiler_patch_cc', | |
975 'inputs': [ | |
976 '../tools/gen_library_src_paths.py', | |
977 '<(libgen_in_cc_file)', | |
978 '<@(_sources)', | |
979 ], | |
980 'outputs': [ | |
981 '<(profiler_patch_cc_file)', | |
982 ], | |
983 'action': [ | |
984 'python', | |
985 'tools/gen_library_src_paths.py', | |
986 '--output', '<(profiler_patch_cc_file)', | |
987 '--input_cc', '<(libgen_in_cc_file)', | |
988 '--include', 'vm/bootstrap.h', | |
989 '--var_name', 'dart::Bootstrap::profiler_patch_paths_', | |
990 '--library_name', 'dart:profiler', | |
991 '<@(_sources)', | |
992 ], | |
993 'message': 'Generating ''<(profiler_patch_cc_file)'' file.' | |
994 }, | |
995 ] | |
996 }, | |
997 { | |
998 'target_name': 'generate_developer_cc_file', | 910 'target_name': 'generate_developer_cc_file', |
999 'type': 'none', | 911 'type': 'none', |
1000 'toolsets':['host'], | 912 'toolsets':['host'], |
1001 'includes': [ | 913 'includes': [ |
1002 # Load the shared library sources. | 914 # Load the shared library sources. |
1003 '../../sdk/lib/developer/developer_sources.gypi', | 915 '../../sdk/lib/developer/developer_sources.gypi', |
1004 ], | 916 ], |
1005 'sources/': [ | 917 'sources/': [ |
1006 # Exclude all .[cc|h] files. | 918 # Exclude all .[cc|h] files. |
1007 # This is only here for reference. Excludes happen after | 919 # This is only here for reference. Excludes happen after |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 '--table_name', 'service', | 1039 '--table_name', 'service', |
1128 '--root_prefix', 'vm/service/', | 1040 '--root_prefix', 'vm/service/', |
1129 '<@(_sources)' | 1041 '<@(_sources)' |
1130 ], | 1042 ], |
1131 'message': 'Generating ''<(service_cc_file)'' file.' | 1043 'message': 'Generating ''<(service_cc_file)'' file.' |
1132 }, | 1044 }, |
1133 ] | 1045 ] |
1134 }, | 1046 }, |
1135 ] | 1047 ] |
1136 } | 1048 } |
OLD | NEW |