From da4ff18a7dd2753856c1cfc712140887a34dae92 Mon Sep 17 00:00:00 2001 From: weili Date: Mon, 31 Oct 2016 13:19:08 -0700 Subject: Update document with supported architecture information Also delete the out-dated news. Review-Url: https://codereview.chromium.org/2462963003 --- README.md | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 25765559e2..98dbac7d5e 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. -### 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 ``` -If you want to set 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. - -### 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 -- cgit v1.2.3