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_child',
18 'type': '<(component)',
19 'variables': { 'enable_wexit_time_destructors': 1, },
21 'WEBKIT_CHILD_IMPLEMENTATION',
24 '<(DEPTH)/base/base.gyp:base',
25 '<(DEPTH)/base/base.gyp:base_i18n',
26 '<(DEPTH)/base/base.gyp:base_static',
27 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
28 '<(DEPTH)/net/net.gyp:net',
29 '<(DEPTH)/skia/skia.gyp:skia',
30 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
31 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
32 '<(DEPTH)/ui/native_theme/native_theme.gyp:native_theme',
33 '<(DEPTH)/ui/ui.gyp:ui',
34 '<(DEPTH)/url/url.gyp:url_lib',
35 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
36 '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
37 '<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common',
41 # For JNI generated header.
42 '<(SHARED_INTERMEDIATE_DIR)/webkit',
47 '../child/fling_animator_impl_android.cc',
48 '../child/fling_animator_impl_android.h',
49 '../child/fling_curve_configuration.cc',
50 '../child/fling_curve_configuration.h',
51 '../child/ftp_directory_listing_response_delegate.cc',
52 '../child/ftp_directory_listing_response_delegate.h',
53 '../child/multipart_response_delegate.cc',
54 '../child/multipart_response_delegate.h',
55 '../child/resource_loader_bridge.cc',
56 '../child/resource_loader_bridge.h',
57 '../child/touch_fling_gesture_curve.cc',
58 '../child/touch_fling_gesture_curve.h',
59 '../child/web_discardable_memory_impl.cc',
60 '../child/web_discardable_memory_impl.h',
61 '../child/webfallbackthemeengine_impl.cc',
62 '../child/webfallbackthemeengine_impl.h',
63 '../child/webkit_child_export.h',
64 '../child/webkit_child_helpers.cc',
65 '../child/webkit_child_helpers.h',
66 '../child/webkitplatformsupport_child_impl.cc',
67 '../child/webkitplatformsupport_child_impl.h',
68 '../child/webkitplatformsupport_impl.cc',
69 '../child/webkitplatformsupport_impl.h',
70 '../child/websocketstreamhandle_bridge.h',
71 '../child/websocketstreamhandle_delegate.h',
72 '../child/websocketstreamhandle_impl.cc',
73 '../child/websocketstreamhandle_impl.h',
74 '../child/webthemeengine_impl_android.cc',
75 '../child/webthemeengine_impl_android.h',
76 '../child/webthemeengine_impl_default.cc',
77 '../child/webthemeengine_impl_default.h',
78 '../child/webthemeengine_impl_mac.cc',
79 '../child/webthemeengine_impl_mac.h',
80 '../child/webthemeengine_impl_win.cc',
81 '../child/webthemeengine_impl_win.h',
82 '../child/webthread_impl.cc',
83 '../child/webthread_impl.h',
84 '../child/weburlloader_impl.cc',
85 '../child/weburlloader_impl.h',
86 '../child/weburlrequest_extradata_impl.cc',
87 '../child/weburlrequest_extradata_impl.h',
88 '../child/weburlresponse_extradata_impl.cc',
89 '../child/weburlresponse_extradata_impl.h',
90 '../child/worker_task_runner.cc',
91 '../child/worker_task_runner.h',
94 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
95 'msvs_disabled_warnings': [ 4267 ],
98 ['use_default_render_theme==0', {
100 ['exclude', 'webthemeengine_impl_default.cc'],
101 ['exclude', 'webthemeengine_impl_default.h'],
107 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
113 'overscroller_jni_headers',
121 'target_name': 'glue',
122 'type': '<(component)',
123 'variables': { 'enable_wexit_time_destructors': 1, },
125 'WEBKIT_EXTENSIONS_IMPLEMENTATION',
126 'WEBKIT_GLUE_IMPLEMENTATION',
129 '<(DEPTH)/base/base.gyp:base',
130 '<(DEPTH)/base/base.gyp:base_i18n',
131 '<(DEPTH)/base/base.gyp:base_static',
132 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
133 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib',
134 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation',
135 '<(DEPTH)/net/net.gyp:net',
136 '<(DEPTH)/printing/printing.gyp:printing',
137 '<(DEPTH)/skia/skia.gyp:skia',
138 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
139 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
140 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
141 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
142 '<(DEPTH)/ui/gl/gl.gyp:gl',
143 '<(DEPTH)/url/url.gyp:url_lib',
144 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
145 '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
146 '<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common',
147 '<(DEPTH)/webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
148 '<(DEPTH)/webkit/storage_browser.gyp:webkit_storage_browser',
149 '<(DEPTH)/webkit/storage_common.gyp:webkit_storage_common',
150 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
151 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings',
154 '<(INTERMEDIATE_DIR)',
155 '<(SHARED_INTERMEDIATE_DIR)/webkit',
156 '<(SHARED_INTERMEDIATE_DIR)/ui',
159 'simple_webmimeregistry_impl.cc',
160 'simple_webmimeregistry_impl.h',
161 'webfileutilities_impl.cc',
162 'webfileutilities_impl.h',
165 'webkit_glue_export.h',
167 # When glue is a dependency, it needs to be a hard dependency.
168 # Dependents may rely on files generated by this target or one of its
169 # own hard dependencies.
170 'hard_dependency': 1,
172 ['toolkit_uses_gtk == 1', {
174 '<(DEPTH)/build/linux/system.gyp:gtk',
176 'sources/': [['exclude', '_x11\\.cc$']],
178 ['use_aura==1 and use_x11==1', {
180 'libraries': [ '-lXcursor', ],
185 '<(DEPTH)/third_party/wtl/include',
187 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
188 'msvs_disabled_warnings': [ 4800, 4267 ],
190 ['component=="shared_library"', {
192 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
194 'export_dependent_settings': [
195 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
196 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
201 ['chrome_multiple_dll!=1', {
203 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
210 ['use_third_party_translations==1', {
213 'target_name': 'inspector_strings',
216 'grit_out_dir': '<(PRODUCT_DIR)/resources/inspector/l10n',
220 'action_name': 'inspector_strings',
222 'grit_grd_file': 'inspector_strings.grd',
224 'includes': [ '../../build/grit_action.gypi' ],
227 'includes': [ '../../build/grit_target.gypi' ],
234 'target_name': 'overscroller_jni_headers',
237 'jni_gen_package': 'webkit',
238 'input_java_class': 'android/widget/OverScroller.class',
240 'includes': [ '../../build/jar_file_jni_generator.gypi' ],