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

Unified Diff: mojo/ui/BUILD.gn

Issue 1556803002: Add helpers for creating UI components. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-13
Patch Set: address feedback Created 4 years, 11 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
« no previous file with comments | « mojo/common/strong_binding_set.h ('k') | mojo/ui/base_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/BUILD.gn
diff --git a/mojo/ui/BUILD.gn b/mojo/ui/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..a6c7b5abe5c00a177f9274ea0e43027c5cf021ad
--- /dev/null
+++ b/mojo/ui/BUILD.gn
@@ -0,0 +1,112 @@
+# Copyright 2015 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/mojo_application.gni")
+
+source_set("ui") {
+ sources = [
+ "base_view.cc",
+ "base_view.h",
+ "choreographer.cc",
+ "choreographer.h",
+ "input_handler.cc",
+ "input_handler.h",
+ "view_provider_app.cc",
+ "view_provider_app.h",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/interfaces/application",
+ "//mojo/services/gfx/composition/interfaces",
+ "//mojo/services/ui/input/interfaces",
+ "//mojo/services/ui/views/interfaces",
+ ]
+}
+
+source_set("content") {
+ sources = [
+ "content_viewer_app.cc",
+ "content_viewer_app.h",
+ ]
+
+ deps = [
+ ":ui",
+ "//base",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/public/cpp/bindings",
+ "//mojo/services/content_handler/interfaces",
+ "//mojo/services/ui/views/interfaces",
+ ]
+}
+
+source_set("gl") {
+ sources = [
+ "gl_renderer.cc",
+ "gl_renderer.h",
+ "gl_view.cc",
+ "gl_view.h",
+ ]
+
+ deps = [
+ ":ui",
+ "//base",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/gpu",
+ "//mojo/public/cpp/bindings",
+ "//mojo/services/gfx/composition/interfaces",
+ "//mojo/services/ui/views/interfaces",
+ ]
+}
+
+source_set("ganesh") {
+ sources = [
+ "ganesh_renderer.cc",
+ "ganesh_renderer.h",
+ "ganesh_view.cc",
+ "ganesh_view.h",
+ ]
+
+ deps = [
+ ":gl",
+ ":ui",
+ "//base",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/gpu",
+ "//mojo/public/cpp/bindings",
+ "//mojo/services/gfx/composition/interfaces",
+ "//mojo/services/ui/views/interfaces",
+ "//mojo/skia",
+ "//skia",
+ ]
+}
+
+mojo_native_application("unittests") {
+ output_name = "ui_unittests"
+
+ testonly = true
+
+ sources = [
+ "gl_renderer_unittest.cc",
+ ]
+
+ deps = [
+ ":gl",
+ ":ui",
+ "//base",
+ "//mojo/application",
+ "//mojo/application:test_support",
+ "//mojo/gpu",
+ "//mojo/public/cpp/bindings:callback",
+ "//mojo/services/geometry/interfaces",
+ "//mojo/services/gfx/composition/interfaces",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « mojo/common/strong_binding_set.h ('k') | mojo/ui/base_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698