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

Unified Diff: README.md

Issue 2462963003: Update document with supported architecture information (Closed)
Patch Set: Created 4 years, 1 month 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 25765559e2fe0c520f206f82d471c83361ed62cc..98dbac7d5eb12335c6b261d6545dd3ee41cfef74 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,5 @@
# PDFium
-## News
-
-As of 2016-05-04, GN is used to generate build files replacing GYP. GYP
-support will remain until it is disabled in Chromium and then will be removed
-from PDFium.
-
-As of 2016-04-28, the Visual Studio toolchain from depot_tools is used as the
-default Windows toolchain for Googlers. Please set DEPOT_TOOLS_WIN_TOOLCHAIN=0
-if you need to use the system toolchain. See
-[Windows development subsection](#WinDev) for details.
-
-
## Prerequisites
Get the chromium depot tools via the instructions at
@@ -21,7 +9,7 @@ the gclient utility needed below).
Also install Python, Subversion, and Git and make sure they're in your path.
-###<a name="WinDev"></a> Windows development
+### Windows development
PDFium uses a similar Windows toolchain as Chromium:
@@ -33,6 +21,13 @@ environment.
Compilation is done through ninja, **not** Visual Studio.
+### CPU Architectures supported
+
+The default architecture for Windows, Linux, and Mac is "`x64`". On Windows,
+"`x86`" is also supported. GN parameter "`target_cpu = "x86"`" can be used to
+override the default value. If you specify Android build, the default CPU
+architecture will be "`arm`".
+
#### Google employees
@@ -74,11 +69,7 @@ checkout) to execute the build files.
gn gen <directory>
```
-If you want to set <directory> to `out/Debug` or `out/Release` you'll need to
-export `GYP_PDFIUM_NO_ACTION=1` to stop `gclient sync` from executing GYP
-and overwriting your build files.
-
-###<a name="BuildConfig"></a> Selecting build configuration
+### Selecting build configuration
PDFium may be built either with or without JavaScript support, and with
or without XFA forms support. Both of these features are enabled by
« 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