Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: ui/gfx/geometry/mojo/BUILD.gn

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 # This target does NOT depend on skia. One can depend on this target to avoid 7 # This target does NOT depend on skia. One can depend on this target to avoid
8 # picking up a dependency on skia. 8 # picking up a dependency on skia.
9 component("mojo") { 9 mojom("mojo") {
10 output_name = "mojo_geometry_lib"
11
12 public_deps = [
13 "//ui/gfx/geometry",
14 ]
15 deps = [
16 "//mojo/public/c/system:for_component",
17 "//ui/gfx/geometry/mojo:interfaces",
18 ]
19
20 defines = [ "MOJO_GEOMETRY_IMPLEMENTATION" ]
21
22 sources = [
23 "geometry_type_converters.cc",
24 "geometry_type_converters.h",
25 "mojo_geometry_export.h",
26 ]
27 }
28
29 mojom("interfaces") {
30 sources = [ 10 sources = [
31 "geometry.mojom", 11 "geometry.mojom",
32 ] 12 ]
33 } 13 }
34
35 source_set("util") {
36 sources = [
37 "geometry_util.h",
38 ]
39
40 deps = [
41 ":interfaces",
42 ]
43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698