Sadrul Habib Chowdhury | 2f8807f | 2014-08-28 03:50:36 | [diff] [blame] | 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 | ], |
| 18 | 'sources': [ |
| 19 | 'pdf/common/pdf_message_generator.cc', |
| 20 | 'pdf/common/pdf_message_generator.h', |
| 21 | 'pdf/common/pdf_messages.h', |
| 22 | ], |
| 23 | }, { |
| 24 | 'target_name': 'pdf_browser', |
| 25 | 'type': 'static_library', |
| 26 | 'dependencies': [ |
| 27 | '<(DEPTH)/content/content.gyp:content_browser', |
| 28 | 'pdf_common', |
| 29 | ], |
| 30 | 'sources': [ |
| 31 | 'pdf/browser/open_pdf_in_reader_prompt_client.h', |
| 32 | 'pdf/browser/pdf_web_contents_helper.cc', |
| 33 | 'pdf/browser/pdf_web_contents_helper.h', |
| 34 | 'pdf/browser/pdf_web_contents_helper_client.h', |
| 35 | ], |
| 36 | }, { |
| 37 | 'target_name': 'pdf_renderer', |
| 38 | 'type': 'static_library', |
| 39 | 'dependencies': [ |
| 40 | '<(DEPTH)/content/content.gyp:content_renderer', |
baixo | f28960d | 2014-11-13 12:41:04 | [diff] [blame] | 41 | '<(DEPTH)/gin/gin.gyp:gin', |
Sadrul Habib Chowdhury | 2f8807f | 2014-08-28 03:50:36 | [diff] [blame] | 42 | '<(DEPTH)/ppapi/ppapi_internal.gyp:ppapi_shared', |
| 43 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 44 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 45 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 46 | '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', |
Sadrul Habib Chowdhury | 8a0003b | 2014-09-02 04:13:40 | [diff] [blame] | 47 | 'components_resources.gyp:components_resources', |
| 48 | 'components_strings.gyp:components_strings', |
Sadrul Habib Chowdhury | 2f8807f | 2014-08-28 03:50:36 | [diff] [blame] | 49 | 'pdf_common', |
| 50 | ], |
| 51 | 'sources': [ |
Sadrul Habib Chowdhury | 8a0003b | 2014-09-02 04:13:40 | [diff] [blame] | 52 | 'pdf/renderer/pdf_resource_util.cc', |
| 53 | 'pdf/renderer/pdf_resource_util.h', |
satorux | ba9fc86 | 2015-02-17 01:16:42 | [diff] [blame] | 54 | 'pdf/renderer/pepper_pdf_host.cc', |
| 55 | 'pdf/renderer/pepper_pdf_host.h', |
Sadrul Habib Chowdhury | 2f8807f | 2014-08-28 03:50:36 | [diff] [blame] | 56 | 'pdf/renderer/ppb_pdf_impl.cc', |
| 57 | 'pdf/renderer/ppb_pdf_impl.h', |
| 58 | ], |
| 59 | 'conditions': [ |
| 60 | ['OS=="win"', { |
| 61 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 62 | 'msvs_disabled_warnings': [4267, ], |
| 63 | }, |
| 64 | ], |
| 65 | ], |
| 66 | }], |
| 67 | } |