blob: 442df524bcc0c35e5b18209cc4f548ac4859c8dd [file] [log] [blame]
# Copyright 2015 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.
{
'targets': [
{
# GN: //components/printing/common:printing_common
'target_name': 'printing_common',
'type': 'static_library',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/ipc/ipc.gyp:ipc',
'<(DEPTH)/printing/printing.gyp:printing',
'<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
'<(DEPTH)/ui/gfx/gfx.gyp:gfx',
],
'sources': [
"printing/common/print_messages.cc",
"printing/common/print_messages.h",
],
},{
# GN: //components/printing/common:printing_renderer
'target_name': 'printing_renderer',
'type': 'static_library',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/content/content.gyp:content_common',
'<(DEPTH)/content/content.gyp:content_renderer',
'<(DEPTH)/net/net.gyp:net',
'<(DEPTH)/printing/printing.gyp:printing',
'<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
'<(DEPTH)/ui/base/ui_base.gyp:ui_base',
'components_resources.gyp:components_resources',
'printing_common',
],
'sources': [
'printing/renderer/print_web_view_helper.cc',
'printing/renderer/print_web_view_helper.h',
'printing/renderer/print_web_view_helper_android.cc',
'printing/renderer/print_web_view_helper_linux.cc',
'printing/renderer/print_web_view_helper_mac.mm',
'printing/renderer/print_web_view_helper_pdf_win.cc',
],
# TODO(dgn): C4267: http://crbug.com/167187 size_t -> int
'msvs_disabled_warnings': [ 4267 ],
},
],
}