1 # Copyright (c) 2012 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.
7 # Disable narrowing-conversion-in-initialization-list warnings in that we
8 # do not want to fix it in data file "webcursor_gtk_data.h".
9 'cflags+': ['-Wno-narrowing'],
10 'cflags_cc+': ['-Wno-narrowing'],
17 'target_name': 'glue',
18 'type': '<(component)',
19 'variables': { 'enable_wexit_time_destructors': 1, },
21 'WEBKIT_EXTENSIONS_IMPLEMENTATION',
22 'WEBKIT_GLUE_IMPLEMENTATION',
25 '<(DEPTH)/base/base.gyp:base',
26 '<(DEPTH)/base/base.gyp:base_i18n',
27 '<(DEPTH)/base/base.gyp:base_static',
28 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
29 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib',
30 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation',
31 '<(DEPTH)/net/net.gyp:net',
32 '<(DEPTH)/skia/skia.gyp:skia',
33 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
34 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
35 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
36 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
37 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
38 '<(DEPTH)/ui/gl/gl.gyp:gl',
39 '<(DEPTH)/url/url.gyp:url_lib',
40 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
41 '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
42 '<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common',
43 '<(DEPTH)/webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
44 '<(DEPTH)/webkit/storage_browser.gyp:webkit_storage_browser',
45 '<(DEPTH)/webkit/storage_common.gyp:webkit_storage_common',
46 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
47 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
50 '<(INTERMEDIATE_DIR)',
51 '<(SHARED_INTERMEDIATE_DIR)/webkit',
52 '<(SHARED_INTERMEDIATE_DIR)/ui',
55 'simple_webmimeregistry_impl.cc',
56 'simple_webmimeregistry_impl.h',
57 'webfileutilities_impl.cc',
58 'webfileutilities_impl.h',
61 'webkit_glue_export.h',
63 # When glue is a dependency, it needs to be a hard dependency.
64 # Dependents may rely on files generated by this target or one of its
65 # own hard dependencies.
68 ['toolkit_uses_gtk == 1', {
70 '<(DEPTH)/build/linux/system.gyp:gtk',
72 'sources/': [['exclude', '_x11\\.cc$']],
74 ['use_aura==1 and use_x11==1', {
76 'libraries': [ '-lXcursor', ],
81 '<(DEPTH)/third_party/wtl/include',
83 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
84 'msvs_disabled_warnings': [ 4800, 4267 ],
86 ['component=="shared_library"', {
88 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
90 'export_dependent_settings': [
91 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
92 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
97 ['chrome_multiple_dll!=1', {
99 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
102 ['enable_printing!=0', {
104 '<(DEPTH)/printing/printing.gyp:printing',
111 ['use_third_party_translations==1', {
114 'target_name': 'inspector_strings',
117 'grit_out_dir': '<(PRODUCT_DIR)/resources/inspector/l10n',
121 'action_name': 'inspector_strings',
123 'grit_grd_file': 'inspector_strings.grd',
125 'includes': [ '../../build/grit_action.gypi' ],
128 'includes': [ '../../build/grit_target.gypi' ],