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 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', | 12 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', |
13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', | 13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_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 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', | 16 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', |
17 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', | 17 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', |
18 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', | 18 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', |
19 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', | 19 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', |
20 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 20 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
21 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 21 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
22 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 22 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
23 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 23 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
24 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | 24 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
25 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | 25 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', |
26 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 26 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', |
27 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', | 27 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', |
28 'utf_cc_file': '<(gen_source_dir)/utf_gen.cc', | |
29 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 28 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 29 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
31 'snapshot_test_dart_file': 'snapshot_test.dart', | 30 'snapshot_test_dart_file': 'snapshot_test.dart', |
32 }, | 31 }, |
33 'targets': [ | 32 'targets': [ |
34 { | 33 { |
35 'target_name': 'libdart_vm', | 34 'target_name': 'libdart_vm', |
36 'type': 'static_library', | 35 'type': 'static_library', |
37 'toolsets':['host', 'target'], | 36 'toolsets':['host', 'target'], |
38 'includes': [ | 37 'includes': [ |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 'generate_convert_cc_file#host', | 103 'generate_convert_cc_file#host', |
105 'generate_convert_patch_cc_file#host', | 104 'generate_convert_patch_cc_file#host', |
106 'generate_math_cc_file#host', | 105 'generate_math_cc_file#host', |
107 'generate_math_patch_cc_file#host', | 106 'generate_math_patch_cc_file#host', |
108 'generate_isolate_cc_file#host', | 107 'generate_isolate_cc_file#host', |
109 'generate_isolate_patch_cc_file#host', | 108 'generate_isolate_patch_cc_file#host', |
110 'generate_mirrors_cc_file#host', | 109 'generate_mirrors_cc_file#host', |
111 'generate_mirrors_patch_cc_file#host', | 110 'generate_mirrors_patch_cc_file#host', |
112 'generate_typed_data_cc_file#host', | 111 'generate_typed_data_cc_file#host', |
113 'generate_typed_data_patch_cc_file#host', | 112 'generate_typed_data_patch_cc_file#host', |
114 'generate_utf_cc_file#host', | |
115 ], | 113 ], |
116 'includes': [ | 114 'includes': [ |
117 '../lib/async_sources.gypi', | 115 '../lib/async_sources.gypi', |
118 '../lib/collection_sources.gypi', | 116 '../lib/collection_sources.gypi', |
119 '../lib/corelib_sources.gypi', | 117 '../lib/corelib_sources.gypi', |
120 '../lib/isolate_sources.gypi', | 118 '../lib/isolate_sources.gypi', |
121 '../lib/math_sources.gypi', | 119 '../lib/math_sources.gypi', |
122 '../lib/mirrors_sources.gypi', | 120 '../lib/mirrors_sources.gypi', |
123 '../lib/typed_data_sources.gypi', | 121 '../lib/typed_data_sources.gypi', |
124 ], | 122 ], |
(...skipping 11 matching lines...) Expand all Loading... |
136 '<(convert_cc_file)', | 134 '<(convert_cc_file)', |
137 '<(convert_patch_cc_file)', | 135 '<(convert_patch_cc_file)', |
138 '<(math_cc_file)', | 136 '<(math_cc_file)', |
139 '<(math_patch_cc_file)', | 137 '<(math_patch_cc_file)', |
140 '<(isolate_cc_file)', | 138 '<(isolate_cc_file)', |
141 '<(isolate_patch_cc_file)', | 139 '<(isolate_patch_cc_file)', |
142 '<(mirrors_cc_file)', | 140 '<(mirrors_cc_file)', |
143 '<(mirrors_patch_cc_file)', | 141 '<(mirrors_patch_cc_file)', |
144 '<(typed_data_cc_file)', | 142 '<(typed_data_cc_file)', |
145 '<(typed_data_patch_cc_file)', | 143 '<(typed_data_patch_cc_file)', |
146 '<(utf_cc_file)', | |
147 ], | 144 ], |
148 'include_dirs': [ | 145 'include_dirs': [ |
149 '..', | 146 '..', |
150 ], | 147 ], |
151 }, | 148 }, |
152 { | 149 { |
153 'target_name': 'libdart_lib', | 150 'target_name': 'libdart_lib', |
154 'type': 'static_library', | 151 'type': 'static_library', |
155 'toolsets':['host', 'target'], | 152 'toolsets':['host', 'target'], |
156 'includes': [ | 153 'includes': [ |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 '--include', 'vm/bootstrap.h', | 879 '--include', 'vm/bootstrap.h', |
883 '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', | 880 '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', |
884 '--library_name', 'dart:typed_data', | 881 '--library_name', 'dart:typed_data', |
885 '<@(_sources)', | 882 '<@(_sources)', |
886 ], | 883 ], |
887 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' | 884 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' |
888 }, | 885 }, |
889 ] | 886 ] |
890 }, | 887 }, |
891 { | 888 { |
892 'target_name': 'generate_utf_cc_file', | |
893 'type': 'none', | |
894 'toolsets':['host'], | |
895 'includes': [ | |
896 # Load the shared utf sources. | |
897 '../../sdk/lib/utf/utf_sources.gypi', | |
898 ], | |
899 'actions': [ | |
900 { | |
901 'action_name': 'generate_utf_cc', | |
902 'inputs': [ | |
903 '../tools/gen_library_src_paths.py', | |
904 '<(libgen_in_cc_file)', | |
905 '<@(_sources)', | |
906 ], | |
907 'outputs': [ | |
908 '<(utf_cc_file)', | |
909 ], | |
910 'action': [ | |
911 'python', | |
912 'tools/gen_library_src_paths.py', | |
913 '--output', '<(utf_cc_file)', | |
914 '--input_cc', '<(libgen_in_cc_file)', | |
915 '--include', 'vm/bootstrap.h', | |
916 '--var_name', 'dart::Bootstrap::utf_source_paths_', | |
917 '--library_name', 'dart:utf', | |
918 '<@(_sources)', | |
919 ], | |
920 'message': 'Generating ''<(utf_cc_file)'' file.' | |
921 }, | |
922 ] | |
923 }, | |
924 { | |
925 'target_name': 'generate_snapshot_test_dat_file', | 889 'target_name': 'generate_snapshot_test_dat_file', |
926 'type': 'none', | 890 'type': 'none', |
927 'toolsets':['host'], | 891 'toolsets':['host'], |
928 'actions': [ | 892 'actions': [ |
929 { | 893 { |
930 'action_name': 'generate_snapshot_test_dat', | 894 'action_name': 'generate_snapshot_test_dat', |
931 'inputs': [ | 895 'inputs': [ |
932 '../tools/create_string_literal.py', | 896 '../tools/create_string_literal.py', |
933 '<(snapshot_test_in_dat_file)', | 897 '<(snapshot_test_in_dat_file)', |
934 '<(snapshot_test_dart_file)', | 898 '<(snapshot_test_dart_file)', |
935 ], | 899 ], |
936 'outputs': [ | 900 'outputs': [ |
937 '<(snapshot_test_dat_file)', | 901 '<(snapshot_test_dat_file)', |
938 ], | 902 ], |
939 'action': [ | 903 'action': [ |
940 'python', | 904 'python', |
941 'tools/create_string_literal.py', | 905 'tools/create_string_literal.py', |
942 '--output', '<(snapshot_test_dat_file)', | 906 '--output', '<(snapshot_test_dat_file)', |
943 '--input_cc', '<(snapshot_test_in_dat_file)', | 907 '--input_cc', '<(snapshot_test_in_dat_file)', |
944 '--include', 'INTENTIONALLY_LEFT_BLANK', | 908 '--include', 'INTENTIONALLY_LEFT_BLANK', |
945 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 909 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
946 '<(snapshot_test_dart_file)', | 910 '<(snapshot_test_dart_file)', |
947 ], | 911 ], |
948 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 912 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
949 }, | 913 }, |
950 ] | 914 ] |
951 }, | 915 }, |
952 ] | 916 ] |
953 } | 917 } |
OLD | NEW |