Index: ui/compositor/BUILD.gn |
diff --git a/ui/compositor/BUILD.gn b/ui/compositor/BUILD.gn |
index 38b79ade675cd1a9c73bd73d447e14a08269bd41..218d15ea7244254a3d9eeeec6f23687a73cb1e06 100644 |
--- a/ui/compositor/BUILD.gn |
+++ b/ui/compositor/BUILD.gn |
@@ -43,6 +43,16 @@ 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/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 +85,17 @@ component("compositor") { |
"//third_party/angle:libGLESv2", |
] |
} |
+ |
+ if (is_mac) { |
+ deps += [ |
+ "//ui/base", |
+ "//ui/events", |
+ ] |
+ |
+ libs = [ |
+ "QuartzCore.framework", |
+ ] |
+ } |
} |
source_set("test_support") { |