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

Issue 1607423002: Allow .o files for GN generated inputs. (Closed)

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

Description

Allow .o files for GN generated inputs. GN checks inputs and sources for files that are in the build directory, and requires those files be generated by a dependency of the target. Previously, only the final outputs of a target were considered. But NaCl wants to compile some CRT code and take one of the intermediate object files as inputs to a subsequent action. The current code was not aware of the generated object files. This patch will check for generated object files when the normal checks for generated inputs fails. BUG=579629 Committed: https://crrev.com/65e89854f57ac34a51e4c60ac663ce21110e6944 Cr-Commit-Position: refs/heads/master@{#370539}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -53 lines) Patch
M tools/gn/ninja_binary_target_writer.cc View 3 chunks +2 lines, -45 lines 0 comments Download
M tools/gn/ninja_target_writer.cc View 1 chunk +1 line, -5 lines 0 comments Download
M tools/gn/target.h View 1 3 chunks +17 lines, -0 lines 0 comments Download
M tools/gn/target.cc View 8 chunks +71 lines, -3 lines 0 comments Download
M tools/gn/target_unittest.cc View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
brettw
Turns out this did not intersect with James' patch so I just fixed the issue ...
4 years, 11 months ago (2016-01-20 20:45:29 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1607423002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1607423002/1
4 years, 11 months ago (2016-01-20 20:45:56 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 21:35:18 UTC) #6
Petr Hosek
lgtm https://codereview.chromium.org/1607423002/diff/1/tools/gn/target.h File tools/gn/target.h (right): https://codereview.chromium.org/1607423002/diff/1/tools/gn/target.h#newcode70 tools/gn/target.h:70: // True for targets that compile source code ...
4 years, 11 months ago (2016-01-20 21:40:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1607423002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1607423002/20001
4 years, 11 months ago (2016-01-20 22:12:00 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-20 23:58:19 UTC) #11
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 00:00:16 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/65e89854f57ac34a51e4c60ac663ce21110e6944
Cr-Commit-Position: refs/heads/master@{#370539}

Powered by Google App Engine
This is Rietveld 408576698