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

Unified Diff: ui/gfx/geometry/mojo/BUILD.gn

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
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",
+ ]
+}
« no previous file with comments | « services/navigation/view_impl.cc ('k') | ui/gfx/geometry/mojo/DEPS » ('j') | ui/gfx/gfx.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698