OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'webkit_common', | 8 'target_name': 'webkit_common', |
9 'type': '<(component)', | 9 'type': '<(component)', |
10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
11 'defines': [ | 11 'defines': [ |
12 'WEBKIT_COMMON_IMPLEMENTATION', | 12 'WEBKIT_COMMON_IMPLEMENTATION', |
13 ], | 13 ], |
14 'dependencies': [ | 14 'dependencies': [ |
15 '<(DEPTH)/base/base.gyp:base_i18n', | 15 '<(DEPTH)/base/base.gyp:base_i18n', |
16 '<(DEPTH)/base/base.gyp:base', | 16 '<(DEPTH)/base/base.gyp:base', |
17 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 17 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
18 '<(DEPTH)/net/net.gyp:net', | 18 '<(DEPTH)/net/net.gyp:net', |
19 '<(DEPTH)/skia/skia.gyp:skia', | 19 '<(DEPTH)/skia/skia.gyp:skia', |
20 '<(DEPTH)/ui/ui.gyp:ui', | 20 '<(DEPTH)/ui/ui.gyp:ui', |
21 '<(DEPTH)/ui/ui.gyp:ui_resources', | 21 '<(DEPTH)/ui/ui.gyp:ui_resources', |
22 '<(DEPTH)/url/url.gyp:url_lib', | 22 '<(DEPTH)/url/url.gyp:url_lib', |
| 23 '<(DEPTH)/webkit/base/webkit_base.gyp:webkit_base', |
23 'webkit_resources', | 24 'webkit_resources', |
24 ], | 25 ], |
25 | 26 |
26 'include_dirs': [ | 27 'include_dirs': [ |
27 '<(INTERMEDIATE_DIR)', | 28 '<(INTERMEDIATE_DIR)', |
28 '<(SHARED_INTERMEDIATE_DIR)/ui', | 29 '<(SHARED_INTERMEDIATE_DIR)/ui', |
29 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 30 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
30 ], | 31 ], |
31 | 32 |
32 'sources': [ | 33 'sources': [ |
33 'cursors/webcursor.cc', | 34 'cursors/webcursor.cc', |
34 'cursors/webcursor.h', | 35 'cursors/webcursor.h', |
35 'cursors/webcursor_android.cc', | 36 'cursors/webcursor_android.cc', |
36 'cursors/webcursor_aura.cc', | 37 'cursors/webcursor_aura.cc', |
37 'cursors/webcursor_aurawin.cc', | 38 'cursors/webcursor_aurawin.cc', |
38 'cursors/webcursor_aurax11.cc', | 39 'cursors/webcursor_aurax11.cc', |
39 'cursors/webcursor_null.cc', | 40 'cursors/webcursor_null.cc', |
40 'cursors/webcursor_gtk.cc', | 41 'cursors/webcursor_gtk.cc', |
41 'cursors/webcursor_gtk_data.h', | 42 'cursors/webcursor_gtk_data.h', |
42 'cursors/webcursor_mac.mm', | 43 'cursors/webcursor_mac.mm', |
43 'cursors/webcursor_win.cc', | 44 'cursors/webcursor_win.cc', |
| 45 'resource_devtools_info.cc', |
| 46 'resource_devtools_info.h', |
| 47 'resource_request_body.cc', |
| 48 'resource_request_body.h', |
| 49 'resource_response_info.cc', |
| 50 'resource_response_info.h', |
44 ], | 51 ], |
45 | 52 |
46 'conditions': [ | 53 'conditions': [ |
47 ['toolkit_uses_gtk == 1', { | 54 ['toolkit_uses_gtk == 1', { |
48 'dependencies': [ | 55 'dependencies': [ |
49 '<(DEPTH)/build/linux/system.gyp:gtk', | 56 '<(DEPTH)/build/linux/system.gyp:gtk', |
50 ], | 57 ], |
51 'sources/': [['exclude', '_x11\\.cc$']], | 58 'sources/': [['exclude', '_x11\\.cc$']], |
52 }], | 59 }], |
53 ['use_aura==1', { | 60 ['use_aura==1', { |
(...skipping 25 matching lines...) Expand all Loading... |
79 'sources/': [['exclude', '_win\\.cc$']], | 86 'sources/': [['exclude', '_win\\.cc$']], |
80 }, { # else: OS=="win" | 87 }, { # else: OS=="win" |
81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 88 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
82 'msvs_disabled_warnings': [ 4800, 4267 ], | 89 'msvs_disabled_warnings': [ 4800, 4267 ], |
83 'sources/': [['exclude', '_posix\\.cc$']], | 90 'sources/': [['exclude', '_posix\\.cc$']], |
84 }], | 91 }], |
85 ], | 92 ], |
86 }, | 93 }, |
87 ], | 94 ], |
88 } | 95 } |
OLD | NEW |