commit | 5aa136b129a5357234d20efd5eded60a1ddd3b79 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Mon May 22 21:33:14 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon May 22 21:33:14 2023 +0000 |
tree | 287fe7c426fe1387fbdbef0d6a27975581d53c9c | |
parent | 3bed7b3ce5e93bfa2933f8ff987d599ba517d182 [diff] | |
parent | 49916af0a51e9eff9d2d45b8565837ba875e8baf [diff] |
Merge "Add usesninjalogasweightlist option"
diff --git a/src/build.cc b/src/build.cc index d21115d..4ccfaf3 100644 --- a/src/build.cc +++ b/src/build.cc
@@ -687,7 +687,8 @@ std::set<Edge*, EdgeCmp> next_edges; for (auto* next_node : e->inputs_) { - if (!next_node) { + // Skip if the next node isn't dirty because actual build also skips the node. + if (!next_node || !next_node->dirty()) { continue; } auto* next_e = next_node->in_edge();