Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: runtime/vm/BUILD.gn

Issue 2567213002: Make list_files.py and list_dart_files.py return absolute paths for GN (Closed)
Patch Set: Comments and checking in scripts Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/pkg_files.gyp ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 ba ck 414 # We list all files which make up the sdk (modulo patches) and get them
415 # as a GN list object. 415 # back 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 [ "../../sdk/lib" ], 417 [
418 "absolute",
419 rebase_path("../../sdk/lib"),
420 ],
418 "list lines") 421 "list lines")
419 422
420 # We list the `patch_sdk.dart` tool here because the [script] (which is 423 # We list the `patch_sdk.dart` tool here because the [script] (which is
421 # implicitly an input) will call it. 424 # implicitly an input) will call it.
422 inputs = [ 425 inputs = [
423 "../../tools/patch_sdk.dart", 426 "../../tools/patch_sdk.dart",
424 ] 427 ]
425 428
426 # Files below are not patches, they will not be in [concatenation_files] b ut 429 # Files below are not patches, they will not be in [concatenation_files]
427 # the `patch_sdk.dart` script will copy them into the patched sdk. 430 # but the `patch_sdk.dart` script will copy them into the patched sdk.
428 inputs += [ 431 inputs += [
429 "../lib/typed_data.dart", 432 "../lib/typed_data.dart",
430 "../bin/builtin.dart", 433 "../bin/builtin.dart",
431 "../bin/vmservice/vmservice_io.dart", 434 "../bin/vmservice/vmservice_io.dart",
432 "../bin/vmservice/loader.dart", 435 "../bin/vmservice/loader.dart",
433 "../bin/vmservice/server.dart", 436 "../bin/vmservice/server.dart",
434 ] 437 ]
435 438
436 # Add all the normal sdk sources. 439 # Add all the normal sdk sources.
437 inputs += shared_sdk_sources 440 inputs += shared_sdk_sources
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 "../lib", 525 "../lib",
523 ], 526 ],
524 [ 527 [
525 "io", 528 "io",
526 processed_gypis.bin_io_sources, 529 processed_gypis.bin_io_sources,
527 "../bin", 530 "../bin",
528 ], 531 ],
529 ] 532 ]
530 } 533 }
531 } 534 }
OLDNEW
« no previous file with comments | « pkg/pkg_files.gyp ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698