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 source_set("geometry_export") { |
wtc
2015/02/11 00:33:18
I removed this comment because there is no mojo_co
| |
6 sources = [ | |
7 "mojo_geometry_export.h", | |
8 ] | |
9 } | |
10 | |
11 # This target does NOT depend on skia. One can depend on this target to avoid | |
12 # picking up a dependency on skia. | |
6 component("geometry") { | 13 component("geometry") { |
7 output_name = "mojo_geometry_lib" | 14 output_name = "mojo_geometry_lib" |
8 | 15 |
9 public_deps = [ | 16 public_deps = [ |
10 "//ui/gfx", | 17 "//ui/gfx/geometry", |
11 ] | 18 ] |
12 deps = [ | 19 deps = [ |
13 "//skia", | 20 ":geometry_export", |
14 "//ui/gfx/geometry", | 21 "//ui/gfx/geometry", |
15 "//mojo/environment:chromium", | 22 "//mojo/environment:chromium", |
16 "//third_party/mojo/src/mojo/public/c/system:for_component", | 23 "//third_party/mojo/src/mojo/public/c/system:for_component", |
17 "//third_party/mojo_services/src/geometry/public/interfaces", | 24 "//third_party/mojo_services/src/geometry/public/interfaces", |
18 ] | 25 ] |
19 | 26 |
20 defines = [ "MOJO_GEOMETRY_IMPLEMENTATION" ] | 27 defines = [ "MOJO_GEOMETRY_IMPLEMENTATION" ] |
21 | 28 |
22 sources = [ | 29 sources = [ |
23 "geometry_type_converters.cc", | 30 "geometry_type_converters.cc", |
24 "geometry_type_converters.h", | 31 "geometry_type_converters.h", |
25 "mojo_geometry_export.h", | |
26 ] | 32 ] |
27 } | 33 } |
34 | |
35 component("transform") { | |
36 output_name = "mojo_transform_lib" | |
37 | |
38 public_deps = [ | |
39 "//ui/gfx", | |
40 ] | |
41 deps = [ | |
42 ":geometry_export", | |
43 "//skia", | |
44 "//ui/gfx", | |
45 "//mojo/environment:chromium", | |
46 "//third_party/mojo/src/mojo/public/c/system:for_component", | |
47 "//third_party/mojo_services/src/geometry/public/interfaces", | |
48 ] | |
49 | |
50 defines = [ "MOJO_GEOMETRY_IMPLEMENTATION" ] | |
jamesr
2015/02/12 18:26:20
You can't have two components with the same export
wtc
2015/02/12 22:36:38
Hmm... you're right. I overlooked this issue.
I j
| |
51 | |
52 sources = [ | |
53 "transform_converters.cc", | |
54 "transform_converters.h", | |
55 ] | |
56 } | |
OLD | NEW |