Chromium Code Reviews| 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.cc', | |
| 27 'wayland_buffer.h', | |
| 28 'wayland_cursor.cc', | |
| 29 'wayland_cursor.h', | |
| 30 'wayland_display.cc', | |
| 31 'wayland_display.h', | |
| 32 'wayland_geometry_utils.h', | |
| 33 'wayland_input_device.cc', | |
| 34 'wayland_input_device.h', | |
| 35 'wayland_screen.cc', | |
| 36 'wayland_screen.h', | |
| 37 'wayland_shm_buffer.cc', | |
| 38 'wayland_shm_buffer.h', | |
| 39 'wayland_message_pump.cc', | |
| 40 'wayland_message_pump.h', | |
| 41 'wayland_widget.h', | |
| 42 'wayland_window.cc', | |
| 43 'wayland_window.h', | |
| 44 'events/wayland_event.h', | |
| 45 ], | |
| 46 'cflags': [ | |
| 47 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)', | |
| 48 ], | |
| 49 'direct_dependent_settings': { | |
| 50 'cflags': [ | |
| 51 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)' , | |
| 52 ], | |
| 53 'defines': [ | |
| 54 'USE_SYSTEM_LIBWAYLAND', | |
|
Evan Martin
2011/07/22 21:08:54
Does anyone use this?
| |
| 55 ], | |
| 56 }, | |
| 57 'link_settings': { | |
| 58 'ldflags': [ | |
| 59 '<!@(<(pkg-config) --libs-only-L --libs-only-other wayland-client waylan d-egl xkbcommon)', | |
| 60 ], | |
| 61 'libraries': [ | |
| 62 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcommon)', | |
| 63 ], | |
| 64 }, | |
| 65 }], | |
| 66 } | |
| OLD | NEW |