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

Issue 688443007: Only write .in outputs if they have changed. (Closed)

Created:
6 years, 1 month ago by jbroman
Modified:
6 years, 1 month ago
Reviewers:
Dirk Pranke
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Only write .in outputs if they have changed. This reduces the number of targets that have to be built when changing the status of a runtime-enabled feature dramatically (for content_shell, from 1229 to 44), because these changes only affect the source file and not the header. In such cases, ninja notices when the modification time is left alone, and it can propagate this "clean" (not changed) state to dependent targets. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185134

Patch Set 1 #

Total comments: 2

Patch Set 2 : rename function (per dpranke) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -15 lines) Patch
M Source/build/scripts/in_generator.py View 1 1 chunk +12 lines, -15 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
jbroman
Seems like a straightforward enough change; I'd been getting annoyed that REF.in changes always triggered ...
6 years, 1 month ago (2014-11-10 21:12:55 UTC) #2
Dirk Pranke
lgtm w/ nit, below ... https://codereview.chromium.org/688443007/diff/1/Source/build/scripts/in_generator.py File Source/build/scripts/in_generator.py (right): https://codereview.chromium.org/688443007/diff/1/Source/build/scripts/in_generator.py#newcode58 Source/build/scripts/in_generator.py:58: def _write_file(self, output_dir, contents, ...
6 years, 1 month ago (2014-11-10 22:04:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/688443007/20001
6 years, 1 month ago (2014-11-11 15:24:36 UTC) #5
jbroman
https://codereview.chromium.org/688443007/diff/1/Source/build/scripts/in_generator.py File Source/build/scripts/in_generator.py (right): https://codereview.chromium.org/688443007/diff/1/Source/build/scripts/in_generator.py#newcode58 Source/build/scripts/in_generator.py:58: def _write_file(self, output_dir, contents, file_name): On 2014/11/10 22:04:56, Dirk ...
6 years, 1 month ago (2014-11-11 15:30:54 UTC) #6
commit-bot: I haz the power
6 years, 1 month ago (2014-11-11 17:09:47 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 185134

Powered by Google App Engine
This is Rietveld 408576698