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

Unified Diff: components/pdf.gypi

Issue 477263003: pdf: Create a separate component for using the pdf pepper plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 months 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
Index: components/pdf.gypi
diff --git a/components/pdf.gypi b/components/pdf.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..af31372e522f87b93ed3d83d36eae603ffaffe30
--- /dev/null
+++ b/components/pdf.gypi
@@ -0,0 +1,60 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
Lei Zhang 2014/08/26 22:41:30 You need to write a GN version.
sadrul 2014/08/27 00:09:52 Done.
+# 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_pepper_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_pepper_browser',
+ 'type': 'static_library',
+ 'dependencies': [
+ '<(DEPTH)/content/content.gyp:content_browser',
+ 'pdf_pepper_common',
+ ],
+ 'sources': [
+ 'pdf/browser/open_pdf_in_reader_prompt_delegate.h',
+ 'pdf/browser/pdf_tab_helper.cc',
+ 'pdf/browser/pdf_tab_helper.h',
+ 'pdf/browser/pdf_tab_helper_delegate.h',
+ ],
+ }, {
+ 'target_name': 'pdf_pepper_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_pepper_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, ],
+ },
+ ],
+ ],
+ }],
+}

Powered by Google App Engine
This is Rietveld 408576698