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

Issue 1985843002: Use chromium_code standard for PDFium GYP compilation (Closed)

Created:
4 years, 7 months ago by Wei Li
Modified:
4 years, 7 months ago
Reviewers:
Nico
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Use chromium_code standard for PDFium GYP compilation Define and use chromium_code to be used in standalone PDFium GYP build so that PDFium code can have more stringent warning level. This is also enabled on GN build by default so that GYP and GN builds can have consistent compilation results. Also enable chromium_code for PDFium compilation in Chromium since most of the warnings are cleared. The left ones are clearly marked and will be addressed soon. A few more clean-ups for the build: -- Remove the suppression of sign-compare warnings for Clang since the code is clean and the warning can be re-enabled. -- Re-enable "treat warning as errors" on Mac -- Add a flag to make GCC build works as well. BUG=pdfium:29, pdfium:475 Committed: https://pdfium.googlesource.com/pdfium/+/5f3b41bca725090391b9053a9435c86fa7b22df1

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -25 lines) Patch
M build_gyp/standalone.gypi View 6 chunks +45 lines, -6 lines 0 comments Download
M pdfium.gyp View 2 chunks +1 line, -10 lines 0 comments Download
M third_party/third_party.gyp View 1 2 chunks +8 lines, -1 line 0 comments Download
M xfa.gyp View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Wei Li
Pls review, thanks
4 years, 7 months ago (2016-05-16 23:43:40 UTC) #3
Nico
Nice! https://codereview.chromium.org/1985843002/diff/1/third_party/third_party.gyp File third_party/third_party.gyp (right): https://codereview.chromium.org/1985843002/diff/1/third_party/third_party.gyp#newcode7 third_party/third_party.gyp:7: 'chromium_code': 0, This defaults to 0, do you ...
4 years, 7 months ago (2016-05-16 23:47:45 UTC) #4
Wei Li
ptal, thanks https://codereview.chromium.org/1985843002/diff/1/third_party/third_party.gyp File third_party/third_party.gyp (right): https://codereview.chromium.org/1985843002/diff/1/third_party/third_party.gyp#newcode7 third_party/third_party.gyp:7: 'chromium_code': 0, On 2016/05/16 23:47:45, Nico (vacation ...
4 years, 7 months ago (2016-05-17 00:23:24 UTC) #5
Nico
lgtm
4 years, 7 months ago (2016-05-17 00:25:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1985843002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1985843002/20001
4 years, 7 months ago (2016-05-17 00:29:33 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 00:52:21 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/5f3b41bca725090391b9053a9435c86fa7b2...

Powered by Google App Engine
This is Rietveld 408576698