| OLD | NEW |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, 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 'corelib_in_cc_file': 'corelib_in.cc', | 7 'corelib_in_cc_file': 'corelib_in.cc', |
| 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', | 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', |
| 9 'corelib_impl_in_cc_file': 'corelib_impl_in.cc', | 9 'corelib_impl_in_cc_file': 'corelib_impl_in.cc', |
| 10 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', | 10 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', |
| 11 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 11 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', |
| 12 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 12 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| 13 'snapshot_test_dart_file': 'snapshot_test.dart', | 13 'snapshot_test_dart_file': 'snapshot_test.dart', |
| 14 'cygwin_dir': '../../third_party/cygwin', |
| 14 }, | 15 }, |
| 15 'targets': [ | 16 'targets': [ |
| 16 { | 17 { |
| 17 'target_name': 'libdart_vm', | 18 'target_name': 'libdart_vm', |
| 18 'type': 'static_library', | 19 'type': 'static_library', |
| 19 'includes': [ | 20 'includes': [ |
| 20 'vm_sources.gypi', | 21 'vm_sources.gypi', |
| 21 ], | 22 ], |
| 22 'sources/': [ | 23 'sources/': [ |
| 23 # Exclude all _test.[cc|h] files. | 24 # Exclude all _test.[cc|h] files. |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 ], | 83 ], |
| 83 'sources': [ | 84 'sources': [ |
| 84 '../vm/dart_api_impl.cc', | 85 '../vm/dart_api_impl.cc', |
| 85 ], | 86 ], |
| 86 }, | 87 }, |
| 87 { | 88 { |
| 88 'target_name': 'generate_corelib_cc_file', | 89 'target_name': 'generate_corelib_cc_file', |
| 89 'type': 'none', | 90 'type': 'none', |
| 90 'conditions': [ | 91 'conditions': [ |
| 91 ['OS=="win"', { | 92 ['OS=="win"', { |
| 92 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 93 'msvs_cygwin_dirs': ['<(cygwin_dir)'], |
| 93 }], | 94 }], |
| 94 ], | 95 ], |
| 95 'includes': [ | 96 'includes': [ |
| 96 # Load the runtime implementation sources. | 97 # Load the runtime implementation sources. |
| 97 '../lib/lib_sources.gypi', | 98 '../lib/lib_sources.gypi', |
| 98 # Load the shared core library sources. | 99 # Load the shared core library sources. |
| 99 '../../corelib/src/corelib_sources.gypi', | 100 '../../corelib/src/corelib_sources.gypi', |
| 100 ], | 101 ], |
| 101 'sources/': [ | 102 'sources/': [ |
| 102 # Exclude all .[cc|h] files. | 103 # Exclude all .[cc|h] files. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 125 ], | 126 ], |
| 126 'message': 'Generating ''<(corelib_cc_file)'' file.' | 127 'message': 'Generating ''<(corelib_cc_file)'' file.' |
| 127 }, | 128 }, |
| 128 ] | 129 ] |
| 129 }, | 130 }, |
| 130 { | 131 { |
| 131 'target_name': 'generate_corelib_impl_cc_file', | 132 'target_name': 'generate_corelib_impl_cc_file', |
| 132 'type': 'none', | 133 'type': 'none', |
| 133 'conditions': [ | 134 'conditions': [ |
| 134 ['OS=="win"', { | 135 ['OS=="win"', { |
| 135 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 136 'msvs_cygwin_dirs': ['<(cygwin_dir)'], |
| 136 }], | 137 }], |
| 137 ], | 138 ], |
| 138 'includes': [ | 139 'includes': [ |
| 139 # Load the runtime implementation sources. | 140 # Load the runtime implementation sources. |
| 140 '../lib/lib_impl_sources.gypi', | 141 '../lib/lib_impl_sources.gypi', |
| 141 # Load the shared core library sources. | 142 # Load the shared core library sources. |
| 142 '../../corelib/src/implementation/corelib_impl_sources.gypi', | 143 '../../corelib/src/implementation/corelib_impl_sources.gypi', |
| 143 ], | 144 ], |
| 144 'sources/': [ | 145 'sources/': [ |
| 145 # Exclude all .[cc|h] files. | 146 # Exclude all .[cc|h] files. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 168 ], | 169 ], |
| 169 'message': 'Generating ''<(corelib_impl_cc_file)'' file.' | 170 'message': 'Generating ''<(corelib_impl_cc_file)'' file.' |
| 170 }, | 171 }, |
| 171 ] | 172 ] |
| 172 }, | 173 }, |
| 173 { | 174 { |
| 174 'target_name': 'generate_snapshot_test_dat_file', | 175 'target_name': 'generate_snapshot_test_dat_file', |
| 175 'type': 'none', | 176 'type': 'none', |
| 176 'conditions': [ | 177 'conditions': [ |
| 177 ['OS=="win"', { | 178 ['OS=="win"', { |
| 178 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 179 'msvs_cygwin_dirs': ['<(cygwin_dir)'], |
| 179 }], | 180 }], |
| 180 ], | 181 ], |
| 181 'actions': [ | 182 'actions': [ |
| 182 { | 183 { |
| 183 'action_name': 'generate_snapshot_test_dat', | 184 'action_name': 'generate_snapshot_test_dat', |
| 184 'inputs': [ | 185 'inputs': [ |
| 185 '../tools/create_string_literal.py', | 186 '../tools/create_string_literal.py', |
| 186 '<(snapshot_test_in_dat_file)', | 187 '<(snapshot_test_in_dat_file)', |
| 187 '<(snapshot_test_dart_file)', | 188 '<(snapshot_test_dart_file)', |
| 188 ], | 189 ], |
| 189 'outputs': [ | 190 'outputs': [ |
| 190 '<(snapshot_test_dat_file)', | 191 '<(snapshot_test_dat_file)', |
| 191 ], | 192 ], |
| 192 'action': [ | 193 'action': [ |
| 193 'python', | 194 'python', |
| 194 'tools/create_string_literal.py', | 195 'tools/create_string_literal.py', |
| 195 '--output', '<(snapshot_test_dat_file)', | 196 '--output', '<(snapshot_test_dat_file)', |
| 196 '--input_cc', '<(snapshot_test_in_dat_file)', | 197 '--input_cc', '<(snapshot_test_in_dat_file)', |
| 197 '<(snapshot_test_dart_file)', | 198 '<(snapshot_test_dart_file)', |
| 198 ], | 199 ], |
| 199 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 200 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 200 }, | 201 }, |
| 201 ] | 202 ] |
| 202 }, | 203 }, |
| 203 ] | 204 ] |
| 204 } | 205 } |
| OLD | NEW |