diff options
author | weili <weili@chromium.org> | 2016-05-16 17:52:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-16 17:52:17 -0700 |
commit | 5f3b41bca725090391b9053a9435c86fa7b22df1 (patch) | |
tree | 2c2adf52a6cf127de85d1f1705b6c56b52b4fec2 /samples/image_diff_png.cc | |
parent | 3857904e520ecb06bad545e4e4bfcf4e60dd1f52 (diff) | |
download | pdfium-5f3b41bca725090391b9053a9435c86fa7b22df1.tar.xz |
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
Review-Url: https://codereview.chromium.org/1985843002
Diffstat (limited to 'samples/image_diff_png.cc')
0 files changed, 0 insertions, 0 deletions