| 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': '<(LIB_DIR)', | 7     'gen_source_dir': '<(LIB_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     'crypto_cc_file': '<(gen_source_dir)/crypto_gen.cc', | 18     'crypto_cc_file': '<(gen_source_dir)/crypto_gen.cc', | 
| 19     'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 19     'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 
| 20     'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 20     'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 
| 21     'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 21     'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 
| 22     'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 22     'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 
| 23     'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | 23     'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | 
| 24     'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | 24     'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | 
| 25     'json_cc_file': '<(gen_source_dir)/json_gen.cc', | 25     'json_cc_file': '<(gen_source_dir)/json_gen.cc', | 
| 26     'json_patch_cc_file': '<(gen_source_dir)/json_patch_gen.cc', | 26     'json_patch_cc_file': '<(gen_source_dir)/json_patch_gen.cc', | 
| 27     'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 27     'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 
| 28     'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', | 28     'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', | 
| 29     'uri_cc_file': '<(gen_source_dir)/uri_gen.cc', |  | 
| 30     'utf_cc_file': '<(gen_source_dir)/utf_gen.cc', | 29     'utf_cc_file': '<(gen_source_dir)/utf_gen.cc', | 
| 31     'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 30     'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 
| 32     'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 31     'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 
| 33     'snapshot_test_dart_file': 'snapshot_test.dart', | 32     'snapshot_test_dart_file': 'snapshot_test.dart', | 
| 34   }, | 33   }, | 
| 35   'targets': [ | 34   'targets': [ | 
| 36     { | 35     { | 
| 37       'target_name': 'libdart_vm', | 36       'target_name': 'libdart_vm', | 
| 38       'type': 'static_library', | 37       'type': 'static_library', | 
| 39       'toolsets':['host', 'target'], | 38       'toolsets':['host', 'target'], | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 107         'generate_math_cc_file', | 106         'generate_math_cc_file', | 
| 108         'generate_math_patch_cc_file', | 107         'generate_math_patch_cc_file', | 
| 109         'generate_isolate_cc_file', | 108         'generate_isolate_cc_file', | 
| 110         'generate_isolate_patch_cc_file', | 109         'generate_isolate_patch_cc_file', | 
| 111         'generate_json_cc_file', | 110         'generate_json_cc_file', | 
| 112         'generate_json_patch_cc_file', | 111         'generate_json_patch_cc_file', | 
| 113         'generate_mirrors_cc_file', | 112         'generate_mirrors_cc_file', | 
| 114         'generate_mirrors_patch_cc_file', | 113         'generate_mirrors_patch_cc_file', | 
| 115         'generate_typed_data_cc_file', | 114         'generate_typed_data_cc_file', | 
| 116         'generate_typed_data_patch_cc_file', | 115         'generate_typed_data_patch_cc_file', | 
| 117         'generate_uri_cc_file', |  | 
| 118         'generate_utf_cc_file', | 116         'generate_utf_cc_file', | 
| 119       ], | 117       ], | 
| 120       'includes': [ | 118       'includes': [ | 
| 121         '../lib/async_sources.gypi', | 119         '../lib/async_sources.gypi', | 
| 122         '../lib/collection_sources.gypi', | 120         '../lib/collection_sources.gypi', | 
| 123         '../lib/corelib_sources.gypi', | 121         '../lib/corelib_sources.gypi', | 
| 124         '../lib/isolate_sources.gypi', | 122         '../lib/isolate_sources.gypi', | 
| 125         '../lib/math_sources.gypi', | 123         '../lib/math_sources.gypi', | 
| 126         '../lib/mirrors_sources.gypi', | 124         '../lib/mirrors_sources.gypi', | 
| 127         '../lib/typed_data_sources.gypi', | 125         '../lib/typed_data_sources.gypi', | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
| 141         '<(math_cc_file)', | 139         '<(math_cc_file)', | 
| 142         '<(math_patch_cc_file)', | 140         '<(math_patch_cc_file)', | 
| 143         '<(isolate_cc_file)', | 141         '<(isolate_cc_file)', | 
| 144         '<(isolate_patch_cc_file)', | 142         '<(isolate_patch_cc_file)', | 
| 145         '<(json_cc_file)', | 143         '<(json_cc_file)', | 
| 146         '<(json_patch_cc_file)', | 144         '<(json_patch_cc_file)', | 
| 147         '<(mirrors_cc_file)', | 145         '<(mirrors_cc_file)', | 
| 148         '<(mirrors_patch_cc_file)', | 146         '<(mirrors_patch_cc_file)', | 
| 149         '<(typed_data_cc_file)', | 147         '<(typed_data_cc_file)', | 
| 150         '<(typed_data_patch_cc_file)', | 148         '<(typed_data_patch_cc_file)', | 
| 151         '<(uri_cc_file)', |  | 
| 152         '<(utf_cc_file)', | 149         '<(utf_cc_file)', | 
| 153       ], | 150       ], | 
| 154       'include_dirs': [ | 151       'include_dirs': [ | 
| 155         '..', | 152         '..', | 
| 156       ], | 153       ], | 
| 157     }, | 154     }, | 
| 158     { | 155     { | 
| 159       'target_name': 'libdart_lib', | 156       'target_name': 'libdart_lib', | 
| 160       'type': 'static_library', | 157       'type': 'static_library', | 
| 161       'toolsets':['host', 'target'], | 158       'toolsets':['host', 'target'], | 
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 914             '--include', 'vm/bootstrap.h', | 911             '--include', 'vm/bootstrap.h', | 
| 915             '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', | 912             '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', | 
| 916             '--library_name', 'dart:typed_data', | 913             '--library_name', 'dart:typed_data', | 
| 917             '<@(_sources)', | 914             '<@(_sources)', | 
| 918           ], | 915           ], | 
| 919           'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' | 916           'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' | 
| 920         }, | 917         }, | 
| 921       ] | 918       ] | 
| 922     }, | 919     }, | 
| 923     { | 920     { | 
| 924       'target_name': 'generate_uri_cc_file', |  | 
| 925       'type': 'none', |  | 
| 926       'toolsets':['host', 'target'], |  | 
| 927       'includes': [ |  | 
| 928         # Load the shared uri sources. |  | 
| 929         '../../sdk/lib/uri/uri_sources.gypi', |  | 
| 930       ], |  | 
| 931       'actions': [ |  | 
| 932         { |  | 
| 933           'action_name': 'generate_uri_cc', |  | 
| 934           'inputs': [ |  | 
| 935             '../tools/gen_library_src_paths.py', |  | 
| 936             '<(libgen_in_cc_file)', |  | 
| 937             '<@(_sources)', |  | 
| 938           ], |  | 
| 939           'outputs': [ |  | 
| 940             '<(uri_cc_file)', |  | 
| 941           ], |  | 
| 942           'action': [ |  | 
| 943             'python', |  | 
| 944             'tools/gen_library_src_paths.py', |  | 
| 945             '--output', '<(uri_cc_file)', |  | 
| 946             '--input_cc', '<(libgen_in_cc_file)', |  | 
| 947             '--include', 'vm/bootstrap.h', |  | 
| 948             '--var_name', 'dart::Bootstrap::uri_source_paths_', |  | 
| 949             '--library_name', 'dart:uri', |  | 
| 950             '<@(_sources)', |  | 
| 951           ], |  | 
| 952           'message': 'Generating ''<(uri_cc_file)'' file.' |  | 
| 953         }, |  | 
| 954       ] |  | 
| 955     }, |  | 
| 956     { |  | 
| 957       'target_name': 'generate_utf_cc_file', | 921       'target_name': 'generate_utf_cc_file', | 
| 958       'type': 'none', | 922       'type': 'none', | 
| 959       'toolsets':['host', 'target'], | 923       'toolsets':['host', 'target'], | 
| 960       'includes': [ | 924       'includes': [ | 
| 961         # Load the shared utf sources. | 925         # Load the shared utf sources. | 
| 962         '../../sdk/lib/utf/utf_sources.gypi', | 926         '../../sdk/lib/utf/utf_sources.gypi', | 
| 963       ], | 927       ], | 
| 964       'actions': [ | 928       'actions': [ | 
| 965         { | 929         { | 
| 966           'action_name': 'generate_utf_cc', | 930           'action_name': 'generate_utf_cc', | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1009             '--include', 'INTENTIONALLY_LEFT_BLANK', | 973             '--include', 'INTENTIONALLY_LEFT_BLANK', | 
| 1010             '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 974             '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 
| 1011             '<(snapshot_test_dart_file)', | 975             '<(snapshot_test_dart_file)', | 
| 1012           ], | 976           ], | 
| 1013           'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 977           'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 
| 1014         }, | 978         }, | 
| 1015       ] | 979       ] | 
| 1016     }, | 980     }, | 
| 1017   ] | 981   ] | 
| 1018 } | 982 } | 
| OLD | NEW | 
|---|