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