| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 }, | |
| 9 'targets': [{ | |
| 10 'target_name': 'pdf_common', | |
| 11 'type': 'static_library', | |
| 12 'dependencies': [ | |
| 13 '<(DEPTH)/base/base.gyp:base', | |
| 14 '<(DEPTH)/content/content.gyp:content_common', | |
| 15 '<(DEPTH)/ipc/ipc.gyp:ipc', | |
| 16 '<(DEPTH)/url/url.gyp:url_lib', | |
| 17 '<(DEPTH)/url/ipc/url_ipc.gyp:url_ipc', | |
| 18 ], | |
| 19 'sources': [ | |
| 20 'pdf/common/pdf_message_generator.cc', | |
| 21 'pdf/common/pdf_message_generator.h', | |
| 22 'pdf/common/pdf_messages.h', | |
| 23 ], | |
| 24 }, { | |
| 25 'target_name': 'pdf_browser', | |
| 26 'type': 'static_library', | |
| 27 'dependencies': [ | |
| 28 '<(DEPTH)/content/content.gyp:content_browser', | |
| 29 'pdf_common', | |
| 30 ], | |
| 31 'sources': [ | |
| 32 'pdf/browser/open_pdf_in_reader_prompt_client.h', | |
| 33 'pdf/browser/pdf_web_contents_helper.cc', | |
| 34 'pdf/browser/pdf_web_contents_helper.h', | |
| 35 'pdf/browser/pdf_web_contents_helper_client.h', | |
| 36 ], | |
| 37 }, { | |
| 38 'target_name': 'pdf_renderer', | |
| 39 'type': 'static_library', | |
| 40 'dependencies': [ | |
| 41 '<(DEPTH)/content/content.gyp:content_renderer', | |
| 42 '<(DEPTH)/gin/gin.gyp:gin', | |
| 43 '<(DEPTH)/ppapi/ppapi_internal.gyp:ppapi_shared', | |
| 44 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | |
| 45 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | |
| 46 '<(DEPTH)/v8/src/v8.gyp:v8', | |
| 47 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', | |
| 48 'components_resources.gyp:components_resources', | |
| 49 'components_strings.gyp:components_strings', | |
| 50 'pdf_common', | |
| 51 ], | |
| 52 'sources': [ | |
| 53 'pdf/renderer/pdf_accessibility_tree.cc', | |
| 54 'pdf/renderer/pdf_accessibility_tree.h', | |
| 55 'pdf/renderer/pepper_pdf_host.cc', | |
| 56 'pdf/renderer/pepper_pdf_host.h', | |
| 57 ], | |
| 58 'conditions': [ | |
| 59 ['OS=="win"', { | |
| 60 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 61 'msvs_disabled_warnings': [4267, ], | |
| 62 }, | |
| 63 ], | |
| 64 ], | |
| 65 }], | |
| 66 } | |
| OLD | NEW |