summaryrefslogtreecommitdiffstats
path: root/components/pdf.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'components/pdf.gypi')
-rw-r--r--components/pdf.gypi60
1 files changed, 60 insertions, 0 deletions
diff --git a/components/pdf.gypi b/components/pdf.gypi
new file mode 100644
index 0000000..80061c6
--- /dev/null
+++ b/components/pdf.gypi
@@ -0,0 +1,60 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'targets': [{
+ 'target_name': 'pdf_common',
+ 'type': 'static_library',
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/content/content.gyp:content_common',
+ '<(DEPTH)/ipc/ipc.gyp:ipc',
+ '<(DEPTH)/url/url.gyp:url_lib',
+ ],
+ 'sources': [
+ 'pdf/common/pdf_message_generator.cc',
+ 'pdf/common/pdf_message_generator.h',
+ 'pdf/common/pdf_messages.h',
+ ],
+ }, {
+ 'target_name': 'pdf_browser',
+ 'type': 'static_library',
+ 'dependencies': [
+ '<(DEPTH)/content/content.gyp:content_browser',
+ 'pdf_common',
+ ],
+ 'sources': [
+ 'pdf/browser/open_pdf_in_reader_prompt_client.h',
+ 'pdf/browser/pdf_web_contents_helper.cc',
+ 'pdf/browser/pdf_web_contents_helper.h',
+ 'pdf/browser/pdf_web_contents_helper_client.h',
+ ],
+ }, {
+ 'target_name': 'pdf_renderer',
+ 'type': 'static_library',
+ 'dependencies': [
+ '<(DEPTH)/content/content.gyp:content_renderer',
+ '<(DEPTH)/ppapi/ppapi_internal.gyp:ppapi_shared',
+ '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
+ '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
+ '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
+ '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
+ 'pdf_common',
+ ],
+ 'sources': [
+ 'pdf/renderer/ppb_pdf_impl.cc',
+ 'pdf/renderer/ppb_pdf_impl.h',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ 'msvs_disabled_warnings': [4267, ],
+ },
+ ],
+ ],
+ }],
+}