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

Issue 2071573003: GN: Use implicit dependency for binary input deps (Closed)

Created:
4 years, 6 months ago by Petr Hosek
Modified:
4 years, 6 months ago
CC:
chromium-reviews, Dirk Pranke, tfarina, Robert Sesek
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Use implicit dependency for binary input deps This is to ensure that the input gets rebuilt when the depencies change even when they are not included in the depfile generated by the compiler. BUG=612623 Committed: https://crrev.com/57ac2eae0f67ef9310e2fad40258b1d45ac82435 Cr-Commit-Position: refs/heads/master@{#400515}

Patch Set 1 #

Patch Set 2 : Update tests #

Total comments: 4

Patch Set 3 : Use implicit dependencies only for inputs #

Total comments: 4

Patch Set 4 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -35 lines) Patch
M tools/gn/docs/reference.md View 1 2 3 1 chunk +5 lines, -7 lines 0 comments Download
M tools/gn/ninja_binary_target_writer.h View 1 2 4 chunks +11 lines, -0 lines 0 comments Download
M tools/gn/ninja_binary_target_writer.cc View 1 2 16 chunks +65 lines, -12 lines 0 comments Download
M tools/gn/ninja_binary_target_writer_unittest.cc View 1 2 1 chunk +82 lines, -0 lines 0 comments Download
M tools/gn/ninja_target_writer.cc View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M tools/gn/ninja_target_writer_unittest.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M tools/gn/variables.cc View 1 2 3 1 chunk +5 lines, -7 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
Petr Hosek
4 years, 6 months ago (2016-06-15 17:27:04 UTC) #3
Dirk Pranke
Am I correct in thinking that this should address crbug.com/612623 ? If so, that'd be ...
4 years, 6 months ago (2016-06-15 22:48:58 UTC) #5
Petr Hosek
On 2016/06/15 22:48:58, Dirk Pranke wrote: > Am I correct in thinking that this should ...
4 years, 6 months ago (2016-06-15 23:17:04 UTC) #7
Robert Sesek
Should we also update the documentation for `gn help inputs`?
4 years, 6 months ago (2016-06-16 15:10:16 UTC) #9
brettw
Sorry, did these comments a while ago but I forgot to send main. https://codereview.chromium.org/2071573003/diff/20001/tools/gn/ninja_binary_target_writer.cc File ...
4 years, 6 months ago (2016-06-16 19:41:34 UTC) #11
Petr Hosek
On 2016/06/16 19:41:34, brettw wrote: > Sorry, did these comments a while ago but I ...
4 years, 6 months ago (2016-06-16 20:28:16 UTC) #12
Petr Hosek
I've updated the patch to only add implicit dependencies for inputs of binary targets and ...
4 years, 6 months ago (2016-06-16 23:11:33 UTC) #14
Petr Hosek
https://codereview.chromium.org/2071573003/diff/20001/tools/gn/ninja_binary_target_writer.cc File tools/gn/ninja_binary_target_writer.cc (right): https://codereview.chromium.org/2071573003/diff/20001/tools/gn/ninja_binary_target_writer.cc#newcode524 tools/gn/ninja_binary_target_writer.cc:524: if (!input_dep.value().empty()) { On 2016/06/16 19:41:34, brettw wrote: > ...
4 years, 6 months ago (2016-06-16 23:11:47 UTC) #15
brettw
LGTM, thanks! https://codereview.chromium.org/2071573003/diff/40001/tools/gn/ninja_target_writer.cc File tools/gn/ninja_target_writer.cc (right): https://codereview.chromium.org/2071573003/diff/40001/tools/gn/ninja_target_writer.cc#newcode169 tools/gn/ninja_target_writer.cc:169: // implicit dependency instead. Can you mentioned ...
4 years, 6 months ago (2016-06-17 17:54:20 UTC) #16
Petr Hosek
https://codereview.chromium.org/2071573003/diff/40001/tools/gn/ninja_target_writer.cc File tools/gn/ninja_target_writer.cc (right): https://codereview.chromium.org/2071573003/diff/40001/tools/gn/ninja_target_writer.cc#newcode169 tools/gn/ninja_target_writer.cc:169: // implicit dependency instead. On 2016/06/17 17:54:20, brettw wrote: ...
4 years, 6 months ago (2016-06-17 18:59:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2071573003/60001
4 years, 6 months ago (2016-06-17 21:43:48 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-17 21:49:15 UTC) #22
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 21:50:37 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/57ac2eae0f67ef9310e2fad40258b1d45ac82435
Cr-Commit-Position: refs/heads/master@{#400515}

Powered by Google App Engine
This is Rietveld 408576698