| 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 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', | 7 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', |
| 8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', | 8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', |
| 9 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', | 9 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', |
| 10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 '--var_name', 'Builtin::builtin_source_', | 43 '--var_name', 'Builtin::builtin_source_', |
| 44 '<@(_sources)', | 44 '<@(_sources)', |
| 45 ], | 45 ], |
| 46 'message': 'Generating ''<(builtin_cc_file)'' file.' | 46 'message': 'Generating ''<(builtin_cc_file)'' file.' |
| 47 }, | 47 }, |
| 48 ] | 48 ] |
| 49 }, | 49 }, |
| 50 { | 50 { |
| 51 'target_name': 'generate_crypto_cc_file', | 51 'target_name': 'generate_crypto_cc_file', |
| 52 'type': 'none', | 52 'type': 'none', |
| 53 'variables': { |
| 54 'crypto_dart': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.dart', |
| 55 }, |
| 53 'includes': [ | 56 'includes': [ |
| 54 'crypto_sources.gypi', | 57 'crypto_sources.gypi', |
| 55 ], | 58 ], |
| 56 'actions': [ | 59 'actions': [ |
| 57 { | 60 { |
| 61 'action_name': 'generate_crypto_dart', |
| 62 'inputs': [ |
| 63 '../tools/concat_library.py', |
| 64 '<@(_sources)', |
| 65 ], |
| 66 'outputs': [ |
| 67 '<(crypto_dart)', |
| 68 ], |
| 69 'action': [ |
| 70 'python', |
| 71 '<@(_inputs)', |
| 72 '--output', '<(crypto_dart)', |
| 73 ], |
| 74 'message': 'Generating ''<(crypto_dart)'' file.', |
| 75 }, |
| 76 { |
| 58 'action_name': 'generate_crypto_cc', | 77 'action_name': 'generate_crypto_cc', |
| 59 'inputs': [ | 78 'inputs': [ |
| 60 '../tools/create_string_literal.py', | 79 '../tools/create_string_literal.py', |
| 61 '<(builtin_in_cc_file)', | 80 '<(builtin_in_cc_file)', |
| 62 '<@(_sources)', | 81 '<(crypto_dart)', |
| 63 ], | 82 ], |
| 64 'outputs': [ | 83 'outputs': [ |
| 65 '<(crypto_cc_file)', | 84 '<(crypto_cc_file)', |
| 66 ], | 85 ], |
| 67 'action': [ | 86 'action': [ |
| 68 'python', | 87 'python', |
| 69 'tools/create_string_literal.py', | 88 'tools/create_string_literal.py', |
| 70 '--output', '<(crypto_cc_file)', | 89 '--output', '<(crypto_cc_file)', |
| 71 '--input_cc', '<(builtin_in_cc_file)', | 90 '--input_cc', '<(builtin_in_cc_file)', |
| 72 '--include', 'bin/builtin.h', | 91 '--include', 'bin/builtin.h', |
| 73 '--var_name', 'Builtin::crypto_source_', | 92 '--var_name', 'Builtin::crypto_source_', |
| 74 '<@(_sources)', | 93 '<(crypto_dart)', |
| 75 ], | 94 ], |
| 76 'message': 'Generating ''<(crypto_cc_file)'' file.' | 95 'message': 'Generating ''<(crypto_cc_file)'' file.' |
| 77 }, | 96 }, |
| 78 ] | 97 ] |
| 79 }, | 98 }, |
| 80 { | 99 { |
| 81 'target_name': 'generate_io_cc_file', | 100 'target_name': 'generate_io_cc_file', |
| 82 'type': 'none', | 101 'type': 'none', |
| 102 'variables': { |
| 103 'io_dart': '<(SHARED_INTERMEDIATE_DIR)/io_gen.dart', |
| 104 }, |
| 83 'sources': [ | 105 'sources': [ |
| 84 'io.dart', | 106 'io.dart', |
| 85 ], | 107 ], |
| 86 'includes': [ | 108 'includes': [ |
| 87 '../../sdk/lib/io/iolib_sources.gypi', | 109 '../../sdk/lib/io/iolib_sources.gypi', |
| 88 ], | 110 ], |
| 89 'actions': [ | 111 'actions': [ |
| 90 { | 112 { |
| 113 'action_name': 'generate_io_dart', |
| 114 'inputs': [ |
| 115 '../tools/concat_library.py', |
| 116 '<@(_sources)', |
| 117 ], |
| 118 'outputs': [ |
| 119 '<(io_dart)', |
| 120 ], |
| 121 'action': [ |
| 122 'python', |
| 123 '<@(_inputs)', |
| 124 '--output', '<(io_dart)', |
| 125 ], |
| 126 'message': 'Generating ''<(io_dart)'' file.', |
| 127 }, |
| 128 { |
| 91 'action_name': 'generate_io_cc', | 129 'action_name': 'generate_io_cc', |
| 92 'inputs': [ | 130 'inputs': [ |
| 93 '../tools/create_string_literal.py', | 131 '../tools/create_string_literal.py', |
| 94 '<(builtin_in_cc_file)', | 132 '<(builtin_in_cc_file)', |
| 95 '<@(_sources)', | 133 '<(io_dart)', |
| 96 ], | 134 ], |
| 97 'outputs': [ | 135 'outputs': [ |
| 98 '<(io_cc_file)', | 136 '<(io_cc_file)', |
| 99 ], | 137 ], |
| 100 'action': [ | 138 'action': [ |
| 101 'python', | 139 'python', |
| 102 'tools/create_string_literal.py', | 140 'tools/create_string_literal.py', |
| 103 '--output', '<(io_cc_file)', | 141 '--output', '<(io_cc_file)', |
| 104 '--input_cc', '<(builtin_in_cc_file)', | 142 '--input_cc', '<(builtin_in_cc_file)', |
| 105 '--include', 'bin/builtin.h', | 143 '--include', 'bin/builtin.h', |
| 106 '--var_name', 'Builtin::io_source_', | 144 '--var_name', 'Builtin::io_source_', |
| 107 '<@(_sources)', | 145 '<(io_dart)', |
| 108 ], | 146 ], |
| 109 'message': 'Generating ''<(io_cc_file)'' file.' | 147 'message': 'Generating ''<(io_cc_file)'' file.' |
| 110 }, | 148 }, |
| 111 ] | 149 ] |
| 112 }, | 150 }, |
| 113 { | 151 { |
| 114 'target_name': 'generate_io_patch_cc_file', | 152 'target_name': 'generate_io_patch_cc_file', |
| 115 'type': 'none', | 153 'type': 'none', |
| 116 'includes': [ | 154 'includes': [ |
| 117 'io_sources.gypi', | 155 'io_sources.gypi', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 136 '--var_name', 'Builtin::io_patch_', | 174 '--var_name', 'Builtin::io_patch_', |
| 137 '<@(_sources)', | 175 '<@(_sources)', |
| 138 ], | 176 ], |
| 139 'message': 'Generating ''<(io_patch_cc_file)'' file.' | 177 'message': 'Generating ''<(io_patch_cc_file)'' file.' |
| 140 }, | 178 }, |
| 141 ] | 179 ] |
| 142 }, | 180 }, |
| 143 { | 181 { |
| 144 'target_name': 'generate_json_cc_file', | 182 'target_name': 'generate_json_cc_file', |
| 145 'type': 'none', | 183 'type': 'none', |
| 184 'variables': { |
| 185 'json_dart': '<(SHARED_INTERMEDIATE_DIR)/json_gen.dart', |
| 186 }, |
| 146 'includes': [ | 187 'includes': [ |
| 147 'json_sources.gypi', | 188 'json_sources.gypi', |
| 148 ], | 189 ], |
| 149 'actions': [ | 190 'actions': [ |
| 150 { | 191 { |
| 192 'action_name': 'generate_json_dart', |
| 193 'inputs': [ |
| 194 '../tools/concat_library.py', |
| 195 '<@(_sources)', |
| 196 ], |
| 197 'outputs': [ |
| 198 '<(json_dart)', |
| 199 ], |
| 200 'action': [ |
| 201 'python', |
| 202 '<@(_inputs)', |
| 203 '--output', '<(json_dart)', |
| 204 ], |
| 205 'message': 'Generating ''<(json_dart)'' file.', |
| 206 }, |
| 207 { |
| 151 'action_name': 'generate_json_cc', | 208 'action_name': 'generate_json_cc', |
| 152 'inputs': [ | 209 'inputs': [ |
| 153 '../tools/create_string_literal.py', | 210 '../tools/create_string_literal.py', |
| 154 '<(builtin_in_cc_file)', | 211 '<(builtin_in_cc_file)', |
| 155 '<@(_sources)', | 212 '<(json_dart)', |
| 156 ], | 213 ], |
| 157 'outputs': [ | 214 'outputs': [ |
| 158 '<(json_cc_file)', | 215 '<(json_cc_file)', |
| 159 ], | 216 ], |
| 160 'action': [ | 217 'action': [ |
| 161 'python', | 218 'python', |
| 162 'tools/create_string_literal.py', | 219 'tools/create_string_literal.py', |
| 163 '--output', '<(json_cc_file)', | 220 '--output', '<(json_cc_file)', |
| 164 '--input_cc', '<(builtin_in_cc_file)', | 221 '--input_cc', '<(builtin_in_cc_file)', |
| 165 '--include', 'bin/builtin.h', | 222 '--include', 'bin/builtin.h', |
| 166 '--var_name', 'Builtin::json_source_', | 223 '--var_name', 'Builtin::json_source_', |
| 167 '<@(_sources)', | 224 '<(json_dart)', |
| 168 ], | 225 ], |
| 169 'message': 'Generating ''<(json_cc_file)'' file.' | 226 'message': 'Generating ''<(json_cc_file)'' file.' |
| 170 }, | 227 }, |
| 171 ] | 228 ] |
| 172 }, | 229 }, |
| 173 { | 230 { |
| 174 'target_name': 'generate_uri_cc_file', | 231 'target_name': 'generate_uri_cc_file', |
| 175 'type': 'none', | 232 'type': 'none', |
| 233 'variables': { |
| 234 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart', |
| 235 }, |
| 176 'includes': [ | 236 'includes': [ |
| 177 'uri_sources.gypi', | 237 'uri_sources.gypi', |
| 178 ], | 238 ], |
| 179 'variables': { | |
| 180 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri.dart', | |
| 181 }, | |
| 182 'actions': [ | 239 'actions': [ |
| 183 { | 240 { |
| 184 'action_name': 'generate_uri_dart', | 241 'action_name': 'generate_uri_dart', |
| 185 'inputs': [ | 242 'inputs': [ |
| 186 '../tools/concat_library.py', | 243 '../tools/concat_library.py', |
| 187 '<@(_sources)', | 244 '<@(_sources)', |
| 188 ], | 245 ], |
| 189 'outputs': [ | 246 'outputs': [ |
| 190 '<(uri_dart)', | 247 '<(uri_dart)', |
| 191 ], | 248 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 215 '--var_name', 'Builtin::uri_source_', | 272 '--var_name', 'Builtin::uri_source_', |
| 216 '<(uri_dart)', | 273 '<(uri_dart)', |
| 217 ], | 274 ], |
| 218 'message': 'Generating ''<(uri_cc_file)'' file.' | 275 'message': 'Generating ''<(uri_cc_file)'' file.' |
| 219 }, | 276 }, |
| 220 ] | 277 ] |
| 221 }, | 278 }, |
| 222 { | 279 { |
| 223 'target_name': 'generate_utf_cc_file', | 280 'target_name': 'generate_utf_cc_file', |
| 224 'type': 'none', | 281 'type': 'none', |
| 282 'variables': { |
| 283 'utf_dart': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.dart', |
| 284 }, |
| 225 'includes': [ | 285 'includes': [ |
| 226 'utf_sources.gypi', | 286 'utf_sources.gypi', |
| 227 ], | 287 ], |
| 228 'actions': [ | 288 'actions': [ |
| 229 { | 289 { |
| 290 'action_name': 'generate_utf_dart', |
| 291 'inputs': [ |
| 292 '../tools/concat_library.py', |
| 293 '<@(_sources)', |
| 294 ], |
| 295 'outputs': [ |
| 296 '<(utf_dart)', |
| 297 ], |
| 298 'action': [ |
| 299 'python', |
| 300 '<@(_inputs)', |
| 301 '--output', '<(utf_dart)', |
| 302 ], |
| 303 'message': 'Generating ''<(utf_dart)'' file.', |
| 304 }, |
| 305 { |
| 230 'action_name': 'generate_utf_cc', | 306 'action_name': 'generate_utf_cc', |
| 231 'inputs': [ | 307 'inputs': [ |
| 232 '../tools/create_string_literal.py', | 308 '../tools/create_string_literal.py', |
| 233 '<(builtin_in_cc_file)', | 309 '<(builtin_in_cc_file)', |
| 234 '<@(_sources)', | 310 '<(utf_dart)', |
| 235 ], | 311 ], |
| 236 'outputs': [ | 312 'outputs': [ |
| 237 '<(utf_cc_file)', | 313 '<(utf_cc_file)', |
| 238 ], | 314 ], |
| 239 'action': [ | 315 'action': [ |
| 240 'python', | 316 'python', |
| 241 'tools/create_string_literal.py', | 317 'tools/create_string_literal.py', |
| 242 '--output', '<(utf_cc_file)', | 318 '--output', '<(utf_cc_file)', |
| 243 '--input_cc', '<(builtin_in_cc_file)', | 319 '--input_cc', '<(builtin_in_cc_file)', |
| 244 '--include', 'bin/builtin.h', | 320 '--include', 'bin/builtin.h', |
| 245 '--var_name', 'Builtin::utf_source_', | 321 '--var_name', 'Builtin::utf_source_', |
| 246 '<@(_sources)', | 322 '<(utf_dart)', |
| 247 ], | 323 ], |
| 248 'message': 'Generating ''<(utf_cc_file)'' file.' | 324 'message': 'Generating ''<(utf_cc_file)'' file.' |
| 249 }, | 325 }, |
| 250 ] | 326 ] |
| 251 }, | 327 }, |
| 252 { | 328 { |
| 253 'target_name': 'libdart_builtin', | 329 'target_name': 'libdart_builtin', |
| 254 'type': 'static_library', | 330 'type': 'static_library', |
| 255 'dependencies': [ | 331 'dependencies': [ |
| 256 'generate_builtin_cc_file', | 332 'generate_builtin_cc_file', |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 ['OS=="mac"', { | 709 ['OS=="mac"', { |
| 634 'xcode_settings': { | 710 'xcode_settings': { |
| 635 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | 711 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
| 636 }, | 712 }, |
| 637 }], | 713 }], |
| 638 ], | 714 ], |
| 639 }, | 715 }, |
| 640 ], | 716 ], |
| 641 } | 717 } |
| 642 | 718 |
| OLD | NEW |