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

Unified Diff: ui/compositor/BUILD.gn

Issue 753933002: MacViews: Move content::AcceleratedWidget to new component, ui/accelerated_widget_mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20141124-MacViews-MoveSoftwareLayerMac-fromcl
Patch Set: rebase to master Created 6 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: ui/compositor/BUILD.gn
diff --git a/ui/compositor/BUILD.gn b/ui/compositor/BUILD.gn
index 38b79ade675cd1a9c73bd73d447e14a08269bd41..f9e83493353decaddf8ddead900ceb92b052df52 100644
--- a/ui/compositor/BUILD.gn
+++ b/ui/compositor/BUILD.gn
@@ -43,6 +43,18 @@ component("compositor") {
"layer_tree_owner.cc",
"layer_tree_owner.h",
"layer_type.h",
+ "mac/accelerated_widget_mac.mm",
+ "mac/accelerated_widget_mac.h",
+ "mac/io_surface_context_mac.h",
+ "mac/io_surface_context_mac.mm",
+ "mac/io_surface_layer_mac.h",
+ "mac/io_surface_layer_mac.mm",
+ "mac/io_surface_texture_mac.h",
+ "mac/io_surface_texture_mac.mm",
+ "mac/software_layer.h",
+ "mac/software_layer.mm",
+ "mac/surface_handle_types_mac.cc",
+ "mac/surface_handle_types_mac.h",
"reflector.h",
"scoped_animation_duration_scale_mode.cc",
"scoped_animation_duration_scale_mode.h",
@@ -75,6 +87,17 @@ component("compositor") {
"//third_party/angle:libGLESv2",
]
}
+
+ if (is_mac) {
ccameron 2014/11/26 18:36:51 What is base needed for (events is latency_info, I
tapted 2014/11/27 02:50:33 ScopedCAActionDisabler is in ui/base, but it can b
tapted 2014/11/27 05:58:41 Actually, `gn check` complains if I remove the //u
+ deps += [
+ "//ui/base",
+ "//ui/events",
+ ]
+
+ libs = [
+ "QuartzCore.framework",
+ ]
+ }
}
source_set("test_support") {

Powered by Google App Engine
This is Rietveld 408576698