1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# 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)/gin/gin.gyp:gin',
'<(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',
'components_resources.gyp:components_resources',
'components_strings.gyp:components_strings',
'pdf_common',
],
'sources': [
'pdf/renderer/pepper_pdf_host.cc',
'pdf/renderer/pepper_pdf_host.h',
],
'conditions': [
['OS=="win"', {
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
],
],
}],
}
|