summaryrefslogtreecommitdiff
path: root/build/standalone.gypi
AgeCommit message (Collapse)Author
2016-02-23Support pdfium compilation with xcode 10.11 and higherchromium/2660chromium/2659chromium/2658Wei Li
BUG= R=thakis@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/1680943003 .
2016-02-22Define NDEBUG for Release builds.Lei Zhang
Also fix -Wunused warnings as a result of this change. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1717063002 .
2016-02-19Define _DEBUG for debug builds.Lei Zhang
Otherwise ASSERT() is useless. BUG=pdfium:136 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1712053003 .
2016-02-08Fix typo in standalone.gypi.Oliver Chang
TBR=thakis@chromium.org BUG=585261 Review URL: https://codereview.chromium.org/1683523002 .
2016-02-08Speculative fix for mac build failure.Oliver Chang
R=thakis@chromium.org BUG=585261 Review URL: https://codereview.chromium.org/1679843003 .
2016-01-13Merge to XFA: Use _GLIBCXX_DEBUG in standalone Debug builds on Linux.Lei Zhang
TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1588643003 . (cherry picked from commit 783709f76baf7893b7334209fe89d947acd6369d) Review URL: https://codereview.chromium.org/1584713004 .
2015-12-24Merge to XFA: Stop disabling compiler warning 4481, PDFium edition.Lei Zhang
Matches https://crrev.com/366832 TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1546103002 . (cherry picked from commit 1ff4a733f3a50c121bebcff417743b7d84453cc5) Review URL: https://codereview.chromium.org/1549973002 .
2015-12-23Merge to XFA: Make the standalone msvs_disabled_warnings block match Chromium's.Lei Zhang
TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1542353002 . (cherry picked from commit 9fb1413926b55727d8f00dd54fbe144a883d4873) Review URL: https://codereview.chromium.org/1543343002 .
2015-12-23Merge to XFA: Set CR_CLANG_REVISION to force a rebuild when the Clang ↵Lei Zhang
version changes. BUG=pdfium:335 TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1549863002 . (cherry picked from commit da0a931ca1ff3ebc64138491a703e7df47650bb9) Review URL: https://codereview.chromium.org/1549033002 .
2015-12-18Merge to XFA: Add a LSan suppressions file.Oliver Chang
Also defines ADDRESS_SANITIZER and LEAK_SANITIZER for ASan builds. TBR=thestig@chromium.org Original Review URL: https://codereview.chromium.org/1540433004 . (cherry picked from commit 38cecc343561395cad8a33889f91c1a254ca1f73) Review URL: https://codereview.chromium.org/1540433005 .
2015-12-16Merge to XFA: Make clang_warning_flags work for standalone builds.Lei Zhang
Also fix a newly introduced override warning. Also define a host_clang GYP variable. TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1532723003 . Review URL: https://codereview.chromium.org/1533763002 . (cherry picked from commit e096ca507db9944aebc47d6c2cc1c6fab39498c5) (cherry picked from commit 0a9158b99a2002fb82301ebec20dbc23b3fc084c) Review URL: https://codereview.chromium.org/1535603003 .
2015-12-08Move default value of pdf_enable_xfa to standalone.gypiTom Sepez
This allows standalone pdfium builds to build with XFA, but makes a chromium checkout revert to non-xfa even on this branch. GN implies a chromium checkout at the moment, so disable XFA there, too. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1508003003 .
2015-11-06Merge to XFA: Fix all relative includes to third_party.Lei 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. - And fix XFA's lack of #includes. BUG=541704 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1425153006 . (cherry picked from commit 34bb6c58fe60206a08dc0a1f37b7cfe83e8c762c) Review URL: https://codereview.chromium.org/1434543003 .
2015-11-03Merge to XFA: Add support for building with goma.Oliver Chang
TBR=thestig@chromium.org clean merge. Review URL: https://codereview.chromium.org/1428093004 . (cherry picked from commit e35b445bee90390ea09f334cbff4a6220537bbda) Review URL: https://codereview.chromium.org/1418453007 .
2015-10-21Merge to XFA: (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=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/5478df43a8970257e9644ae6f57a6fe7513029c6 Review URL: https://codereview.chromium.org/1406843002 . (cherry picked from commit 3b2ab45f0a883046a7c457e8435b5a9b2c1c4156) Review URL: https://codereview.chromium.org/1412193010 .
2015-10-15Merge to XFA: Move 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. Merged clean. BUG=pdfium:218 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1407903002 . (cherry picked from commit 26268af2c1242dd173aea6dcbf763a36e734faf3) Review URL: https://codereview.chromium.org/1412563002 .
2015-10-12XFA: Update standalone.gypi and .gitignore to match masterTom Sepez
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1394483005 .
2015-05-20Fix compilation on xfa branch and turn on v8 deprecation warningsJochen Eisinger
R=vogelheim@chromium.org BUG= Review URL: https://codereview.chromium.org/1142293003
2015-04-16XFA merge: Fix 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. Originally on https://codereview.chromium.org/1096463005 TBR=tsepez@chromium.org BUG=440500 Review URL: https://codereview.chromium.org/1088943003
2015-04-09Merge to XFA: Update DEPS to pull V8 from the new repository.Tom Sepez
Original Review URL: https://codereview.chromium.org/1059023003 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1072213002
2015-01-09XFA: merge patch from CL 839163002 to only request C++ 11 for C++Bruce Dawson
Only request C++11 when compiling C++ code. 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 TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/839163002 Review URL: https://codereview.chromium.org/839323002
2015-01-08XFA: merge patch from CL 792953005, fix most warningsBruce Dawson
Includes fixes to XFA specific warnings -- benign truncations. Bug https://code.google.com/p/pdfium/issues/detail?id=104 was filed to track changing types to avoid some truncations. Resolve all but two VC++ build warnings in pdfium. 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, tsepez@chromium.org Review URL: https://codereview.chromium.org/792953005 BUG= https://code.google.com/p/pdfium/issues/detail?id=100 Review URL: https://codereview.chromium.org/834413002
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-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.