blob: 7814ce5463a7ac95b9341b03ce076998af47423a [file] [log] [blame]
revemanb195f41d2015-11-19 22:16:481# 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',
reveman5cacf70c2015-12-09 22:50:0233 'exo/keyboard.cc',
34 'exo/keyboard.h',
35 'exo/keyboard_delegate.h',
reveman39b32c872015-12-08 05:34:0536 'exo/pointer.cc',
37 'exo/pointer.h',
38 'exo/pointer_delegate.h',
revemanb195f41d2015-11-19 22:16:4839 'exo/shared_memory.cc',
40 'exo/shared_memory.h',
41 'exo/shell_surface.cc',
42 'exo/shell_surface.h',
reveman27fe2642015-11-20 06:33:3943 'exo/sub_surface.cc',
44 'exo/sub_surface.h',
revemanb195f41d2015-11-19 22:16:4845 'exo/surface.cc',
46 'exo/surface.h',
47 'exo/surface_delegate.h',
reveman27fe2642015-11-20 06:33:3948 'exo/surface_observer.h',
reveman90b85ed2015-12-10 02:39:3349 'exo/touch.cc',
50 'exo/touch.h',
51 'exo/touch_delegate.h',
revemanb195f41d2015-11-19 22:16:4852 ],
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': [
reveman5cacf70c2015-12-09 22:50:0266 '../base/base.gyp:base',
revemanb195f41d2015-11-19 22:16:4867 '../skia/skia.gyp:skia',
reveman642d8c332016-02-19 19:55:4468 '../third_party/wayland-protocols/wayland-protocols.gyp:scaler_protocol',
revemanbe147882015-12-03 08:24:1769 '../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_protocol',
reveman5cacf70c2015-12-09 22:50:0270 '../third_party/wayland/wayland.gyp:wayland_server',
71 '../ui/events/events.gyp:dom_keycode_converter',
72 '../ui/events/events.gyp:events_base',
revemanb195f41d2015-11-19 22:16:4873 'exo',
74 ],
75 'sources': [
76 # Note: sources list duplicated in GN build.
reveman63bf3c12015-12-07 21:09:2777 'exo/wayland/scoped_wl.cc',
78 'exo/wayland/scoped_wl.h',
revemanb195f41d2015-11-19 22:16:4879 'exo/wayland/server.cc',
80 'exo/wayland/server.h',
81 ],
revemanf2357f32015-11-21 02:46:3182 'conditions': [
83 ['use_ozone==1', {
84 'dependencies': [
85 '../third_party/mesa/mesa.gyp:wayland_drm_protocol',
86 ],
87 }],
reveman5cacf70c2015-12-09 22:50:0288 ['use_xkbcommon==1', {
89 'dependencies': [
90 '../build/linux/system.gyp:xkbcommon',
91 ],
92 'defines': [
93 'USE_XKBCOMMON',
94 ],
95 }],
revemanf2357f32015-11-21 02:46:3196 ],
revemanb195f41d2015-11-19 22:16:4897 },
98 ],
99 }],
100 ],
101}