| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 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 # GN version: //components/exo | |
| 9 'target_name': 'exo', | |
| 10 'type': 'static_library', | |
| 11 'include_dirs': [ | |
| 12 '..', | |
| 13 ], | |
| 14 'dependencies': [ | |
| 15 '../ash/ash.gyp:ash', | |
| 16 '../base/base.gyp:base', | |
| 17 '../cc/cc.gyp:cc', | |
| 18 '../cc/cc.gyp:cc_surfaces', | |
| 19 '../device/gamepad/gamepad.gyp:device_gamepad', | |
| 20 '../gpu/gpu.gyp:gpu', | |
| 21 '../skia/skia.gyp:skia', | |
| 22 '../ui/aura/aura.gyp:aura', | |
| 23 '../ui/compositor/compositor.gyp:compositor', | |
| 24 '../ui/gfx/gfx.gyp:gfx', | |
| 25 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 26 '../ui/gl/gl.gyp:gl', | |
| 27 '../ui/views/views.gyp:views', | |
| 28 '../ui/wm/wm.gyp:wm', | |
| 29 ], | |
| 30 'export_dependent_settings': [ | |
| 31 '../ui/views/views.gyp:views', | |
| 32 ], | |
| 33 'sources': [ | |
| 34 # Note: sources list duplicated in GN build. | |
| 35 'exo/buffer.cc', | |
| 36 'exo/buffer.h', | |
| 37 'exo/display.cc', | |
| 38 'exo/display.h', | |
| 39 'exo/gamepad.cc', | |
| 40 'exo/gamepad.h', | |
| 41 'exo/keyboard.cc', | |
| 42 'exo/keyboard.h', | |
| 43 'exo/keyboard_delegate.h', | |
| 44 'exo/notification_surface.cc', | |
| 45 'exo/notification_surface.h', | |
| 46 'exo/notification_surface_manager.h', | |
| 47 'exo/pointer.cc', | |
| 48 'exo/pointer.h', | |
| 49 'exo/pointer_delegate.h', | |
| 50 'exo/shared_memory.cc', | |
| 51 'exo/shared_memory.h', | |
| 52 'exo/shell_surface.cc', | |
| 53 'exo/shell_surface.h', | |
| 54 'exo/sub_surface.cc', | |
| 55 'exo/sub_surface.h', | |
| 56 'exo/surface.cc', | |
| 57 'exo/surface.h', | |
| 58 'exo/surface_property.h', | |
| 59 'exo/surface_delegate.h', | |
| 60 'exo/surface_observer.h', | |
| 61 'exo/touch.cc', | |
| 62 'exo/touch.h', | |
| 63 'exo/touch_delegate.h', | |
| 64 ], | |
| 65 }, | |
| 66 ], | |
| 67 'conditions': [ | |
| 68 [ 'OS=="linux"', { | |
| 69 'targets': [ | |
| 70 { | |
| 71 # GN version: //components/exo:wayland | |
| 72 'target_name': 'exo_wayland', | |
| 73 'type': 'static_library', | |
| 74 'include_dirs': [ | |
| 75 '..', | |
| 76 ], | |
| 77 'dependencies': [ | |
| 78 '../base/base.gyp:base', | |
| 79 '../ipc/ipc.gyp:ipc', | |
| 80 '../skia/skia.gyp:skia', | |
| 81 '../third_party/wayland-protocols/wayland-protocols.gyp:alpha_compos
iting_protocol', | |
| 82 '../third_party/wayland-protocols/wayland-protocols.gyp:gaming_input
_protocol', | |
| 83 '../third_party/wayland-protocols/wayland-protocols.gyp:remote_shell
_protocol', | |
| 84 '../third_party/wayland-protocols/wayland-protocols.gyp:secure_outpu
t_protocol', | |
| 85 '../third_party/wayland-protocols/wayland-protocols.gyp:stylus_proto
col', | |
| 86 '../third_party/wayland-protocols/wayland-protocols.gyp:viewporter_p
rotocol', | |
| 87 '../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_pr
otocol', | |
| 88 '../third_party/wayland-protocols/wayland-protocols.gyp:vsync_feedba
ck_protocol', | |
| 89 '../third_party/wayland/wayland.gyp:wayland_server', | |
| 90 '../ui/aura/aura.gyp:aura', | |
| 91 '../ui/events/events.gyp:dom_keycode_converter', | |
| 92 '../ui/display/display.gyp:display', | |
| 93 '../ui/events/events.gyp:events_base', | |
| 94 '../ui/views/views.gyp:views', | |
| 95 'exo', | |
| 96 ], | |
| 97 'sources': [ | |
| 98 # Note: sources list duplicated in GN build. | |
| 99 'exo/wayland/scoped_wl.cc', | |
| 100 'exo/wayland/scoped_wl.h', | |
| 101 'exo/wayland/server.cc', | |
| 102 'exo/wayland/server.h', | |
| 103 ], | |
| 104 'conditions': [ | |
| 105 ['use_ozone==1', { | |
| 106 'dependencies': [ | |
| 107 '../build/linux/system.gyp:libdrm', | |
| 108 '../third_party/mesa/mesa.gyp:wayland_drm_protocol', | |
| 109 '../third_party/wayland-protocols/wayland-protocols.gyp:linux_dm
abuf_protocol', | |
| 110 ], | |
| 111 }], | |
| 112 ['use_xkbcommon==1', { | |
| 113 'dependencies': [ | |
| 114 '../build/linux/system.gyp:xkbcommon', | |
| 115 ], | |
| 116 'defines': [ | |
| 117 'USE_XKBCOMMON', | |
| 118 ], | |
| 119 }], | |
| 120 ], | |
| 121 }, | |
| 122 ], | |
| 123 }], | |
| 124 ], | |
| 125 } | |
| OLD | NEW |