| 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 'platform_cc_file': '<(gen_source_dir)/platform_gen.cc', | |
| 27 'platform_patch_cc_file': '<(gen_source_dir)/platform_patch_gen.cc', | |
| 28 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 26 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', |
| 29 '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', |
| 30 'utf_cc_file': '<(gen_source_dir)/utf_gen.cc', | 28 'utf_cc_file': '<(gen_source_dir)/utf_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 }, | 32 }, |
| 35 'targets': [ | 33 'targets': [ |
| 36 { | 34 { |
| 37 'target_name': 'libdart_vm', | 35 'target_name': 'libdart_vm', |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 'generate_collection_dev_cc_file#host', | 102 'generate_collection_dev_cc_file#host', |
| 105 'generate_collection_dev_patch_cc_file#host', | 103 'generate_collection_dev_patch_cc_file#host', |
| 106 'generate_convert_cc_file#host', | 104 'generate_convert_cc_file#host', |
| 107 'generate_convert_patch_cc_file#host', | 105 'generate_convert_patch_cc_file#host', |
| 108 'generate_math_cc_file#host', | 106 'generate_math_cc_file#host', |
| 109 'generate_math_patch_cc_file#host', | 107 'generate_math_patch_cc_file#host', |
| 110 'generate_isolate_cc_file#host', | 108 'generate_isolate_cc_file#host', |
| 111 'generate_isolate_patch_cc_file#host', | 109 'generate_isolate_patch_cc_file#host', |
| 112 'generate_mirrors_cc_file#host', | 110 'generate_mirrors_cc_file#host', |
| 113 'generate_mirrors_patch_cc_file#host', | 111 'generate_mirrors_patch_cc_file#host', |
| 114 'generate_platform_cc_file#host', | |
| 115 'generate_platform_patch_cc_file#host', | |
| 116 'generate_typed_data_cc_file#host', | 112 'generate_typed_data_cc_file#host', |
| 117 'generate_typed_data_patch_cc_file#host', | 113 'generate_typed_data_patch_cc_file#host', |
| 118 'generate_utf_cc_file#host', | 114 'generate_utf_cc_file#host', |
| 119 ], | 115 ], |
| 120 'includes': [ | 116 'includes': [ |
| 121 '../lib/async_sources.gypi', | 117 '../lib/async_sources.gypi', |
| 122 '../lib/collection_sources.gypi', | 118 '../lib/collection_sources.gypi', |
| 123 '../lib/corelib_sources.gypi', | 119 '../lib/corelib_sources.gypi', |
| 124 '../lib/isolate_sources.gypi', | 120 '../lib/isolate_sources.gypi', |
| 125 '../lib/math_sources.gypi', | 121 '../lib/math_sources.gypi', |
| 126 '../lib/mirrors_sources.gypi', | 122 '../lib/mirrors_sources.gypi', |
| 127 '../lib/platform_sources.gypi', | |
| 128 '../lib/typed_data_sources.gypi', | 123 '../lib/typed_data_sources.gypi', |
| 129 ], | 124 ], |
| 130 'sources': [ | 125 'sources': [ |
| 131 'bootstrap.cc', | 126 'bootstrap.cc', |
| 132 # Include generated source files. | 127 # Include generated source files. |
| 133 '<(async_cc_file)', | 128 '<(async_cc_file)', |
| 134 '<(async_patch_cc_file)', | 129 '<(async_patch_cc_file)', |
| 135 '<(corelib_cc_file)', | 130 '<(corelib_cc_file)', |
| 136 '<(corelib_patch_cc_file)', | 131 '<(corelib_patch_cc_file)', |
| 137 '<(collection_cc_file)', | 132 '<(collection_cc_file)', |
| 138 '<(collection_patch_cc_file)', | 133 '<(collection_patch_cc_file)', |
| 139 '<(collection_dev_cc_file)', | 134 '<(collection_dev_cc_file)', |
| 140 '<(collection_dev_patch_cc_file)', | 135 '<(collection_dev_patch_cc_file)', |
| 141 '<(convert_cc_file)', | 136 '<(convert_cc_file)', |
| 142 '<(convert_patch_cc_file)', | 137 '<(convert_patch_cc_file)', |
| 143 '<(math_cc_file)', | 138 '<(math_cc_file)', |
| 144 '<(math_patch_cc_file)', | 139 '<(math_patch_cc_file)', |
| 145 '<(isolate_cc_file)', | 140 '<(isolate_cc_file)', |
| 146 '<(isolate_patch_cc_file)', | 141 '<(isolate_patch_cc_file)', |
| 147 '<(mirrors_cc_file)', | 142 '<(mirrors_cc_file)', |
| 148 '<(mirrors_patch_cc_file)', | 143 '<(mirrors_patch_cc_file)', |
| 149 '<(platform_cc_file)', | |
| 150 '<(platform_patch_cc_file)', | |
| 151 '<(typed_data_cc_file)', | 144 '<(typed_data_cc_file)', |
| 152 '<(typed_data_patch_cc_file)', | 145 '<(typed_data_patch_cc_file)', |
| 153 '<(utf_cc_file)', | 146 '<(utf_cc_file)', |
| 154 ], | 147 ], |
| 155 'include_dirs': [ | 148 'include_dirs': [ |
| 156 '..', | 149 '..', |
| 157 ], | 150 ], |
| 158 }, | 151 }, |
| 159 { | 152 { |
| 160 'target_name': 'libdart_lib', | 153 'target_name': 'libdart_lib', |
| 161 'type': 'static_library', | 154 'type': 'static_library', |
| 162 'toolsets':['host', 'target'], | 155 'toolsets':['host', 'target'], |
| 163 'includes': [ | 156 'includes': [ |
| 164 '../lib/async_sources.gypi', | 157 '../lib/async_sources.gypi', |
| 165 '../lib/collection_sources.gypi', | 158 '../lib/collection_sources.gypi', |
| 166 '../lib/corelib_sources.gypi', | 159 '../lib/corelib_sources.gypi', |
| 167 '../lib/isolate_sources.gypi', | 160 '../lib/isolate_sources.gypi', |
| 168 '../lib/math_sources.gypi', | 161 '../lib/math_sources.gypi', |
| 169 '../lib/mirrors_sources.gypi', | 162 '../lib/mirrors_sources.gypi', |
| 170 '../lib/platform_sources.gypi', | |
| 171 '../lib/typed_data_sources.gypi', | 163 '../lib/typed_data_sources.gypi', |
| 172 ], | 164 ], |
| 173 'sources': [ | 165 'sources': [ |
| 174 'bootstrap_nocorelib.cc', | 166 'bootstrap_nocorelib.cc', |
| 175 ], | 167 ], |
| 176 'include_dirs': [ | 168 'include_dirs': [ |
| 177 '..', | 169 '..', |
| 178 ], | 170 ], |
| 179 }, | 171 }, |
| 180 { | 172 { |
| (...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 '--include', 'vm/bootstrap.h', | 802 '--include', 'vm/bootstrap.h', |
| 811 '--var_name', 'dart::Bootstrap::isolate_patch_paths_', | 803 '--var_name', 'dart::Bootstrap::isolate_patch_paths_', |
| 812 '--library_name', 'dart:isolate', | 804 '--library_name', 'dart:isolate', |
| 813 '<@(_sources)', | 805 '<@(_sources)', |
| 814 ], | 806 ], |
| 815 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' | 807 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' |
| 816 }, | 808 }, |
| 817 ] | 809 ] |
| 818 }, | 810 }, |
| 819 { | 811 { |
| 820 'target_name': 'generate_platform_cc_file', | |
| 821 'type': 'none', | |
| 822 'toolsets':['host'], | |
| 823 'includes': [ | |
| 824 '../../sdk/lib/platform/platform_sources.gypi', | |
| 825 ], | |
| 826 'sources/': [ | |
| 827 # Exclude all .[cc|h] files. | |
| 828 # This is only here for reference. Excludes happen after | |
| 829 # variable expansion, so the script has to do its own | |
| 830 # exclude processing of the sources being passed. | |
| 831 ['exclude', '\\.cc|h$'], | |
| 832 ], | |
| 833 'actions': [ | |
| 834 { | |
| 835 'action_name': 'generate_platform_cc', | |
| 836 'inputs': [ | |
| 837 '../tools/gen_library_src_paths.py', | |
| 838 '<(libgen_in_cc_file)', | |
| 839 '<@(_sources)', | |
| 840 ], | |
| 841 'outputs': [ | |
| 842 '<(platform_cc_file)', | |
| 843 ], | |
| 844 'action': [ | |
| 845 'python', | |
| 846 'tools/gen_library_src_paths.py', | |
| 847 '--output', '<(platform_cc_file)', | |
| 848 '--input_cc', '<(libgen_in_cc_file)', | |
| 849 '--include', 'vm/bootstrap.h', | |
| 850 '--var_name', 'dart::Bootstrap::platform_source_paths_', | |
| 851 '--library_name', 'dart:platform', | |
| 852 '<@(_sources)', | |
| 853 ], | |
| 854 'message': 'Generating ''<(platform_cc_file)'' file.' | |
| 855 }, | |
| 856 ] | |
| 857 }, | |
| 858 { | |
| 859 'target_name': 'generate_platform_patch_cc_file', | |
| 860 'type': 'none', | |
| 861 'toolsets':['host'], | |
| 862 'includes': [ | |
| 863 # Load the runtime implementation sources. | |
| 864 '../lib/platform_sources.gypi', | |
| 865 ], | |
| 866 'sources/': [ | |
| 867 # Exclude all .[cc|h] files. | |
| 868 # This is only here for reference. Excludes happen after | |
| 869 # variable expansion, so the script has to do its own | |
| 870 # exclude processing of the sources being passed. | |
| 871 ['exclude', '\\.cc|h$'], | |
| 872 ], | |
| 873 'actions': [ | |
| 874 { | |
| 875 'action_name': 'generate_platform_patch_cc', | |
| 876 'inputs': [ | |
| 877 '../tools/gen_library_src_paths.py', | |
| 878 '<(libgen_in_cc_file)', | |
| 879 '<@(_sources)', | |
| 880 ], | |
| 881 'outputs': [ | |
| 882 '<(platform_patch_cc_file)', | |
| 883 ], | |
| 884 'action': [ | |
| 885 'python', | |
| 886 'tools/gen_library_src_paths.py', | |
| 887 '--output', '<(platform_patch_cc_file)', | |
| 888 '--input_cc', '<(libgen_in_cc_file)', | |
| 889 '--include', 'vm/bootstrap.h', | |
| 890 '--var_name', 'dart::Bootstrap::platform_patch_paths_', | |
| 891 '--library_name', 'dart:platform', | |
| 892 '<@(_sources)', | |
| 893 ], | |
| 894 'message': 'Generating ''<(platform_patch_cc_file)'' file.' | |
| 895 }, | |
| 896 ] | |
| 897 }, | |
| 898 { | |
| 899 'target_name': 'generate_typed_data_cc_file', | 812 'target_name': 'generate_typed_data_cc_file', |
| 900 'type': 'none', | 813 'type': 'none', |
| 901 'toolsets':['host'], | 814 'toolsets':['host'], |
| 902 'includes': [ | 815 'includes': [ |
| 903 # Load the shared library sources. | 816 # Load the shared library sources. |
| 904 '../../sdk/lib/typed_data/typed_data_sources.gypi', | 817 '../../sdk/lib/typed_data/typed_data_sources.gypi', |
| 905 ], | 818 ], |
| 906 'sources/': [ | 819 'sources/': [ |
| 907 # Exclude all .[cc|h] files. | 820 # Exclude all .[cc|h] files. |
| 908 # This is only here for reference. Excludes happen after | 821 # This is only here for reference. Excludes happen after |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 '--include', 'INTENTIONALLY_LEFT_BLANK', | 944 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 1032 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 945 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 1033 '<(snapshot_test_dart_file)', | 946 '<(snapshot_test_dart_file)', |
| 1034 ], | 947 ], |
| 1035 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 948 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 1036 }, | 949 }, |
| 1037 ] | 950 ] |
| 1038 }, | 951 }, |
| 1039 ] | 952 ] |
| 1040 } | 953 } |
| OLD | NEW |