diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-06 23:06:24 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-06 23:06:24 +0000 |
commit | f6a61b7075a9926be52f695c32f34856c3a45746 (patch) | |
tree | bf6eabac2f2fa696138848d87ebb02040099927a /webkit | |
parent | f5dc03a4dfd7506951a655ee23f27c34ca103720 (diff) | |
download | chromium_src-f6a61b7075a9926be52f695c32f34856c3a45746.zip chromium_src-f6a61b7075a9926be52f695c32f34856c3a45746.tar.gz chromium_src-f6a61b7075a9926be52f695c32f34856c3a45746.tar.bz2 |
Extract webkit_child target from glue.
BUG=239107
TEST=everything still builds
R=jamesr@chromium.org
TBR=darin
Review URL: https://codereview.chromium.org/54583005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/child/webkit_child.gyp | 134 | ||||
-rw-r--r-- | webkit/glue/webkit_glue.gypi | 117 |
2 files changed, 134 insertions, 117 deletions
diff --git a/webkit/child/webkit_child.gyp b/webkit/child/webkit_child.gyp new file mode 100644 index 0000000..141b1ac --- /dev/null +++ b/webkit/child/webkit_child.gyp @@ -0,0 +1,134 @@ +# 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. + +{ + 'variables': { + 'chromium_code': 1, + }, + 'conditions': [ + ['OS=="android"', + { + 'targets': [ + { + 'target_name': 'overscroller_jni_headers', + 'type': 'none', + 'variables': { + 'jni_gen_package': 'webkit', + 'input_java_class': 'android/widget/OverScroller.class', + }, + 'includes': [ '../../build/jar_file_jni_generator.gypi' ], + }, + ], + } + ], + ], + 'targets': [ + { + 'target_name': 'webkit_child', + 'type': '<(component)', + 'variables': { 'enable_wexit_time_destructors': 1, }, + 'defines': [ + 'WEBKIT_CHILD_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)/net/net.gyp:net', + '<(DEPTH)/skia/skia.gyp:skia', + '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', + '<(DEPTH)/ui/gfx/gfx.gyp:gfx', + '<(DEPTH)/ui/native_theme/native_theme.gyp:native_theme', + '<(DEPTH)/ui/ui.gyp:ui', + '<(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', + ], + 'include_dirs': [ + # For JNI generated header. + '<(SHARED_INTERMEDIATE_DIR)/webkit', + ], + # This target exports a hard dependency because dependent targets may + # include the header generated above. + 'hard_dependency': 1, + 'sources': [ + 'fling_animator_impl_android.cc', + 'fling_animator_impl_android.h', + 'fling_curve_configuration.cc', + 'fling_curve_configuration.h', + 'ftp_directory_listing_response_delegate.cc', + 'ftp_directory_listing_response_delegate.h', + 'multipart_response_delegate.cc', + 'multipart_response_delegate.h', + 'resource_loader_bridge.cc', + 'resource_loader_bridge.h', + 'touch_fling_gesture_curve.cc', + 'touch_fling_gesture_curve.h', + 'web_discardable_memory_impl.cc', + 'web_discardable_memory_impl.h', + 'webfallbackthemeengine_impl.cc', + 'webfallbackthemeengine_impl.h', + 'webkit_child_export.h', + 'webkit_child_helpers.cc', + 'webkit_child_helpers.h', + 'webkitplatformsupport_child_impl.cc', + 'webkitplatformsupport_child_impl.h', + 'webkitplatformsupport_impl.cc', + 'webkitplatformsupport_impl.h', + 'websocketstreamhandle_bridge.h', + 'websocketstreamhandle_delegate.h', + 'websocketstreamhandle_impl.cc', + 'websocketstreamhandle_impl.h', + 'webthemeengine_impl_android.cc', + 'webthemeengine_impl_android.h', + 'webthemeengine_impl_default.cc', + 'webthemeengine_impl_default.h', + 'webthemeengine_impl_mac.cc', + 'webthemeengine_impl_mac.h', + 'webthemeengine_impl_win.cc', + 'webthemeengine_impl_win.h', + 'webthread_impl.cc', + 'webthread_impl.h', + 'weburlloader_impl.cc', + 'weburlloader_impl.h', + 'weburlrequest_extradata_impl.cc', + 'weburlrequest_extradata_impl.h', + 'weburlresponse_extradata_impl.cc', + 'weburlresponse_extradata_impl.h', + 'worker_task_runner.cc', + 'worker_task_runner.h', + ], + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + 'msvs_disabled_warnings': [ 4267 ], + 'conditions': [ + ['use_default_render_theme==0', + { + 'sources/': [ + ['exclude', 'webthemeengine_impl_default.cc'], + ['exclude', 'webthemeengine_impl_default.h'], + ], + } + ], + ['OS=="mac"', + { + 'link_settings': { + 'libraries': [ + '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', + ], + }, + } + ], + ['OS=="android"', + { + 'dependencies': [ + 'overscroller_jni_headers', + ], + } + ], + ], + }, + ], +} diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi index b044dc0..b01d327 100644 --- a/webkit/glue/webkit_glue.gypi +++ b/webkit/glue/webkit_glue.gypi @@ -14,110 +14,6 @@ }, 'targets': [ { - 'target_name': 'glue_child', - 'type': '<(component)', - 'variables': { 'enable_wexit_time_destructors': 1, }, - 'defines': [ - 'WEBKIT_CHILD_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)/net/net.gyp:net', - '<(DEPTH)/skia/skia.gyp:skia', - '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', - '<(DEPTH)/ui/native_theme/native_theme.gyp:native_theme', - '<(DEPTH)/ui/ui.gyp:ui', - '<(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', - ], - - 'include_dirs': [ - # For JNI generated header. - '<(SHARED_INTERMEDIATE_DIR)/webkit', - ], - 'hard_dependency': 1, - - 'sources': [ - '../child/fling_animator_impl_android.cc', - '../child/fling_animator_impl_android.h', - '../child/fling_curve_configuration.cc', - '../child/fling_curve_configuration.h', - '../child/ftp_directory_listing_response_delegate.cc', - '../child/ftp_directory_listing_response_delegate.h', - '../child/multipart_response_delegate.cc', - '../child/multipart_response_delegate.h', - '../child/resource_loader_bridge.cc', - '../child/resource_loader_bridge.h', - '../child/touch_fling_gesture_curve.cc', - '../child/touch_fling_gesture_curve.h', - '../child/web_discardable_memory_impl.cc', - '../child/web_discardable_memory_impl.h', - '../child/webfallbackthemeengine_impl.cc', - '../child/webfallbackthemeengine_impl.h', - '../child/webkit_child_export.h', - '../child/webkit_child_helpers.cc', - '../child/webkit_child_helpers.h', - '../child/webkitplatformsupport_child_impl.cc', - '../child/webkitplatformsupport_child_impl.h', - '../child/webkitplatformsupport_impl.cc', - '../child/webkitplatformsupport_impl.h', - '../child/websocketstreamhandle_bridge.h', - '../child/websocketstreamhandle_delegate.h', - '../child/websocketstreamhandle_impl.cc', - '../child/websocketstreamhandle_impl.h', - '../child/webthemeengine_impl_android.cc', - '../child/webthemeengine_impl_android.h', - '../child/webthemeengine_impl_default.cc', - '../child/webthemeengine_impl_default.h', - '../child/webthemeengine_impl_mac.cc', - '../child/webthemeengine_impl_mac.h', - '../child/webthemeengine_impl_win.cc', - '../child/webthemeengine_impl_win.h', - '../child/webthread_impl.cc', - '../child/webthread_impl.h', - '../child/weburlloader_impl.cc', - '../child/weburlloader_impl.h', - '../child/weburlrequest_extradata_impl.cc', - '../child/weburlrequest_extradata_impl.h', - '../child/weburlresponse_extradata_impl.cc', - '../child/weburlresponse_extradata_impl.h', - '../child/worker_task_runner.cc', - '../child/worker_task_runner.h', - ], - - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [ 4267 ], - - 'conditions': [ - ['use_default_render_theme==0', { - 'sources/': [ - ['exclude', 'webthemeengine_impl_default.cc'], - ['exclude', 'webthemeengine_impl_default.h'], - ], - }], - ['OS=="mac"', { - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', - ], - }, - }], - ['OS=="android"', { - 'dependencies': [ - 'overscroller_jni_headers', - ], - }], - ], - }, - - - { 'target_name': 'glue', 'type': '<(component)', 'variables': { 'enable_wexit_time_destructors': 1, }, @@ -228,18 +124,5 @@ }, ], }], - ['OS=="android"', { - 'targets': [ - { - 'target_name': 'overscroller_jni_headers', - 'type': 'none', - 'variables': { - 'jni_gen_package': 'webkit', - 'input_java_class': 'android/widget/OverScroller.class', - }, - 'includes': [ '../../build/jar_file_jni_generator.gypi' ], - }, - ], - }], ], } |