summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2015-12-18Add a LSan suppressions file.Oliver Chang
Also defines ADDRESS_SANITIZER and LEAK_SANITIZER for ASan builds. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1540433004 .
2015-12-16Define a host_clang GYP variable.Lei Zhang
TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1533763002 .
2015-12-16Make clang_warning_flags work for standalone builds.Lei Zhang
Also fix a newly introduced override warning. R=thakis@chromium.org Review URL: https://codereview.chromium.org/1532723003 .
2015-11-05Fix all relative includes to third_party.chromium/2560chromium/2559chromium/2558chromium/2557Lei Zhang
- In non-standalone builds, use the provided jpeg library. - Run gn format over all the GN files. - Also roll DEPS for buildtools to c2f2598. BUG=541704 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1425153006 .
2015-11-03Add support for building with goma.Oliver Chang
R=thakis@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/1428093004 .
2015-10-21(Reland) Switch builds to clang by default for Linux and OS X.Oliver Chang
Also adds support for ASan and sanitizer coverage. BUG=pdfium:1,pdfium:171 R=thakis@chromium.org, thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/5478df43a8970257e9644ae6f57a6fe7513029c6 Review URL: https://codereview.chromium.org/1406843002 .
2015-10-19Revert "Switch builds to clang by default for Linux and OS X."Oliver Chang
This reverts commit 5478df43a8970257e9644ae6f57a6fe7513029c6. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1413193002 .
2015-10-19Switch builds to clang by default for Linux and OS X.Oliver Chang
Also adds support for ASan and sanitizer coverage. BUG=pdfium:1,pdfium:171 R=thakis@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/1406843002 .
2015-10-15Move conditionals inside target_defaults.dan sinclair
This CL moves the conditionals inside the target_defaults configuration. This causes the -fPIC to get picked up and allows component=shared_library to build correctly. BUG=pdfium:218 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1407903002 .
2015-09-15gyp_pdfium should use ninja by default.Lei Zhang
R=thakis@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/1330173002 .
2015-05-20Turn on warnings for usage of disabled V8 APIsJochen Eisinger
R=vogelheim@chromium.org BUG= Review URL: https://codereview.chromium.org/1146933002
2015-04-16Supress the two noisiest warnings on linux standalone builds.Tom Sepez
Code might someday be made clean for -Wmissing-field-initializers and -Wsign-compare, but for now this produces too much noise to be useful. The -Wmissing-field-initializers warning is misguided in a high percentage of cases, and actually leads to bad fixes. R=brucedawson@chromium.org Review URL: https://codereview.chromium.org/1094713002
2015-04-16Fix pdfium standalone to compile with VS 2015.Bruce Dawson
This change disables several warnings that fire frequently in pdfium and are not practical to fix at this time. R=tsepez@chromium.org BUG=440500 Review URL: https://codereview.chromium.org/1096463005
2015-04-09Update DEPS to pull V8 from the new repository.Tom Sepez
Also update build files to deal with the new revision. The main issue is the external startup files for v8. The default is not to use them (simpler for standalone users to deploy), but can be built either way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1059023003
2015-01-14Ensure unittests are built when building all.John Abd-El-Malek
R=scottmg@chromium.org Review URL: https://codereview.chromium.org/849113002
2015-01-09Only request C++11 when compiling C++ code.Bruce Dawson
Linux pdfium builds have 215 warnings of this form: command line option -std=gnu++11 is valid for C++/ObjC++ but not for C The obvious fix is to not request C++11 for C compilations. The only complication was the the switch we are using is actually gnu++0x, not gnu++11. BUG=https://code.google.com/p/pdfium/issues/detail?id=102 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/839163002
2015-01-06Resolve all but two VC++ build warnings in pdfium.Bruce Dawson
pdfium builds on Win32 have about 85 warnings (250 in the XFA branch, totaling over 480 lines!), mostly from four lines in a header file and a warning that should be disabled. This change resolves all but two of them and turns on warning-as-errors. Bugs have been filed for the two remaining warnings: https://code.google.com/p/pdfium/issues/detail?id=100 the 64-bit warnings: https://code.google.com/p/pdfium/issues/detail?id=101 and the Linux warnings: https://code.google.com/p/pdfium/issues/detail?id=102 The fix to the double->float truncation bugs will also improve code-generation. R=bo_xu@foxitsoftware.com, scottmg@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/792953005
2014-10-16Fix standalone build on Linux and Mac.John Abd-El-Malek
BUG=423883 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/663633002
2014-07-17Fix building pdfium for x64 with ninja under windows.Nico Weber
This adds the necessary directives to the standalone gyp file. R=jschuh@chromium.org, jam@chromium.org BUG=22 Patch from Michael Doppler <m.doppler@gmail.com>. Review URL: https://codereview.chromium.org/360273002
2014-06-30Fix standalone build.John Abd-El-Malek
BUG=20 R=jschuh@chromium.org Review URL: https://codereview.chromium.org/349033008
2014-05-29Fix xcode build.John Abd-El-Malek
R=thakis@chromium.org Review URL: https://codereview.chromium.org/300993002
2014-05-28Followup comments from https://codereview.chromium.org/298893007/John Abd-El-Malek
R=thakis@chromium.org Review URL: https://codereview.chromium.org/302653009
2014-05-27adjust output dir for msvs to fix msvs link errorBo Xu
BUG=msvs build R=jam@chromium.org Review URL: https://codereview.chromium.org/295323004
2014-05-26Move linker settings from standalone.gypi to pdfium.gyp, since they're ↵John Abd-El-Malek
needed when linking pdfium_test as part of other projects' gyp files as well where standalone.gypi isn't used. R=scottmg@chromium.org Review URL: https://codereview.chromium.org/302453004
2014-05-23Convert all line endings to LF.John Abd-El-Malek
2014-05-23Fix line endings.John Abd-El-Malek
2014-05-23Add execute permission to scriptJohn Abd-El-Malek
2014-05-23Create a standalone pdfium build.John Abd-El-Malek
I moved pdfium_test from chromium's repo to pdfium's. It's now buildable as a sample following the instructions on the wiki.