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

Unified Diff: README.md

Issue 1667333002: Update README.md to match new master branch (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: small wordsmithing Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index 39f53e2c1f865e62a77d1e1a1d9bb680a1761a6b..0fc7f1557f76b7c26d0e75eb65ab1a57711ea845 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,10 @@
# PDFium
+## News
+
+As of 2016-02-04, the XFA branch is deprecated. Instead, see the section on
+configuration below.
+
## Prerequisites
Get the chromium depot tools via the instructions at
@@ -41,6 +46,21 @@ on Linux, sln files on Windows, and xcodeproj files on Mac. To do so, set the
GYP\_GENERATORS environment variable appropriately (e.g. "make", "msvs", or
"xcode") before running the above command.
+### Selecting build configuration
+
+PDFium may be built either with or without JavaScript support, and with
+or without XFA forms support. By default, both of these are present in
Lei Zhang 2016/02/04 23:32:10 "Both of these features are enabled by default." ?
Tom Sepez 2016/02/04 23:41:43 Done.
+your build. Also note that if you wish to exclude JavaScript, then XFA
Lei Zhang 2016/02/04 23:32:10 Also note that the XFA feature requires JavaScript
Tom Sepez 2016/02/04 23:41:43 Done.
+must also be excluded.
+
+To build without XFA, set `pdf_enable_xfa=0` before running `gyp_pdfium`.
+To build without JavaScript set `pdf_enable_v8=0 pdf_enable_xfa=0` before
Lei Zhang 2016/02/04 23:32:10 add a comma after "without JavaScript"
Tom Sepez 2016/02/04 23:41:43 Done.
+running `gyp_pdfium`. For example
+```
+GYP_DEFINES='pdf_enable_v8=0 pdf_enable_xfa=0' build/gyp_pdfium
+```
+gives the smalles possible build configuration.
Lei Zhang 2016/02/04 23:32:10 smallest
Tom Sepez 2016/02/04 23:41:43 argh
+
### Using goma (Googlers only)
If you would like to build using goma, pass `use_goma=1` to `gyp_pdfium`. If
@@ -117,28 +137,9 @@ as much as possible. The main exceptions are:
1. Code has to conform to the existing style and not Chromium/Google style.
2. There is no commit queue, approved committers can land their changes via
`git cl land`
-3. Changes must be merged to the XFA branch as well (see below).
## Branches
-There is a branch for a forthcoming feature called XFA that you can get by
-following the steps above, then:
-
-```
-git checkout origin/xfa
-build/gyp_pdfium
-ninja -C out/Debug
-```
-
-Merging to XFA requires:
-
-```
-git checkout origin/xfa
-git checkout -b merge_branch
-git branch --set-upstream-to=origin/xfa
-git cherry-pick -x <commit hash>
-git commit --amend # add Merge to XFA
-git cl upload
-```
+The origin/xfa branch is now an evolutionary dead-end. Everything you need
Lei Zhang 2016/02/04 23:32:10 Prepend: Prior to 2016-02-04, there existed an act
Tom Sepez 2016/02/04 23:41:43 Done.
+to build either with or without the XFA feature is on origin/master.
-Then wait for approval, and `git cl land`
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698