OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # GYP version: mojo/mojo_services.gypi:mojo_surfaces_lib | 5 # GYP version: mojo/mojo_services.gypi:mojo_surfaces_lib |
6 component("surfaces") { | 6 component("surfaces") { |
7 output_name = "mojo_surfaces_lib" | 7 output_name = "mojo_surfaces_lib" |
8 | 8 |
| 9 deps = [ |
| 10 "//base", |
| 11 "//cc", |
| 12 "//cc/surfaces", |
| 13 "//ui/gfx", |
| 14 "//ui/gfx/geometry", |
| 15 "//mojo/environment:chromium", |
| 16 "//mojo/public/c/system:for_component", |
| 17 "//mojo/services/public/interfaces/surfaces", |
| 18 "//mojo/services/public/cpp/geometry", |
| 19 ] |
| 20 |
| 21 forward_dependent_configs_from = [ |
| 22 "//mojo/services/public/cpp/geometry", |
| 23 "//ui/gfx", |
| 24 ] |
| 25 |
| 26 defines = [ |
| 27 "MOJO_SURFACES_IMPLEMENTATION", |
| 28 ] |
| 29 |
9 sources = [ | 30 sources = [ |
10 "lib/surfaces_type_converters.cc", | 31 "lib/surfaces_type_converters.cc", |
11 "lib/surfaces_utils.cc", | 32 "lib/surfaces_utils.cc", |
12 "mojo_surfaces_export.h", | 33 "mojo_surfaces_export.h", |
13 "surfaces_type_converters.h", | 34 "surfaces_type_converters.h", |
14 "surfaces_utils.h", | 35 "surfaces_utils.h", |
15 ] | 36 ] |
16 | |
17 defines = [ "MOJO_SURFACES_IMPLEMENTATION" ] | |
18 | |
19 public_deps = [ | |
20 "//mojo/services/public/cpp/geometry", | |
21 "//ui/gfx", | |
22 ] | |
23 | |
24 deps = [ | |
25 "//base", | |
26 "//cc", | |
27 "//cc/surfaces", | |
28 "//gpu", | |
29 "//ui/gfx/geometry", | |
30 "//mojo/environment:chromium", | |
31 "//mojo/public/c/system:for_component", | |
32 "//mojo/services/public/interfaces/surfaces:surface_id", | |
33 "//mojo/services/public/interfaces/surfaces", | |
34 ] | |
35 } | 37 } |
OLD | NEW |