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

Issue 798733002: Always emit original sources from scan_sources. (Closed)

Created:
6 years ago by teravest
Modified:
6 years ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/src/native_client.git@master
Project:
nacl
Visibility:
Public.

Description

Always emit original sources from scan_sources. scan_sources.py should always emit the original source files passed as input, even if it cannot find them. This is necessary to create a proper dependency arc from the build rule "mojo_nacl" to the generated source "libmojo.cc" from the "monacl_codegen" build rule.. It's not sufficient to convey this source dependency through ninja depfiles. This is because the emitted dependency in the mojo_nacl.ninja from "mojo_nacl" to "monacl_codegen" is order-only and depenencies are scanned before order-only dependencies are run (https://github.com/martine/ninja/issues/760). BUG=https://code.google.com/p/chromium/issues/detail?id=440451 TEST=manually modified libmojo.cc.tmpl and rebuilt mojo_nacl. R=bradnelson@google.com, ncbray@chromium.org Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=14212

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M build/scan_sources.py View 1 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
teravest
6 years ago (2014-12-11 23:38:05 UTC) #3
bradn
lgtm
6 years ago (2014-12-11 23:43:37 UTC) #5
Nick Bray (chromium)
LGTM w/ comment. https://codereview.chromium.org/798733002/diff/1/build/scan_sources.py File build/scan_sources.py (right): https://codereview.chromium.org/798733002/diff/1/build/scan_sources.py#newcode293 build/scan_sources.py:293: # If any of the original ...
6 years ago (2014-12-12 00:24:17 UTC) #6
teravest
https://codereview.chromium.org/798733002/diff/1/build/scan_sources.py File build/scan_sources.py (right): https://codereview.chromium.org/798733002/diff/1/build/scan_sources.py#newcode293 build/scan_sources.py:293: # If any of the original files requested aren't ...
6 years ago (2014-12-12 15:03:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/798733002/20001
6 years ago (2014-12-12 15:33:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/798733002/20001
6 years ago (2014-12-12 17:33:30 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: nacl-arm_opt_panda on tryserver.nacl (http://build.chromium.org/p/tryserver.nacl/builders/nacl-arm_opt_panda/builds/8891)
6 years ago (2014-12-12 22:02:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/798733002/20001
6 years ago (2014-12-12 22:16:39 UTC) #16
teravest
6 years ago (2014-12-12 22:17:01 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 14212 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698