| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 'target_name': 'webkit_common', | |
| 9 'type': '<(component)', | |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | |
| 11 'defines': [ | |
| 12 'WEBKIT_COMMON_IMPLEMENTATION', | |
| 13 ], | |
| 14 'dependencies': [ | |
| 15 '<(DEPTH)/base/base.gyp:base_i18n', | |
| 16 '<(DEPTH)/base/base.gyp:base', | |
| 17 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | |
| 18 '<(DEPTH)/net/net.gyp:net', | |
| 19 '<(DEPTH)/skia/skia.gyp:skia', | |
| 20 '<(DEPTH)/ui/ui.gyp:ui', | |
| 21 '<(DEPTH)/ui/ui.gyp:ui_resources', | |
| 22 '<(DEPTH)/url/url.gyp:url_lib', | |
| 23 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_temp_resources', | |
| 24 ], | |
| 25 | |
| 26 'include_dirs': [ | |
| 27 '<(INTERMEDIATE_DIR)', | |
| 28 '<(SHARED_INTERMEDIATE_DIR)/ui', | |
| 29 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
| 30 ], | |
| 31 | |
| 32 'sources': [ | |
| 33 'cursors/webcursor.cc', | |
| 34 'cursors/webcursor.h', | |
| 35 'cursors/webcursor_android.cc', | |
| 36 'cursors/webcursor_aura.cc', | |
| 37 'cursors/webcursor_aurawin.cc', | |
| 38 'cursors/webcursor_aurax11.cc', | |
| 39 'cursors/webcursor_null.cc', | |
| 40 'cursors/webcursor_gtk.cc', | |
| 41 'cursors/webcursor_gtk_data.h', | |
| 42 'cursors/webcursor_mac.mm', | |
| 43 'cursors/webcursor_win.cc', | |
| 44 ], | |
| 45 | |
| 46 'conditions': [ | |
| 47 ['toolkit_uses_gtk == 1', { | |
| 48 'dependencies': [ | |
| 49 '<(DEPTH)/build/linux/system.gyp:gtk', | |
| 50 ], | |
| 51 'sources/': [['exclude', '_x11\\.cc$']], | |
| 52 }], | |
| 53 ['use_aura==1', { | |
| 54 'sources!': [ | |
| 55 'cursors/webcursor_mac.mm', | |
| 56 'cursors/webcursor_win.cc', | |
| 57 ], | |
| 58 }], | |
| 59 ['use_aura==1 and use_x11==1', { | |
| 60 'link_settings': { | |
| 61 'libraries': [ '-lXcursor', ], | |
| 62 }, | |
| 63 }], | |
| 64 ['use_ozone==0', { | |
| 65 'sources!': [ | |
| 66 'cursors/webcursor_null.cc', | |
| 67 ], | |
| 68 }], | |
| 69 ['OS!="mac"', { | |
| 70 'sources/': [['exclude', '_mac\\.(cc|mm)$']], | |
| 71 }, { # else: OS=="mac" | |
| 72 'link_settings': { | |
| 73 'libraries': [ | |
| 74 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
| 75 ], | |
| 76 }, | |
| 77 }], | |
| 78 ['OS!="win"', { | |
| 79 'sources/': [['exclude', '_win\\.cc$']], | |
| 80 }, { # else: OS=="win" | |
| 81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 82 'msvs_disabled_warnings': [ 4800, 4267 ], | |
| 83 'sources/': [['exclude', '_posix\\.cc$']], | |
| 84 }], | |
| 85 ], | |
| 86 }, | |
| 87 ], | |
| 88 } | |
| OLD | NEW |