|
|
Created:
5 years, 5 months ago by Matt Giuca Modified:
5 years, 5 months ago CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org Base URL:
https://chromium.googlesource.com/chromium/deps/icu.git@master Target Ref:
refs/heads/master Visibility:
Public. |
DescriptionSuppress "unused-const-variable" Clang warnings.
This warning is currently globally suppressed in Chromium, but this
suppression will be switched off, making a local suppression necessary.
BUG=505319
R=thakis@chromium.org
Committed: https://chromium.googlesource.com/chromium/deps/icu/+/fb5b519030ef064e6b664c854cec1b90901350e4
Patch Set 1 #Patch Set 2 : Rebase. #
Total comments: 3
Messages
Total messages: 18 (5 generated)
mgiuca@chromium.org changed reviewers: + dpranke@chromium.org
I'm trying to get these warnings fixed upstream (see the two links in the comment in the BUILD.gn file), but in the mean time, just suppressing the warning suffices.
thakis@chromium.org changed reviewers: + thakis@chromium.org
lgtm
The CQ bit was checked by mgiuca@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Commit queue rejected this change because it did not recognize the base URL. Please commit your change manually.
On 2015/07/02 08:47:04, commit-bot: I haz the power wrote: > Commit queue rejected this change because it did not recognize the base URL. > Please commit your change manually. Huh, I thought the cq worked for ICU for me at some point. Try `git cl land` I guess.
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as fb5b519030ef064e6b664c854cec1b90901350e4 (presubmit successful).
Message was sent while issue was closed.
petermayo@chromium.org changed reviewers: + petermayo@chromium.org
Message was sent while issue was closed.
https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn#newcode501 BUILD.gn:501: configs += [ ":icu_code" ] Is this an accident? It fails my gen rebuild.
Message was sent while issue was closed.
https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn#newcode501 BUILD.gn:501: configs += [ ":icu_code" ] On 2015/07/06 18:01:56, Peter Mayo wrote: > Is this an accident? It fails my gen rebuild. Yes, that looks like an accident (the same is added again the line below).
Message was sent while issue was closed.
On 2015/07/06 18:03:31, Nico wrote: > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn > File BUILD.gn (right): > > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn#newcode501 > BUILD.gn:501: configs += [ ":icu_code" ] > On 2015/07/06 18:01:56, Peter Mayo wrote: > > Is this an accident? It fails my gen rebuild. > > Yes, that looks like an accident (the same is added again the line below). (what does your build fail with? the bots are all happy. i'm going to fix it since it's wrong, but i'm wondering why it fails for you but not the bots)
Message was sent while issue was closed.
On 2015/07/06 18:04:29, Nico wrote: > On 2015/07/06 18:03:31, Nico wrote: > > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn > > File BUILD.gn (right): > > > > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn#newcode501 > > BUILD.gn:501: configs += [ ":icu_code" ] > > On 2015/07/06 18:01:56, Peter Mayo wrote: > > > Is this an accident? It fails my gen rebuild. > > > > Yes, that looks like an accident (the same is added again the line below). > > (what does your build fail with? the bots are all happy. i'm going to fix it > since it's wrong, but i'm wondering why it fails for you but not the bots) ./out/local/gn gen out/linked ERROR at //third_party/icu/BUILD.gn:503:16: Duplicate item in list configs += [ ":icu_code" ] ^---------- See //third_party/icu/BUILD.gn:501:16: This was the previous definition. configs += [ ":icu_code" ] ^---------- See //third_party/icu/BUILD.gn:310:1: whence it was called. component("icuuc") { ^-------------------
Message was sent while issue was closed.
On 2015/07/06 18:06:58, Peter Mayo wrote: > On 2015/07/06 18:04:29, Nico wrote: > > On 2015/07/06 18:03:31, Nico wrote: > > > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn > > > File BUILD.gn (right): > > > > > > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn#newcode501 > > > BUILD.gn:501: configs += [ ":icu_code" ] > > > On 2015/07/06 18:01:56, Peter Mayo wrote: > > > > Is this an accident? It fails my gen rebuild. > > > > > > Yes, that looks like an accident (the same is added again the line below). > > > > (what does your build fail with? the bots are all happy. i'm going to fix it > > since it's wrong, but i'm wondering why it fails for you but not the bots) > > ./out/local/gn gen out/linked > ERROR at //third_party/icu/BUILD.gn:503:16: Duplicate item in list > configs += [ ":icu_code" ] > ^---------- > See //third_party/icu/BUILD.gn:501:16: This was the previous definition. > configs += [ ":icu_code" ] > ^---------- > See //third_party/icu/BUILD.gn:310:1: whence it was called. > component("icuuc") { > ^------------------- I'm using a really fresh (just built) gn, if that makes a sensitivity difference.
Message was sent while issue was closed.
On 2015/07/06 18:07:27, Peter Mayo wrote: > On 2015/07/06 18:06:58, Peter Mayo wrote: > > On 2015/07/06 18:04:29, Nico wrote: > > > On 2015/07/06 18:03:31, Nico wrote: > > > > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn > > > > File BUILD.gn (right): > > > > > > > > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn#newcode501 > > > > BUILD.gn:501: configs += [ ":icu_code" ] > > > > On 2015/07/06 18:01:56, Peter Mayo wrote: > > > > > Is this an accident? It fails my gen rebuild. > > > > > > > > Yes, that looks like an accident (the same is added again the line below). > > > > > > (what does your build fail with? the bots are all happy. i'm going to fix it > > > since it's wrong, but i'm wondering why it fails for you but not the bots) > > > > ./out/local/gn gen out/linked > > ERROR at //third_party/icu/BUILD.gn:503:16: Duplicate item in list > > configs += [ ":icu_code" ] > > ^---------- > > See //third_party/icu/BUILD.gn:501:16: This was the previous definition. > > configs += [ ":icu_code" ] > > ^---------- > > See //third_party/icu/BUILD.gn:310:1: whence it was called. > > component("icuuc") { > > ^------------------- > > I'm using a really fresh (just built) gn, if that makes a sensitivity > difference. Yes, that explains it. Chromium's DEPS doesn't pull in an ICU with this change yet either – are you using some config that pulls icu head?
Message was sent while issue was closed.
On 2015/07/06 18:14:15, Nico wrote: > On 2015/07/06 18:07:27, Peter Mayo wrote: > > On 2015/07/06 18:06:58, Peter Mayo wrote: > > > On 2015/07/06 18:04:29, Nico wrote: > > > > On 2015/07/06 18:03:31, Nico wrote: > > > > > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn > > > > > File BUILD.gn (right): > > > > > > > > > > > https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn#newcode501 > > > > > BUILD.gn:501: configs += [ ":icu_code" ] > > > > > On 2015/07/06 18:01:56, Peter Mayo wrote: > > > > > > Is this an accident? It fails my gen rebuild. > > > > > > > > > > Yes, that looks like an accident (the same is added again the line > below). > > > > > > > > (what does your build fail with? the bots are all happy. i'm going to fix > it > > > > since it's wrong, but i'm wondering why it fails for you but not the bots) > > > > > > ./out/local/gn gen out/linked > > > ERROR at //third_party/icu/BUILD.gn:503:16: Duplicate item in list > > > configs += [ ":icu_code" ] > > > ^---------- > > > See //third_party/icu/BUILD.gn:501:16: This was the previous definition. > > > configs += [ ":icu_code" ] > > > ^---------- > > > See //third_party/icu/BUILD.gn:310:1: whence it was called. > > > component("icuuc") { > > > ^------------------- > > > > I'm using a really fresh (just built) gn, if that makes a sensitivity > > difference. > > Yes, that explains it. Chromium's DEPS doesn't pull in an ICU with this change > yet either – are you using some config that pulls icu head? Yes.
Message was sent while issue was closed.
https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1224463003/diff/20001/BUILD.gn#newcode501 BUILD.gn:501: configs += [ ":icu_code" ] Oh no, looks like a rebase accident (wasn't a problem in PS1). Looks like Nico has already fixed this in c81a1a3. Thanks, Nico. |