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 # GN version: //webkit/common:common", | 12 # GN version: //webkit/common:common", |
13 'target_name': 'webkit_common', | 13 'target_name': 'webkit_common', |
14 'type': '<(component)', | 14 'type': '<(component)', |
15 'defines': [ | 15 'defines': [ |
16 'WEBKIT_COMMON_IMPLEMENTATION', | 16 'WEBKIT_COMMON_IMPLEMENTATION', |
17 ], | 17 ], |
18 'dependencies': [ | 18 'dependencies': [ |
19 '<(DEPTH)/base/base.gyp:base', | 19 '../../base/base.gyp:base', |
20 '<(DEPTH)/base/base.gyp:base_i18n', | 20 '../../url/url.gyp:url_lib', |
21 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | |
22 '<(DEPTH)/net/net.gyp:net', | |
23 '<(DEPTH)/skia/skia.gyp:skia', | |
24 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', | |
25 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | |
26 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
27 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | |
28 '<(DEPTH)/url/url.gyp:url_lib', | |
29 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources', | |
30 '<(DEPTH)/third_party/WebKit/public/blink_headers.gyp:blink_headers', | |
31 ], | 21 ], |
32 'export_dependent_settings': [ | |
33 '<(DEPTH)/third_party/WebKit/public/blink_headers.gyp:blink_headers', | |
34 ], | |
35 | |
36 'include_dirs': [ | |
37 '<(INTERMEDIATE_DIR)', | |
38 '<(SHARED_INTERMEDIATE_DIR)/ui', | |
39 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
40 ], | |
41 | |
42 'sources': [ | 22 'sources': [ |
43 'data_element.cc', | 23 'data_element.cc', |
44 'data_element.h', | 24 'data_element.h', |
45 'webkit_common_export.h', | 25 'webkit_common_export.h', |
46 ], | 26 ], |
47 | |
48 'conditions': [ | |
49 ['use_aura==1 and use_x11==1', { | |
50 'dependencies': [ | |
51 '<(DEPTH)/build/linux/system.gyp:xcursor', | |
52 ], | |
53 }], | |
54 ['OS=="mac"', { | |
55 'link_settings': { | |
56 'libraries': [ | |
57 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
58 ], | |
59 }, | |
60 }], | |
61 ['OS=="win"', { | |
62 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
63 'msvs_disabled_warnings': [ 4800, 4267 ], | |
64 }], | |
65 ], | |
66 }, | 27 }, |
67 ], | 28 ], |
68 } | 29 } |
OLD | NEW |