OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2011 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 'conditions': [ |
| 7 ['sysroot!=""', { |
| 8 'variables': { |
| 9 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)"', |
| 10 }, |
| 11 }, { |
| 12 'variables': { |
| 13 'pkg-config': 'pkg-config' |
| 14 }, |
| 15 }], |
| 16 ], |
| 17 'targets': [{ |
| 18 'target_name': 'wayland', |
| 19 'type': 'static_library', |
| 20 'include_dirs': [ |
| 21 '.', |
| 22 '../..', |
| 23 'events', |
| 24 ], |
| 25 'sources': [ |
| 26 'wayland_buffer.h', |
| 27 'wayland_cursor.cc', |
| 28 'wayland_cursor.h', |
| 29 'wayland_display.cc', |
| 30 'wayland_display.h', |
| 31 'wayland_input_device.cc', |
| 32 'wayland_input_device.h', |
| 33 'wayland_screen.cc', |
| 34 'wayland_screen.h', |
| 35 'wayland_shm_buffer.cc', |
| 36 'wayland_shm_buffer.h', |
| 37 'wayland_message_pump.cc', |
| 38 'wayland_message_pump.h', |
| 39 'wayland_widget.h', |
| 40 'wayland_window.cc', |
| 41 'wayland_window.h', |
| 42 'events/wayland_event.h', |
| 43 ], |
| 44 'cflags': [ |
| 45 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)', |
| 46 ], |
| 47 'direct_dependent_settings': { |
| 48 'cflags': [ |
| 49 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)'
, |
| 50 ], |
| 51 }, |
| 52 'link_settings': { |
| 53 'ldflags': [ |
| 54 '<!@(<(pkg-config) --libs-only-L --libs-only-other wayland-client waylan
d-egl xkbcommon)', |
| 55 ], |
| 56 'libraries': [ |
| 57 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcommon)', |
| 58 ], |
| 59 }, |
| 60 }], |
| 61 } |
OLD | NEW |