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

Issue 2729503006: GN: change the way we specify dependencies for the patched_sdk target. (Closed)

Created:
3 years, 9 months ago by Vyacheslav Egorov (Google)
Modified:
3 years, 9 months ago
Reviewers:
ahe, jamesr1, kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

GN: change the way we specify dependencies for the patched_sdk target. Instead of listing all files as inputs in GN script using Python helper we make patch_sdk.dart generate a depfile that Ninja can use: https://ninja-build.org/manual.html#_depfile This prevents breakages when some dependencies are deleted and GN is not rerun. R=ahe@google.com, kustermann@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/c0c87b0afdad33b5fcb5a9543f7ba6db0ab27da1

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -105 lines) Patch
M pkg/front_end/lib/src/fasta/outline.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/BUILD.gn View 3 chunks +2 lines, -45 lines 0 comments Download
M tools/patch_sdk.dart View 1 14 chunks +114 lines, -58 lines 0 comments Download
M tools/patch_sdk.py View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
Vyacheslav Egorov (Google)
3 years, 9 months ago (2017-03-03 12:52:03 UTC) #1
kustermann
LGTM https://codereview.chromium.org/2729503006/diff/1/tools/patch_sdk.dart File tools/patch_sdk.dart (right): https://codereview.chromium.org/2729503006/diff/1/tools/patch_sdk.dart#newcode21 tools/patch_sdk.dart:21: import 'package:front_end/src/fasta/compiler_command_line.dart' show CompilerCommandLine; nit: long line https://codereview.chromium.org/2729503006/diff/1/tools/patch_sdk.dart#newcode44 ...
3 years, 9 months ago (2017-03-03 13:23:08 UTC) #2
Vyacheslav Egorov (Google)
Hi Peter, Could you take a look at a change to outline.dart I made: I ...
3 years, 9 months ago (2017-03-03 13:49:15 UTC) #4
ahe
Changes to outline.dart, LGTM! Thank you.
3 years, 9 months ago (2017-03-03 13:51:40 UTC) #5
Vyacheslav Egorov (Google)
Committed patchset #2 (id:20001) manually as c0c87b0afdad33b5fcb5a9543f7ba6db0ab27da1 (presubmit successful).
3 years, 9 months ago (2017-03-03 13:52:55 UTC) #7
jamesr1
This appears to be slightly wrong when cross-compiling. In the Fuchsia build, which runs this ...
3 years, 9 months ago (2017-03-25 01:14:41 UTC) #9
jamesr1
Looks like the logic in https://github.com/dart-lang/sdk/blob/master/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart#L286 is wrong - it assumes the first entry (the ...
3 years, 9 months ago (2017-03-27 21:26:50 UTC) #10
jamesr1
3 years, 9 months ago (2017-03-27 21:41:23 UTC) #11
Message was sent while issue was closed.
Patch uploaded: https://codereview.chromium.org/2776323002

Powered by Google App Engine
This is Rietveld 408576698