Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1259)

Unified Diff: webkit/child/webkit_child.gyp

Issue 54583005: Extract webkit_child target from glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/child/webkit_child.gyp
diff --git a/webkit/child/webkit_child.gyp b/webkit/child/webkit_child.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..cf5e445ccc1377fe396b84fdc86ccd67b701ec6d
--- /dev/null
+++ b/webkit/child/webkit_child.gyp
@@ -0,0 +1,132 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
jamesr 2013/11/05 01:11:12 2013
+# 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',
+ ],
+ 'hard_dependency': 1,
jamesr 2013/11/05 01:11:12 was there a comment in the original source about w
tfarina 2013/11/05 01:23:31 Scott, you added it in https://codereview.chromium
scottmg 2013/11/05 01:27:57 Sorry, I don't. I would guess either: 1) the jni
tfarina 2013/11/05 01:31:24 ah, ok. this matches with what is said about the h
+ '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',
+ ],
+ }
+ ],
+ ],
+ },
+ ],
+}
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698