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

Issue 2178173002: Allow GN toolchains to specify runtime deps outputs. (Closed)

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

Description

Allow GN toolchains to specify runtime deps outputs. Previously the file considered for the runtime deps computation for linked targets was just the first output, or, for shared libraries, the runtime_link_output. This patch changes that to a list of files for all linker tools. This will allow us, for example, to be able to automatically bundle symbol files generated by the build (but not .lib files in the case of shared libraries) to the swarming bots for testing. The tool class setters now take objects by copies and move them to avoid extra copies in many cases. Add a defined_from member to the Tool class. BUG=631242 Committed: https://crrev.com/15e0e74f4dbd7616a722702eedd6620b70f50290 Cr-Commit-Position: refs/heads/master@{#407852}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -158 lines) Patch
M build/toolchain/win/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M tools/gn/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/function_toolchain.cc View 1 2 14 chunks +119 lines, -90 lines 0 comments Download
A tools/gn/function_toolchain_unittest.cc View 1 chunk +58 lines, -0 lines 0 comments Download
M tools/gn/gn.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/runtime_deps.cc View 4 chunks +20 lines, -17 lines 0 comments Download
M tools/gn/target.h View 2 chunks +5 lines, -3 lines 0 comments Download
M tools/gn/target.cc View 2 chunks +13 lines, -5 lines 0 comments Download
M tools/gn/target_unittest.cc View 3 chunks +19 lines, -11 lines 0 comments Download
M tools/gn/tool.h View 7 chunks +38 lines, -32 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
brettw
.
4 years, 5 months ago (2016-07-25 22:29:01 UTC) #2
brettw
4 years, 5 months ago (2016-07-25 22:29:14 UTC) #5
Dirk Pranke
This CL leaves the {{output}} expansion unchanged for "solink", right? If so, LGTM. https://codereview.chromium.org/2178173002/diff/20001/tools/gn/function_toolchain.cc File ...
4 years, 5 months ago (2016-07-25 22:52:18 UTC) #9
brettw
fix
4 years, 4 months ago (2016-07-26 04:53:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2178173002/40001
4 years, 4 months ago (2016-07-26 04:54:06 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/262010)
4 years, 4 months ago (2016-07-26 05:47:32 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2178173002/40001
4 years, 4 months ago (2016-07-26 16:59:41 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-26 18:00:42 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 18:06:19 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/15e0e74f4dbd7616a722702eedd6620b70f50290
Cr-Commit-Position: refs/heads/master@{#407852}

Powered by Google App Engine
This is Rietveld 408576698