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, }, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 'sources!': [ | 54 'sources!': [ |
55 'cursors/webcursor_mac.mm', | 55 'cursors/webcursor_mac.mm', |
56 'cursors/webcursor_win.cc', | 56 'cursors/webcursor_win.cc', |
57 ], | 57 ], |
58 }], | 58 }], |
59 ['use_aura==1 and use_x11==1', { | 59 ['use_aura==1 and use_x11==1', { |
60 'link_settings': { | 60 'link_settings': { |
61 'libraries': [ '-lXcursor', ], | 61 'libraries': [ '-lXcursor', ], |
62 }, | 62 }, |
63 }], | 63 }], |
64 ['use_ozone==0', { | 64 ['use_ozone==0 and use_wayland==0', { |
65 'sources!': [ | 65 'sources!': [ |
66 'cursors/webcursor_null.cc', | 66 'cursors/webcursor_null.cc', |
67 ], | 67 ], |
68 }], | 68 }], |
69 ['OS!="mac"', { | 69 ['OS!="mac"', { |
70 'sources/': [['exclude', '_mac\\.(cc|mm)$']], | 70 'sources/': [['exclude', '_mac\\.(cc|mm)$']], |
71 }, { # else: OS=="mac" | 71 }, { # else: OS=="mac" |
72 'link_settings': { | 72 'link_settings': { |
73 'libraries': [ | 73 'libraries': [ |
74 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | 74 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
75 ], | 75 ], |
76 }, | 76 }, |
77 }], | 77 }], |
78 ['OS!="win"', { | 78 ['OS!="win"', { |
79 'sources/': [['exclude', '_win\\.cc$']], | 79 'sources/': [['exclude', '_win\\.cc$']], |
80 }, { # else: OS=="win" | 80 }, { # else: OS=="win" |
81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
82 'msvs_disabled_warnings': [ 4800, 4267 ], | 82 'msvs_disabled_warnings': [ 4800, 4267 ], |
83 'sources/': [['exclude', '_posix\\.cc$']], | 83 'sources/': [['exclude', '_posix\\.cc$']], |
84 }], | 84 }], |
85 ], | 85 ], |
86 }, | 86 }, |
87 ], | 87 ], |
88 } | 88 } |
OLD | NEW |