| OLD | NEW |
| 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2014, 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 import("../../build/executable_suffix.gni") | 5 import("../../build/executable_suffix.gni") |
| 6 import("../../build/prebuilt_dart_sdk.gni") | 6 import("../../build/prebuilt_dart_sdk.gni") |
| 7 import("gypi_contents.gni") | 7 import("gypi_contents.gni") |
| 8 | 8 |
| 9 config("libdart_vm_config") { | 9 config("libdart_vm_config") { |
| 10 if (defined(is_fuchsia) && is_fuchsia) { | 10 if (defined(is_fuchsia) && is_fuchsia) { |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 deps = concatenation_target_names | 404 deps = concatenation_target_names |
| 405 if (!prebuilt_dart_exe_works) { | 405 if (!prebuilt_dart_exe_works) { |
| 406 deps += [ "../bin:dart_bootstrap($host_toolchain)" ] | 406 deps += [ "../bin:dart_bootstrap($host_toolchain)" ] |
| 407 } | 407 } |
| 408 | 408 |
| 409 patches_dir = "$target_gen_dir/patches" | 409 patches_dir = "$target_gen_dir/patches" |
| 410 patched_sdk_dir = "$root_out_dir/patched_sdk" | 410 patched_sdk_dir = "$root_out_dir/patched_sdk" |
| 411 | 411 |
| 412 script = "../../tools/patch_sdk.py" | 412 script = "../../tools/patch_sdk.py" |
| 413 | 413 |
| 414 # We list all files which make up the sdk (modulo patches) and get them | 414 # We list all files which make up the sdk (modulo patches) and get them ba
ck |
| 415 # back as a GN list object. | 415 # as a GN list object. |
| 416 shared_sdk_sources = exec_script("../../tools/list_dart_files.py", | 416 shared_sdk_sources = exec_script("../../tools/list_dart_files.py", |
| 417 [ rebase_path("../../sdk/lib") ], | 417 [ "../../sdk/lib" ], |
| 418 "list lines") | 418 "list lines") |
| 419 | 419 |
| 420 # We list the `patch_sdk.dart` tool here because the [script] (which is | 420 # We list the `patch_sdk.dart` tool here because the [script] (which is |
| 421 # implicitly an input) will call it. | 421 # implicitly an input) will call it. |
| 422 inputs = [ | 422 inputs = [ |
| 423 "../../tools/patch_sdk.dart", | 423 "../../tools/patch_sdk.dart", |
| 424 ] | 424 ] |
| 425 | 425 |
| 426 # Files below are not patches, they will not be in [concatenation_files] | 426 # Files below are not patches, they will not be in [concatenation_files] b
ut |
| 427 # but the `patch_sdk.dart` script will copy them into the patched sdk. | 427 # the `patch_sdk.dart` script will copy them into the patched sdk. |
| 428 inputs += [ | 428 inputs += [ |
| 429 "../lib/typed_data.dart", | 429 "../lib/typed_data.dart", |
| 430 "../bin/builtin.dart", | 430 "../bin/builtin.dart", |
| 431 "../bin/vmservice/vmservice_io.dart", | 431 "../bin/vmservice/vmservice_io.dart", |
| 432 "../bin/vmservice/loader.dart", | 432 "../bin/vmservice/loader.dart", |
| 433 "../bin/vmservice/server.dart", | 433 "../bin/vmservice/server.dart", |
| 434 ] | 434 ] |
| 435 | 435 |
| 436 # Add all the normal sdk sources. | 436 # Add all the normal sdk sources. |
| 437 inputs += shared_sdk_sources | 437 inputs += shared_sdk_sources |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 "../lib", | 522 "../lib", |
| 523 ], | 523 ], |
| 524 [ | 524 [ |
| 525 "io", | 525 "io", |
| 526 processed_gypis.bin_io_sources, | 526 processed_gypis.bin_io_sources, |
| 527 "../bin", | 527 "../bin", |
| 528 ], | 528 ], |
| 529 ] | 529 ] |
| 530 } | 530 } |
| 531 } | 531 } |
| OLD | NEW |