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