| Index: ui/gfx/geometry/mojo/BUILD.gn
|
| diff --git a/mojo/converters/geometry/BUILD.gn b/ui/gfx/geometry/mojo/BUILD.gn
|
| similarity index 61%
|
| rename from mojo/converters/geometry/BUILD.gn
|
| rename to ui/gfx/geometry/mojo/BUILD.gn
|
| index ce047c371e9a807a7773300f42b643003bd30149..543258113fb61402e77fa699418d06ec410dca51 100644
|
| --- a/mojo/converters/geometry/BUILD.gn
|
| +++ b/ui/gfx/geometry/mojo/BUILD.gn
|
| @@ -1,10 +1,12 @@
|
| -# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//mojo/public/tools/bindings/mojom.gni")
|
| +
|
| # This target does NOT depend on skia. One can depend on this target to avoid
|
| # picking up a dependency on skia.
|
| -component("geometry") {
|
| +component("mojo") {
|
| output_name = "mojo_geometry_lib"
|
|
|
| public_deps = [
|
| @@ -12,7 +14,7 @@ component("geometry") {
|
| ]
|
| deps = [
|
| "//mojo/public/c/system:for_component",
|
| - "//ui/mojo/geometry:interfaces",
|
| + "//ui/gfx/geometry/mojo:interfaces",
|
| ]
|
|
|
| defines = [ "MOJO_GEOMETRY_IMPLEMENTATION" ]
|
| @@ -23,3 +25,19 @@ component("geometry") {
|
| "mojo_geometry_export.h",
|
| ]
|
| }
|
| +
|
| +mojom("interfaces") {
|
| + sources = [
|
| + "geometry.mojom",
|
| + ]
|
| +}
|
| +
|
| +source_set("util") {
|
| + sources = [
|
| + "geometry_util.h",
|
| + ]
|
| +
|
| + deps = [
|
| + ":interfaces",
|
| + ]
|
| +}
|
|
|