reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 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', |
reveman | 27fe264 | 2015-11-20 06:33:39 | [diff] [blame^] | 37 | 'exo/sub_surface.cc', |
| 38 | 'exo/sub_surface.h', |
reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 39 | 'exo/surface.cc', |
| 40 | 'exo/surface.h', |
| 41 | 'exo/surface_delegate.h', |
reveman | 27fe264 | 2015-11-20 06:33:39 | [diff] [blame^] | 42 | 'exo/surface_observer.h', |
reveman | b195f41d | 2015-11-19 22:16:48 | [diff] [blame] | 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 | ], |
| 69 | }, |
| 70 | ], |
| 71 | }], |
| 72 | ], |
| 73 | } |