summaryrefslogtreecommitdiff
path: root/build_gyp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-20 07:32:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-20 07:32:39 -0700
commit685bb88433b7520946e30a1e520d37bfc2288151 (patch)
treefbcb1fdc49cdc27d5bf064915513717cb8e11f14 /build_gyp
parentf5a1ee807d74b28917d5c2377c4ece611883bcd1 (diff)
downloadpdfium-685bb88433b7520946e30a1e520d37bfc2288151.tar.xz
Standalone GN build.
This CL setups up a standalone GN build. You'll need to set gn args similar to: use_goma = true clang_use_chrome_plugins = false pdf_enable_xfa = true pdf_enable_v8 = true pdf_is_standalone = true The third_party/pymock files are needed to make git cl upload work correctly. BUG=pdfium:106 Review URL: https://codereview.chromium.org/1904563002
Diffstat (limited to 'build_gyp')
-rwxr-xr-xbuild_gyp/gyp_pdfium2
-rw-r--r--build_gyp/standalone.gypi2
2 files changed, 2 insertions, 2 deletions
diff --git a/build_gyp/gyp_pdfium b/build_gyp/gyp_pdfium
index 3dbbbeea75..c65337861e 100755
--- a/build_gyp/gyp_pdfium
+++ b/build_gyp/gyp_pdfium
@@ -14,7 +14,7 @@ import sys
script_dir = os.path.dirname(os.path.realpath(__file__))
pdfium_root = os.path.abspath(os.path.join(script_dir, os.pardir))
-sys.path.insert(0, os.path.join(pdfium_root, 'build_gyp', 'gyp', 'pylib'))
+sys.path.insert(0, os.path.join(pdfium_root, 'tools', 'gyp', 'pylib'))
import gyp
diff --git a/build_gyp/standalone.gypi b/build_gyp/standalone.gypi
index 7292947226..4b5b74072a 100644
--- a/build_gyp/standalone.gypi
+++ b/build_gyp/standalone.gypi
@@ -49,7 +49,7 @@
'werror%': '-Werror',
'v8_optimized_debug%': 0,
'v8_use_external_startup_data%': 0,
- 'icu_gyp_path': '../v8/third_party/icu/icu.gyp',
+ 'icu_gyp_path': '../third_party/icu/icu.gyp',
'libjpeg_gyp_path': '../third_party/third_party.gyp',
'conditions': [
['OS == "win"', {