OLD | NEW |
1 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2017, 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 # The SDK for Fuchsia does not include: | 5 # The SDK for Fuchsia does not include: |
6 # dart2js | 6 # dart2js |
7 # dartdoc | 7 # dartdoc |
8 # ddc | 8 # ddc |
9 # and libraries that are browser-specific, since these are not used and require | 9 # and libraries that are browser-specific, since these are not used and require |
10 # significant time to build. | 10 # significant time to build. |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 ] | 380 ] |
381 | 381 |
382 script = "../tools/create_sdk.py" | 382 script = "../tools/create_sdk.py" |
383 args = [ | 383 args = [ |
384 "--sdk_output_dir", | 384 "--sdk_output_dir", |
385 rebase_path("$root_out_dir/dart-sdk"), | 385 rebase_path("$root_out_dir/dart-sdk"), |
386 "--snapshot_location", | 386 "--snapshot_location", |
387 rebase_path("$root_gen_dir"), | 387 rebase_path("$root_gen_dir"), |
388 ] | 388 ] |
389 } | 389 } |
| 390 |
| 391 copy("copy_dev_compiler_tools") { |
| 392 deps = [ |
| 393 ":create_sdk", |
| 394 "../utils/dartdevc:dartdevc_web", |
| 395 "../utils/dartdevc:stack_trace_mapper", |
| 396 ] |
| 397 dart_out = get_label_info("../utils/dartdevc:dartdevc_web", "root_out_dir") |
| 398 sources = [ |
| 399 "$dart_out/dev_compiler/build/web/ddc_web_compiler.js", |
| 400 "$dart_out/dev_compiler/build/web/dart_stack_trace_mapper.js", |
| 401 ] |
| 402 outputs = [ |
| 403 "$root_out_dir/dart-sdk/lib/dev_compiler/web/{{source_file_part}}", |
| 404 ] |
| 405 } |
390 } | 406 } |
OLD | NEW |