# Copyright 2013 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': [ { 'target_name': 'glue_common', 'type': '<(component)', 'variables': { 'enable_wexit_time_destructors': 1, }, 'defines': [ 'WEBKIT_COMMON_IMPLEMENTATION', ], 'dependencies': [ '<(DEPTH)/base/base.gyp:base', '<(DEPTH)/base/base.gyp:base_i18n', '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '<(DEPTH)/net/net.gyp:net', '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', '<(DEPTH)/ui/ui.gyp:ui', '<(DEPTH)/ui/ui.gyp:ui_resources', '<(DEPTH)/url/url.gyp:url_lib', ], 'sources': [ '../common/webkit_common_export.h', '../common/webpreferences.cc', '../common/webpreferences.h', 'multipart_response_delegate.cc', 'multipart_response_delegate.h', 'weburlrequest_extradata_impl.cc', 'weburlrequest_extradata_impl.h', 'weburlresponse_extradata_impl.cc', 'weburlresponse_extradata_impl.h', ], 'conditions': [ ['toolkit_uses_gtk == 1', { 'dependencies': [ '<(DEPTH)/build/linux/system.gyp:gtk', ], 'sources/': [['exclude', '_x11\\.cc$']], }], ['OS!="mac"', { 'sources/': [['exclude', '_mac\\.(cc|mm)$']], }, { # else: OS=="mac" 'link_settings': { 'libraries': [ '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', ], }, }], ['OS!="win"', { 'sources/': [['exclude', '_win\\.cc$']], }, { # else: OS=="win" # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4800, 4267 ], 'sources/': [['exclude', '_posix\\.cc$']], 'include_dirs': [ '<(DEPTH)/third_party/wtl/include', ], }], ], }, ], }