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

Side by Side Diff: webkit/common/webkit_common.gypi

Issue 15971005: Move the WebCursor sources from webkit/glue to webkit/common/cursors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/common/cursors/webcursor_win.cc ('k') | webkit/common/webkit_common_export.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'includes': [ 6 'includes': [
7 '../common/blob/webkit_common_blob.gypi', 7 '../common/blob/webkit_common_blob.gypi',
8 '../common/database/webkit_common_database.gypi', 8 '../common/database/webkit_common_database.gypi',
9 '../common/fileapi/webkit_common_fileapi.gypi', 9 '../common/fileapi/webkit_common_fileapi.gypi',
10 '../common/quota/webkit_common_quota.gypi', 10 '../common/quota/webkit_common_quota.gypi',
11 ], 11 ],
12 # TODO(michaeln): Have webkit_browser target and deprecate old gypis like 12 # TODO(michaeln): Have webkit_browser target and deprecate old gypis like
13 # webkit_storage.gypi. 13 # webkit_storage.gypi.
14 'variables': { 14 'variables': {
15 'webkit_common_storage_sources': [ 15 'webkit_common_storage_sources': [
16 '<@(webkit_common_blob_sources)', 16 '<@(webkit_common_blob_sources)',
17 '<@(webkit_common_database_sources)', 17 '<@(webkit_common_database_sources)',
18 '<@(webkit_common_fileapi_sources)', 18 '<@(webkit_common_fileapi_sources)',
19 '<@(webkit_common_quota_sources)', 19 '<@(webkit_common_quota_sources)',
20 ], 20 ],
21 }, 21 },
22
23 'targets': [
24 {
25 'target_name': 'webkit_common',
26 'type': '<(component)',
27 'variables': { 'enable_wexit_time_destructors': 1, },
28 'defines': [
29 'WEBKIT_COMMON_IMPLEMENTATION',
30 ],
31 'dependencies': [
32 '<(DEPTH)/base/base.gyp:base_i18n',
33 '<(DEPTH)/base/base.gyp:base',
34 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
35 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
36 '<(DEPTH)/net/net.gyp:net',
37 '<(DEPTH)/skia/skia.gyp:skia',
38 '<(DEPTH)/ui/ui.gyp:ui',
39 '<(DEPTH)/ui/ui.gyp:ui_resources',
40 'webkit_resources',
41 ],
42
43 'include_dirs': [
44 '<(INTERMEDIATE_DIR)',
45 '<(SHARED_INTERMEDIATE_DIR)/ui',
46 '<(SHARED_INTERMEDIATE_DIR)/webkit',
47 ],
48
49 'sources': [
50 'cursors/webcursor.cc',
51 'cursors/webcursor.h',
52 'cursors/webcursor_android.cc',
53 'cursors/webcursor_aura.cc',
54 'cursors/webcursor_aurawin.cc',
55 'cursors/webcursor_aurax11.cc',
56 'cursors/webcursor_null.cc',
57 'cursors/webcursor_gtk.cc',
58 'cursors/webcursor_gtk_data.h',
59 'cursors/webcursor_mac.mm',
60 'cursors/webcursor_win.cc',
61 ],
62
63 'conditions': [
64 ['toolkit_uses_gtk == 1', {
65 'dependencies': [
66 '<(DEPTH)/build/linux/system.gyp:gtk',
67 ],
68 'sources/': [['exclude', '_x11\\.cc$']],
69 }],
70 ['use_aura==1', {
71 'sources!': [
72 'cursors/webcursor_mac.mm',
73 'cursors/webcursor_win.cc',
74 ],
75 }],
76 ['use_aura==1 and use_x11==1', {
77 'link_settings': {
78 'libraries': [ '-lXcursor', ],
79 },
80 }],
81 ['use_ozone==0', {
82 'sources!': [
83 'cursors/webcursor_null.cc',
84 ],
85 }],
86 ['OS!="mac"', {
87 'sources/': [['exclude', '_mac\\.(cc|mm)$']],
88 }, { # else: OS=="mac"
89 'link_settings': {
90 'libraries': [
91 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
92 ],
93 },
94 }],
95 ['OS!="win"', {
96 'sources/': [['exclude', '_win\\.cc$']],
97 }, { # else: OS=="win"
98 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
99 'msvs_disabled_warnings': [ 4800, 4267 ],
100 'sources/': [['exclude', '_posix\\.cc$']],
101 }],
102 ],
103 },
104 ],
22 } 105 }
OLDNEW
« no previous file with comments | « webkit/common/cursors/webcursor_win.cc ('k') | webkit/common/webkit_common_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698