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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
# Copyright (c) 2012 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.
{
'target_defaults': {
# Disable narrowing-conversion-in-initialization-list warnings in that we
# do not want to fix it in data file "webcursor_gtk_data.h".
'cflags+': ['-Wno-narrowing'],
'cflags_cc+': ['-Wno-narrowing'],
},
'variables': {
'chromium_code': 1,
},
'targets': [
{
'target_name': 'glue',
'type': '<(component)',
'variables': { 'enable_wexit_time_destructors': 1, },
'defines': [
'WEBKIT_EXTENSIONS_IMPLEMENTATION',
'WEBKIT_GLUE_IMPLEMENTATION',
],
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/base/base.gyp:base_i18n',
'<(DEPTH)/base/base.gyp:base_static',
'<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'<(DEPTH)/gpu/gpu.gyp:gles2_c_lib',
'<(DEPTH)/gpu/gpu.gyp:gles2_implementation',
'<(DEPTH)/net/net.gyp:net',
'<(DEPTH)/skia/skia.gyp:skia',
'<(DEPTH)/third_party/icu/icu.gyp:icui18n',
'<(DEPTH)/third_party/icu/icu.gyp:icuuc',
'<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
'<(DEPTH)/ui/gfx/gfx.gyp:gfx',
'<(DEPTH)/ui/gl/gl.gyp:gl',
'<(DEPTH)/url/url.gyp:url_lib',
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
'<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
'<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common',
'<(DEPTH)/webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
'<(DEPTH)/webkit/storage_browser.gyp:webkit_storage_browser',
'<(DEPTH)/webkit/storage_common.gyp:webkit_storage_common',
'<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
'<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
],
'include_dirs': [
'<(INTERMEDIATE_DIR)',
'<(SHARED_INTERMEDIATE_DIR)/webkit',
'<(SHARED_INTERMEDIATE_DIR)/ui',
],
'sources': [
'simple_webmimeregistry_impl.cc',
'simple_webmimeregistry_impl.h',
'webfileutilities_impl.cc',
'webfileutilities_impl.h',
'webkit_glue.cc',
'webkit_glue.h',
'webkit_glue_export.h',
],
# When glue is a dependency, it needs to be a hard dependency.
# Dependents may rely on files generated by this target or one of its
# own hard dependencies.
'hard_dependency': 1,
'conditions': [
['toolkit_uses_gtk == 1', {
'dependencies': [
'<(DEPTH)/build/linux/system.gyp:gtk',
],
'sources/': [['exclude', '_x11\\.cc$']],
}],
['use_aura==1 and use_x11==1', {
'link_settings': {
'libraries': [ '-lXcursor', ],
},
}],
['OS=="win"', {
'include_dirs': [
'<(DEPTH)/third_party/wtl/include',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4800, 4267 ],
'conditions': [
['component=="shared_library"', {
'dependencies': [
'<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
],
'export_dependent_settings': [
'<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
],
}],
],
}],
['chrome_multiple_dll!=1', {
'dependencies': [
'<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
],
}],
['enable_printing!=0', {
'dependencies': [
'<(DEPTH)/printing/printing.gyp:printing',
],
}],
],
},
],
'conditions': [
['use_third_party_translations==1', {
'targets': [
{
'target_name': 'inspector_strings',
'type': 'none',
'variables': {
'grit_out_dir': '<(PRODUCT_DIR)/resources/inspector/l10n',
},
'actions': [
{
'action_name': 'inspector_strings',
'variables': {
'grit_grd_file': 'inspector_strings.grd',
},
'includes': [ '../../build/grit_action.gypi' ],
},
],
'includes': [ '../../build/grit_target.gypi' ],
},
],
}],
],
}
|