From 70e2270a8ac049bbcef0f13ae0848e3a2d01966b Mon Sep 17 00:00:00 2001 From: John Abd-El-Malek Date: Thu, 22 May 2014 16:14:52 -0700 Subject: Create a standalone pdfium build. I moved pdfium_test from chromium's repo to pdfium's. It's now buildable as a sample following the instructions on the wiki. --- build/standalone.gypi | 259 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 259 insertions(+) create mode 100644 build/standalone.gypi (limited to 'build/standalone.gypi') diff --git a/build/standalone.gypi b/build/standalone.gypi new file mode 100644 index 0000000000..970c0590c7 --- /dev/null +++ b/build/standalone.gypi @@ -0,0 +1,259 @@ +# Copyright 2014 PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Definitions to be used when building stand-alone PDFium binaries. + +{ + 'variables': { + 'component%': 'static_library', + 'clang%': 0, + 'msvs_multi_core_compile%': '1', + 'variables': { + 'variables': { + 'variables': { + 'conditions': [ + ['OS=="linux" or OS=="mac"', { + # This handles the Unix platforms we generally deal with. + # Anything else gets passed through, which probably won't work + # very well; such hosts should pass an explicit target_arch + # to gyp. + 'host_arch%': + '