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

Issue 2717493002: Fix repeated "-Wunknown-pragmas -Wno-error=unknown-pragmas". (Closed)

Created:
3 years, 10 months ago by sdefresne
Modified:
3 years, 10 months ago
Reviewers:
Benoit L, scottmg
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix repeated "-Wunknown-pragmas -Wno-error=unknown-pragmas". As gn only deduplicate the configs but not the configs' flags, the flags "-Wunknown-pragmas -Wno-error=unknown-pragmas" where repeated for each dependent target using the "grit" template. Instead add a single config adding those flag and reference it from the "grit" template to avoid the duplicates. BUG=None Review-Url: https://codereview.chromium.org/2717493002 Cr-Commit-Position: refs/heads/master@{#452543} Committed: https://chromium.googlesource.com/chromium/src/+/f673f4c59c985aa8ddfab2b3821c42af25d915e4

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix grammar errors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M build/config/compiler/BUILD.gn View 1 1 chunk +14 lines, -0 lines 0 comments Download
M tools/grit/grit_rule.gni View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
sdefresne
lizeb: can you take a look? scottmg: can you take a look as OWNERS? For ...
3 years, 10 months ago (2017-02-23 14:32:03 UTC) #9
Benoit L
On 2017/02/23 14:32:03, sdefresne wrote: > lizeb: can you take a look? > scottmg: can ...
3 years, 10 months ago (2017-02-23 14:57:13 UTC) #10
Benoit L
https://codereview.chromium.org/2717493002/diff/20001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2717493002/diff/20001/build/config/compiler/BUILD.gn#newcode1696 build/config/compiler/BUILD.gn:1696: # but only the config themselves, if the template ...
3 years, 10 months ago (2017-02-23 14:59:22 UTC) #11
scottmg
lgtm
3 years, 10 months ago (2017-02-23 15:59:35 UTC) #12
sdefresne
Thank you for the reviews. https://codereview.chromium.org/2717493002/diff/20001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2717493002/diff/20001/build/config/compiler/BUILD.gn#newcode1696 build/config/compiler/BUILD.gn:1696: # but only the ...
3 years, 10 months ago (2017-02-23 16:54:40 UTC) #15
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/2717493002/40001
3 years, 10 months ago (2017-02-23 16:55:07 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:40001) as https://chromium.googlesource.com/chromium/src/+/f673f4c59c985aa8ddfab2b3821c42af25d915e4
3 years, 10 months ago (2017-02-23 17:49:47 UTC) #21
prasadv
3 years, 10 months ago (2017-02-23 19:46:01 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in
https://codereview.chromium.org/2708923007/ by prasadv@chromium.org.

The reason for reverting is: Looks like this CL is breaking Android Compile on
chromium.perf.
https://bugs.chromium.org/p/chromium/issues/detail?id=695534.

Powered by Google App Engine
This is Rietveld 408576698