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

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: Created 4 years, 12 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: mojo/ui/BUILD.gn
diff --git a/mojo/ui/BUILD.gn b/mojo/ui/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3891dbfd311c544c2885bb63ca728e5f590676ce
--- /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",
abarth 2016/01/10 23:23:39 The base dependency here is sad panda. That basic
jeffbrown 2016/01/26 07:25:15 I'll revisit this later. The SDK story as a whole
+ "//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 = [
+ ":ui",
+ ":gl",
+ "//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 = [
+ ":ui",
+ ":gl",
+ "//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') | mojo/ui/base_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698