1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Copyright 2013 Intel Corporation. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
9 'enable_ozone_wayland_vkb%': 0,
10 'enable_xdg_shell%': 0,
12 'enable_ozone_wayland_vkb%': '<(enable_ozone_wayland_vkb)',
13 'enable_xdg_shell%': '<(enable_xdg_shell)',
16 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
18 'pkg-config': 'pkg-config'
25 'target_name': 'wayland_toolkit',
26 'type': 'static_library',
28 'WAYLAND_VERSION': '1.2.0',
29 'MESA_VERSION': '9.1.3',
31 'egl >= <(MESA_VERSION)',
32 'wayland-client >= <(WAYLAND_VERSION)',
33 'wayland-cursor >= <(WAYLAND_VERSION)',
34 'wayland-egl >= <(MESA_VERSION)',
39 '<!@(<(pkg-config) --cflags <(wayland_packages))',
41 'direct_dependent_settings': {
43 '<!@(<(pkg-config) --cflags <(wayland_packages))',
48 '<!@(<(pkg-config) --libs-only-L --libs-only-other <(wayland_packages))',
51 '<!@(<(pkg-config) --libs-only-l <(wayland_packages))',
55 '../../base/base.gyp:base',
59 '<(DEPTH)/third_party/khronos',
64 'display_poll_thread.cc',
65 'display_poll_thread.h',
68 'ozone_hardware_display.h',
69 'ozone_hardware_display.cc',
80 'input/keyboard_engine_xkb.h',
81 'input/keyboard_engine_xkb.cc',
85 'input/text_input.cc',
86 'input/text-protocol.c',
87 'input/text-client-protocol.h',
88 'input/touchscreen.cc',
89 'input/touchscreen.h',
92 'shell/shell_surface.h',
93 'shell/shell_surface.cc',
94 'shell/wl_shell_surface.cc',
95 'shell/wl_shell_surface.h',
98 ['<(enable_ozone_wayland_vkb)==1', {
100 'ENABLE_OZONE_WAYLAND_VKB',
103 ['<(enable_xdg_shell)==1', {
108 'shell/xdg_shell_surface.cc',
109 'shell/xdg_shell_surface.h',
110 'shell/xdg-shell-protocol.c',
111 'shell/xdg-shell-client-protocol.h',