Chromium Code Reviews| 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_converters.gypi:mojo_geometry_lib | 5 # This target does NOT depend on skia. One can depend on this target to avoid |
| 6 # picking up a dependency on skia. | |
| 6 component("geometry") { | 7 component("geometry") { |
| 7 output_name = "mojo_geometry_lib" | 8 output_name = "mojo_geometry_lib" |
| 8 | 9 |
| 9 public_deps = [ | 10 public_deps = [ |
| 10 "//ui/gfx", | 11 "//ui/gfx/geometry", |
| 11 ] | 12 ] |
| 12 deps = [ | 13 deps = [ |
| 13 "//skia", | |
| 14 "//ui/gfx/geometry", | 14 "//ui/gfx/geometry", |
| 15 "//mojo/environment:chromium", | 15 "//mojo/environment:chromium", |
| 16 "//third_party/mojo/src/mojo/public/c/system:for_component", | 16 "//third_party/mojo/src/mojo/public/c/system:for_component", |
| 17 "//third_party/mojo_services/src/geometry/public/interfaces", | 17 "//third_party/mojo_services/src/geometry/public/interfaces", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 defines = [ "MOJO_GEOMETRY_IMPLEMENTATION" ] | 20 defines = [ "MOJO_GEOMETRY_IMPLEMENTATION" ] |
| 21 | 21 |
| 22 sources = [ | 22 sources = [ |
| 23 "geometry_type_converters.cc", | 23 "geometry_type_converters.cc", |
| 24 "geometry_type_converters.h", | 24 "geometry_type_converters.h", |
| 25 "mojo_geometry_export.h", | 25 "mojo_geometry_export.h", |
| 26 ] | 26 ] |
| 27 } | 27 } |
| 28 | |
| 29 component("transform") { | |
| 30 output_name = "mojo_transform_lib" | |
| 31 | |
| 32 public_deps = [ | |
| 33 "//ui/gfx", | |
| 34 ] | |
| 35 deps = [ | |
| 36 "//skia", | |
| 37 "//ui/gfx", | |
|
jamesr
2015/02/13 01:06:46
public_deps are also deps, you don't need to say t
wtc
2015/02/13 03:04:19
Done.
| |
| 38 "//mojo/environment:chromium", | |
| 39 "//third_party/mojo/src/mojo/public/c/system:for_component", | |
| 40 "//third_party/mojo_services/src/geometry/public/interfaces", | |
| 41 ] | |
| 42 | |
| 43 defines = [ "MOJO_TRANSFORM_IMPLEMENTATION" ] | |
| 44 | |
| 45 sources = [ | |
| 46 "mojo_transform_export.h", | |
| 47 "transform_converters.cc", | |
| 48 "transform_converters.h", | |
| 49 ] | |
| 50 } | |
| OLD | NEW |