{
'variables': {
+ 'variables': {
+ 'enable_ozone_wayland_vkb%': 0,
+ 'enable_xdg_shell%': 0,
+ },
+ 'enable_ozone_wayland_vkb%': '<(enable_ozone_wayland_vkb)',
+ 'enable_xdg_shell%': '<(enable_xdg_shell)',
'conditions': [
['sysroot!=""', {
- 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
+ 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
}, {
'pkg-config': 'pkg-config'
}],
],
'include_dirs': [
'../..',
- '../../third_party/mesa/src/include',
- ],
- 'includes': [
- '../ui/ime/ime.gypi',
+ '<(DEPTH)/third_party/khronos',
],
'sources': [
'display.cc',
'display_poll_thread.h',
'input_device.cc',
'input_device.h',
+ 'ozone_hardware_display.h',
+ 'ozone_hardware_display.cc',
'screen.cc',
'screen.h',
- 'surface.h',
- 'surface.cc',
- 'shell_surface.h',
- 'shell_surface.cc',
'window.cc',
'window.h',
'egl/egl_window.cc',
'input/cursor.h',
'input/keyboard.cc',
'input/keyboard.h',
+ 'input/keyboard_engine_xkb.h',
+ 'input/keyboard_engine_xkb.cc',
'input/pointer.cc',
'input/pointer.h',
+ 'input/text_input.h',
+ 'input/text_input.cc',
+ 'input/text-protocol.c',
+ 'input/text-client-protocol.h',
+ 'input/touchscreen.cc',
+ 'input/touchscreen.h',
+ 'shell/shell.cc',
+ 'shell/shell.h',
+ 'shell/shell_surface.h',
+ 'shell/shell_surface.cc',
+ 'shell/wl_shell_surface.cc',
+ 'shell/wl_shell_surface.h',
+ ],
+ 'conditions': [
+ ['<(enable_ozone_wayland_vkb)==1', {
+ 'defines': [
+ 'ENABLE_OZONE_WAYLAND_VKB',
+ ],
+ }],
+ ['<(enable_xdg_shell)==1', {
+ 'defines': [
+ 'ENABLE_XDG_SHELL',
+ ],
+ 'sources': [
+ 'shell/xdg_shell_surface.cc',
+ 'shell/xdg_shell_surface.h',
+ 'shell/xdg-shell-protocol.c',
+ 'shell/xdg-shell-client-protocol.h',
+ ],
+ }],
],
},
]