OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 # GN version: //components/exo |
| 9 'target_name': 'exo', |
| 10 'type': 'static_library', |
| 11 'include_dirs': [ |
| 12 '..', |
| 13 ], |
| 14 'dependencies': [ |
| 15 '../ash/ash.gyp:ash', |
| 16 '../base/base.gyp:base', |
| 17 '../cc/cc.gyp:cc', |
| 18 '../gpu/gpu.gyp:gpu', |
| 19 '../skia/skia.gyp:skia', |
| 20 '../ui/aura/aura.gyp:aura', |
| 21 '../ui/compositor/compositor.gyp:compositor', |
| 22 '../ui/gfx/gfx.gyp:gfx', |
| 23 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 24 '../ui/gl/gl.gyp:gl', |
| 25 '../ui/views/views.gyp:views', |
| 26 ], |
| 27 'sources': [ |
| 28 # Note: sources list duplicated in GN build. |
| 29 'exo/buffer.cc', |
| 30 'exo/buffer.h', |
| 31 'exo/display.cc', |
| 32 'exo/display.h', |
| 33 'exo/shared_memory.cc', |
| 34 'exo/shared_memory.h', |
| 35 'exo/shell_surface.cc', |
| 36 'exo/shell_surface.h', |
| 37 'exo/surface.cc', |
| 38 'exo/surface.h', |
| 39 'exo/surface_delegate.h', |
| 40 ], |
| 41 'defines': [ |
| 42 'EXO_IMPLEMENTATION', |
| 43 ], |
| 44 }, |
| 45 ], |
| 46 'conditions': [ |
| 47 [ 'OS=="linux"', { |
| 48 'targets': [ |
| 49 { |
| 50 # GN version: //components/exo:wayland |
| 51 'target_name': 'exo_wayland', |
| 52 'type': 'static_library', |
| 53 'include_dirs': [ |
| 54 '..', |
| 55 ], |
| 56 'dependencies': [ |
| 57 '../base/base.gyp:base', |
| 58 '../skia/skia.gyp:skia', |
| 59 '../third_party/wayland/wayland.gyp:wayland_server', |
| 60 'exo', |
| 61 ], |
| 62 'sources': [ |
| 63 # Note: sources list duplicated in GN build. |
| 64 'exo/wayland/scoped_wl_types.cc', |
| 65 'exo/wayland/scoped_wl_types.h', |
| 66 'exo/wayland/server.cc', |
| 67 'exo/wayland/server.h', |
| 68 'exo/wayland/wayland_bindings.h', |
| 69 ], |
| 70 'defines': [ |
| 71 'EXO_IMPLEMENTATION', |
| 72 ], |
| 73 }, |
| 74 ], |
| 75 }], |
| 76 ], |
| 77 } |
OLD | NEW |