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

Unified Diff: components/exo/BUILD.gn

Issue 1412093006: components: Add Exosphere component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on improved shared memory support Created 5 years, 1 month 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: components/exo/BUILD.gn
diff --git a/components/exo/BUILD.gn b/components/exo/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..46a5d0c82f86c5b56a6c959d6db5b7fcc36871b3
--- /dev/null
+++ b/components/exo/BUILD.gn
@@ -0,0 +1,90 @@
+# 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("//testing/test.gni")
+
+source_set("exo") {
+ sources = [
+ "buffer.cc",
+ "buffer.h",
+ "display.cc",
+ "display.h",
+ "shared_memory.cc",
+ "shared_memory.h",
+ "shell_surface.cc",
+ "shell_surface.h",
+ "surface.cc",
+ "surface.h",
+ "surface_delegate.h",
+ ]
+
+ defines = [ "EXO_IMPLEMENTATION" ]
+
+ deps = [
+ "//ash",
+ "//base",
+ "//cc",
+ "//gpu",
+ "//skia",
+ "//ui/aura",
+ "//ui/compositor",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/gl",
+ "//ui/views",
+ ]
+}
+
+source_set("test_support") {
+ testonly = true
+
+ sources = [
+ "test/exo_test_base.cc",
+ "test/exo_test_base.h",
+ "test/exo_test_helper.cc",
+ "test/exo_test_helper.h",
+ ]
+
+ deps = [
+ "//ash:test_support",
+ "//base",
+ "//skia",
+ "//testing/gtest",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+
+ sources = [
+ "buffer_unittest.cc",
+ "display_unittest.cc",
+ "shared_memory_unittest.cc",
+ "shell_surface_unittest.cc",
+ "surface_unittest.cc",
+ ]
+
+ deps = [
+ "//components/user_manager",
+ "//skia",
+ "//testing/gtest",
+ "//ui/keyboard",
+ "//ui/message_center",
+ ":exo",
+ ":test_support",
+ ]
+}
+
+test("exo_unittests") {
+ sources = [
+ "test/run_all_unittests.cc",
+ ]
+ deps = [
+ "//ash:test_support",
+ ":unit_tests",
+ ]
+ if (is_linux) {
+ deps += [ "//components/exo/wayland:unit_tests" ]
+ }
+}
« no previous file with comments | « components/exo.gypi ('k') | components/exo/DEPS » ('j') | components/exo/shared_memory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698