| OLD | NEW | 
|---|
| 1 # Copyright 2014 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") | 
|  | 6 | 
| 5 # 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 | 
| 6 # picking up a dependency on skia. | 8 # picking up a dependency on skia. | 
| 7 component("geometry") { | 9 component("mojo") { | 
| 8   output_name = "mojo_geometry_lib" | 10   output_name = "mojo_geometry_lib" | 
| 9 | 11 | 
| 10   public_deps = [ | 12   public_deps = [ | 
| 11     "//ui/gfx/geometry", | 13     "//ui/gfx/geometry", | 
| 12   ] | 14   ] | 
| 13   deps = [ | 15   deps = [ | 
| 14     "//mojo/public/c/system:for_component", | 16     "//mojo/public/c/system:for_component", | 
| 15     "//ui/mojo/geometry:interfaces", | 17     "//ui/gfx/geometry/mojo:interfaces", | 
| 16   ] | 18   ] | 
| 17 | 19 | 
| 18   defines = [ "MOJO_GEOMETRY_IMPLEMENTATION" ] | 20   defines = [ "MOJO_GEOMETRY_IMPLEMENTATION" ] | 
| 19 | 21 | 
| 20   sources = [ | 22   sources = [ | 
| 21     "geometry_type_converters.cc", | 23     "geometry_type_converters.cc", | 
| 22     "geometry_type_converters.h", | 24     "geometry_type_converters.h", | 
| 23     "mojo_geometry_export.h", | 25     "mojo_geometry_export.h", | 
| 24   ] | 26   ] | 
| 25 } | 27 } | 
|  | 28 | 
|  | 29 mojom("interfaces") { | 
|  | 30   sources = [ | 
|  | 31     "geometry.mojom", | 
|  | 32   ] | 
|  | 33 } | 
|  | 34 | 
|  | 35 source_set("util") { | 
|  | 36   sources = [ | 
|  | 37     "geometry_util.h", | 
|  | 38   ] | 
|  | 39 | 
|  | 40   deps = [ | 
|  | 41     ":interfaces", | 
|  | 42   ] | 
|  | 43 } | 
| OLD | NEW | 
|---|