reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 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 | '../gpu/gpu.gyp:gpu', |
| 19 | '../skia/skia.gyp:skia', |
| 20 | '../ui/aura/aura.gyp:aura', |
| 21 | '../ui/compositor/compositor.gyp:compositor', |
| 22 | '../ui/gfx/gfx.gyp:gfx', |
| 23 | '../ui/gfx/gfx.gyp:gfx_geometry', |
| 24 | '../ui/gl/gl.gyp:gl', |
| 25 | '../ui/views/views.gyp:views', |
| 26 | ], |
| 27 | 'sources': [ |
| 28 | # Note: sources list duplicated in GN build. |
| 29 | 'exo/buffer.cc', |
| 30 | 'exo/buffer.h', |
| 31 | 'exo/display.cc', |
| 32 | 'exo/display.h', |
reveman | 5cacf70c | 2015-12-09 22:50:02 | [diff] [blame] | 33 | 'exo/keyboard.cc', |
| 34 | 'exo/keyboard.h', |
| 35 | 'exo/keyboard_delegate.h', |
reveman | 39b32c87 | 2015-12-08 05:34:05 | [diff] [blame] | 36 | 'exo/pointer.cc', |
| 37 | 'exo/pointer.h', |
| 38 | 'exo/pointer_delegate.h', |
reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 39 | 'exo/shared_memory.cc', |
| 40 | 'exo/shared_memory.h', |
| 41 | 'exo/shell_surface.cc', |
| 42 | 'exo/shell_surface.h', |
reveman | 27fe264 | 2015-11-20 06:33:39 | [diff] [blame] | 43 | 'exo/sub_surface.cc', |
| 44 | 'exo/sub_surface.h', |
reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 45 | 'exo/surface.cc', |
| 46 | 'exo/surface.h', |
| 47 | 'exo/surface_delegate.h', |
reveman | 27fe264 | 2015-11-20 06:33:39 | [diff] [blame] | 48 | 'exo/surface_observer.h', |
reveman | 90b85ed | 2015-12-10 02:39:33 | [diff] [blame] | 49 | 'exo/touch.cc', |
| 50 | 'exo/touch.h', |
| 51 | 'exo/touch_delegate.h', |
reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 52 | ], |
| 53 | }, |
| 54 | ], |
| 55 | 'conditions': [ |
| 56 | [ 'OS=="linux"', { |
| 57 | 'targets': [ |
| 58 | { |
| 59 | # GN version: //components/exo:wayland |
| 60 | 'target_name': 'exo_wayland', |
| 61 | 'type': 'static_library', |
| 62 | 'include_dirs': [ |
| 63 | '..', |
| 64 | ], |
| 65 | 'dependencies': [ |
reveman | 5cacf70c | 2015-12-09 22:50:02 | [diff] [blame] | 66 | '../base/base.gyp:base', |
reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 67 | '../skia/skia.gyp:skia', |
reveman | 642d8c33 | 2016-02-19 19:55:44 | [diff] [blame] | 68 | '../third_party/wayland-protocols/wayland-protocols.gyp:scaler_protocol', |
reveman | be14788 | 2015-12-03 08:24:17 | [diff] [blame] | 69 | '../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_protocol', |
reveman | 5cacf70c | 2015-12-09 22:50:02 | [diff] [blame] | 70 | '../third_party/wayland/wayland.gyp:wayland_server', |
| 71 | '../ui/events/events.gyp:dom_keycode_converter', |
| 72 | '../ui/events/events.gyp:events_base', |
reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 73 | 'exo', |
| 74 | ], |
| 75 | 'sources': [ |
| 76 | # Note: sources list duplicated in GN build. |
reveman | 63bf3c1 | 2015-12-07 21:09:27 | [diff] [blame] | 77 | 'exo/wayland/scoped_wl.cc', |
| 78 | 'exo/wayland/scoped_wl.h', |
reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 79 | 'exo/wayland/server.cc', |
| 80 | 'exo/wayland/server.h', |
| 81 | ], |
reveman | f2357f3 | 2015-11-21 02:46:31 | [diff] [blame] | 82 | 'conditions': [ |
| 83 | ['use_ozone==1', { |
| 84 | 'dependencies': [ |
| 85 | '../third_party/mesa/mesa.gyp:wayland_drm_protocol', |
| 86 | ], |
| 87 | }], |
reveman | 5cacf70c | 2015-12-09 22:50:02 | [diff] [blame] | 88 | ['use_xkbcommon==1', { |
| 89 | 'dependencies': [ |
| 90 | '../build/linux/system.gyp:xkbcommon', |
| 91 | ], |
| 92 | 'defines': [ |
| 93 | 'USE_XKBCOMMON', |
| 94 | ], |
| 95 | }], |
reveman | f2357f3 | 2015-11-21 02:46:31 | [diff] [blame] | 96 | ], |
reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 97 | }, |
| 98 | ], |
| 99 | }], |
| 100 | ], |
| 101 | } |