OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //components/exo | 8 # GN version: //components/exo |
9 'target_name': 'exo', | 9 'target_name': 'exo', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 '../third_party/wayland/wayland.gyp:wayland_server', | 59 '../third_party/wayland/wayland.gyp:wayland_server', |
60 'exo', | 60 'exo', |
61 ], | 61 ], |
62 'sources': [ | 62 'sources': [ |
63 # Note: sources list duplicated in GN build. | 63 # Note: sources list duplicated in GN build. |
64 'exo/wayland/scoped_wl_types.cc', | 64 'exo/wayland/scoped_wl_types.cc', |
65 'exo/wayland/scoped_wl_types.h', | 65 'exo/wayland/scoped_wl_types.h', |
66 'exo/wayland/server.cc', | 66 'exo/wayland/server.cc', |
67 'exo/wayland/server.h', | 67 'exo/wayland/server.h', |
68 ], | 68 ], |
| 69 'conditions': [ |
| 70 ['use_ozone==1', { |
| 71 'dependencies': [ |
| 72 '../third_party/mesa/mesa.gyp:wayland_drm_protocol', |
| 73 ], |
| 74 }], |
| 75 ], |
69 }, | 76 }, |
70 ], | 77 ], |
71 }], | 78 }], |
72 ], | 79 ], |
73 } | 80 } |
OLD | NEW |