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

Issue 582863002: GN: Complete static libs can't depend on static libs (Closed)

Created:
6 years, 3 months ago by Chris Masone
Modified:
6 years, 3 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

GN: Complete static libs can't depend on static libs Trying to use ar to put a static lib inside a complete static lib doesn't work. GN should enforce and document this restriction. BUG=None TEST=gn_unittests, including new test for this case. R=brettw Committed: https://crrev.com/a6fa71420697c9376723b8c7f800c8670f40ea1e Cr-Commit-Position: refs/heads/master@{#295609}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add check for inherited static libraries as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -3 lines) Patch
M tools/gn/target.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/target.cc View 1 4 chunks +40 lines, -1 line 0 comments Download
M tools/gn/target_unittest.cc View 1 1 chunk +49 lines, -0 lines 0 comments Download
M tools/gn/variables.cc View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Chris Masone
6 years, 3 months ago (2014-09-18 19:39:58 UTC) #1
brettw
https://codereview.chromium.org/582863002/diff/1/tools/gn/target.cc File tools/gn/target.cc (right): https://codereview.chromium.org/582863002/diff/1/tools/gn/target.cc#newcode367 tools/gn/target.cc:367: for (DepsIterator iter(this); !iter.done(); iter.Advance()) { I think you'll ...
6 years, 3 months ago (2014-09-18 19:51:25 UTC) #2
Chris Masone
https://codereview.chromium.org/582863002/diff/1/tools/gn/target.cc File tools/gn/target.cc (right): https://codereview.chromium.org/582863002/diff/1/tools/gn/target.cc#newcode367 tools/gn/target.cc:367: for (DepsIterator iter(this); !iter.done(); iter.Advance()) { On 2014/09/18 19:51:24, ...
6 years, 3 months ago (2014-09-18 20:32:43 UTC) #3
brettw
lgtm
6 years, 3 months ago (2014-09-18 23:02:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/582863002/20001
6 years, 3 months ago (2014-09-18 23:04:39 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 85205c089ffd519999b126038ddbcf290b2d759f
6 years, 3 months ago (2014-09-18 23:47:48 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 23:48:39 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a6fa71420697c9376723b8c7f800c8670f40ea1e
Cr-Commit-Position: refs/heads/master@{#295609}

Powered by Google App Engine
This is Rietveld 408576698