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

Unified Diff: cc/surfaces/BUILD.gn

Issue 1531403002: Revert "Delete CC." (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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 | « cc/scheduler/scheduler_unittest.cc ('k') | cc/surfaces/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/BUILD.gn
diff --git a/cc/surfaces/BUILD.gn b/cc/surfaces/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..e43d4e5741f1af1df497f0a716a42a5f53279cd6
--- /dev/null
+++ b/cc/surfaces/BUILD.gn
@@ -0,0 +1,58 @@
+# Copyright 2014 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.
+
+source_set("surface_id") {
+ sources = [
+ "surface_id.h",
+ ]
+
+ deps = [
+ "//base",
+ ]
+}
+
+component("surfaces") {
+ output_name = "cc_surfaces"
+ sources = [
+ "display.cc",
+ "display.h",
+ "display_client.h",
+ "onscreen_display_client.cc",
+ "onscreen_display_client.h",
+ "surface.cc",
+ "surface.h",
+ "surface_aggregator.cc",
+ "surface_aggregator.h",
+ "surface_display_output_surface.cc",
+ "surface_display_output_surface.h",
+ "surface_factory.cc",
+ "surface_factory.h",
+ "surface_factory_client.h",
+ "surface_id_allocator.cc",
+ "surface_id_allocator.h",
+ "surface_manager.cc",
+ "surface_manager.h",
+ "surface_resource_holder.cc",
+ "surface_resource_holder.h",
+ "surfaces_export.h",
+ ]
+
+ defines = [ "CC_SURFACES_IMPLEMENTATION=1" ]
+
+ deps = [
+ ":surface_id",
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ "//cc",
+ "//skia",
+ "//ui/events:events_base",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+
+ if (is_android && !is_debug) {
+ configs -= [ "//build/config/compiler:optimize" ]
+ configs += [ "//build/config/compiler:optimize_max" ]
+ }
+}
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/surfaces/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698