| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'target_defaults': { | 6 'target_defaults': { |
| 7 # Disable narrowing-conversion-in-initialization-list warnings in that we | 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". | 8 # do not want to fix it in data file "webcursor_gtk_data.h". |
| 9 'cflags+': ['-Wno-narrowing'], | 9 'cflags+': ['-Wno-narrowing'], |
| 10 'cflags_cc+': ['-Wno-narrowing'], | 10 'cflags_cc+': ['-Wno-narrowing'], |
| 11 }, | 11 }, |
| 12 'variables': { | 12 'variables': { |
| 13 'chromium_code': 1, | 13 'chromium_code': 1, |
| 14 }, | 14 }, |
| 15 'targets': [ | 15 'targets': [ |
| 16 { | 16 { |
| 17 'target_name': 'glue_child', | |
| 18 'type': '<(component)', | |
| 19 'variables': { 'enable_wexit_time_destructors': 1, }, | |
| 20 'defines': [ | |
| 21 'WEBKIT_CHILD_IMPLEMENTATION', | |
| 22 ], | |
| 23 'dependencies': [ | |
| 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:d
ynamic_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', | |
| 38 ], | |
| 39 | |
| 40 'include_dirs': [ | |
| 41 # For JNI generated header. | |
| 42 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
| 43 ], | |
| 44 'hard_dependency': 1, | |
| 45 | |
| 46 'sources': [ | |
| 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', | |
| 92 ], | |
| 93 | |
| 94 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 95 'msvs_disabled_warnings': [ 4267 ], | |
| 96 | |
| 97 'conditions': [ | |
| 98 ['use_default_render_theme==0', { | |
| 99 'sources/': [ | |
| 100 ['exclude', 'webthemeengine_impl_default.cc'], | |
| 101 ['exclude', 'webthemeengine_impl_default.h'], | |
| 102 ], | |
| 103 }], | |
| 104 ['OS=="mac"', { | |
| 105 'link_settings': { | |
| 106 'libraries': [ | |
| 107 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
| 108 ], | |
| 109 }, | |
| 110 }], | |
| 111 ['OS=="android"', { | |
| 112 'dependencies': [ | |
| 113 'overscroller_jni_headers', | |
| 114 ], | |
| 115 }], | |
| 116 ], | |
| 117 }, | |
| 118 | |
| 119 | |
| 120 { | |
| 121 'target_name': 'glue', | 17 'target_name': 'glue', |
| 122 'type': '<(component)', | 18 'type': '<(component)', |
| 123 'variables': { 'enable_wexit_time_destructors': 1, }, | 19 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 124 'defines': [ | 20 'defines': [ |
| 125 'WEBKIT_EXTENSIONS_IMPLEMENTATION', | 21 'WEBKIT_EXTENSIONS_IMPLEMENTATION', |
| 126 'WEBKIT_GLUE_IMPLEMENTATION', | 22 'WEBKIT_GLUE_IMPLEMENTATION', |
| 127 ], | 23 ], |
| 128 'dependencies': [ | 24 'dependencies': [ |
| 129 '<(DEPTH)/base/base.gyp:base', | 25 '<(DEPTH)/base/base.gyp:base', |
| 130 '<(DEPTH)/base/base.gyp:base_i18n', | 26 '<(DEPTH)/base/base.gyp:base_i18n', |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 'variables': { | 117 'variables': { |
| 222 'grit_grd_file': 'inspector_strings.grd', | 118 'grit_grd_file': 'inspector_strings.grd', |
| 223 }, | 119 }, |
| 224 'includes': [ '../../build/grit_action.gypi' ], | 120 'includes': [ '../../build/grit_action.gypi' ], |
| 225 }, | 121 }, |
| 226 ], | 122 ], |
| 227 'includes': [ '../../build/grit_target.gypi' ], | 123 'includes': [ '../../build/grit_target.gypi' ], |
| 228 }, | 124 }, |
| 229 ], | 125 ], |
| 230 }], | 126 }], |
| 231 ['OS=="android"', { | |
| 232 'targets': [ | |
| 233 { | |
| 234 'target_name': 'overscroller_jni_headers', | |
| 235 'type': 'none', | |
| 236 'variables': { | |
| 237 'jni_gen_package': 'webkit', | |
| 238 'input_java_class': 'android/widget/OverScroller.class', | |
| 239 }, | |
| 240 'includes': [ '../../build/jar_file_jni_generator.gypi' ], | |
| 241 }, | |
| 242 ], | |
| 243 }], | |
| 244 ], | 127 ], |
| 245 } | 128 } |
| OLD | NEW |