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

Issue 2391863002: Tweak how the pkg files timestamps are created. (Closed)

Created:
4 years, 2 months ago by Bob Nystrom
Modified:
4 years, 2 months ago
Reviewers:
ahe, Bill Hesse
CC:
reviews_dartlang.org, Brian Wilkerson, scheglov
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Tweak how the pkg files timestamps are created. The acute problem this solves is that hacking on DDC generates a large number of files into its gen/ directory. It's enough files that once you have done that, the SDK no longer builds successfully because it chokes on them all. To fix that, instead of using list_files.py, I made a little list_dart_files.py that is explicitly for Dart files and knows to exclude gen/ and tests. This also avoids needing the sort of hairy regexes to match different sets of files. As far as I can tell, this works, but GYP is pretty mysterious to me, so let me know if I got something wrong or there is a better way to do it. R=whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/8b6ceefca8457affe3cca51a9a39cfddb8ab1ac8

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -23 lines) Patch
M pkg/pkg_files.gyp View 5 chunks +15 lines, -23 lines 0 comments Download
A tools/list_dart_files.py View 1 chunk +43 lines, -0 lines 1 comment Download

Messages

Total messages: 7 (3 generated)
Bob Nystrom
4 years, 2 months ago (2016-10-03 23:36:24 UTC) #2
Bill Hesse
lgtm https://codereview.chromium.org/2391863002/diff/1/tools/list_dart_files.py File tools/list_dart_files.py (right): https://codereview.chromium.org/2391863002/diff/1/tools/list_dart_files.py#newcode4 tools/list_dart_files.py:4: # BSD-style license that can be found in ...
4 years, 2 months ago (2016-10-04 08:57:18 UTC) #4
Bob Nystrom
On 2016/10/04 08:57:18, Bill Hesse wrote: > lgtm > > https://codereview.chromium.org/2391863002/diff/1/tools/list_dart_files.py > File tools/list_dart_files.py (right): ...
4 years, 2 months ago (2016-10-04 14:57:43 UTC) #5
Bob Nystrom
4 years, 2 months ago (2016-10-04 23:56:16 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
8b6ceefca8457affe3cca51a9a39cfddb8ab1ac8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698