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

Unified Diff: ui/accelerated_widget_mac/BUILD.gn

Issue 1901253002: Mac: Towards moving CALayerTree to the browser proc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove BUILD.gn Created 4 years, 8 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
« no previous file with comments | « gpu/ipc/service/image_transport_surface_overlay_mac.mm ('k') | ui/accelerated_widget_mac/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/BUILD.gn
diff --git a/ui/accelerated_widget_mac/BUILD.gn b/ui/accelerated_widget_mac/BUILD.gn
index 69d2213e63abaece0bd04b8572a7cc0f061379ba..f5afd09c1fa0b24c8bbff7854f43dd84921b66b3 100644
--- a/ui/accelerated_widget_mac/BUILD.gn
+++ b/ui/accelerated_widget_mac/BUILD.gn
@@ -2,12 +2,18 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//testing/test.gni")
+
# GYP version: ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac
component("accelerated_widget_mac") {
sources = [
"accelerated_widget_mac.h",
"accelerated_widget_mac.mm",
"accelerated_widget_mac_export.h",
+ "ca_layer_partial_damage_tree_mac.h",
+ "ca_layer_partial_damage_tree_mac.mm",
+ "ca_layer_tree_mac.h",
+ "ca_layer_tree_mac.mm",
"display_link_mac.cc",
"display_link_mac.h",
"io_surface_context.h",
@@ -24,9 +30,34 @@ component("accelerated_widget_mac") {
"//ui/base",
"//ui/events",
"//ui/events:events_base",
+ "//ui/gfx",
"//ui/gfx/geometry",
"//ui/gl",
]
+ libs = [
+ "AVFoundation.framework",
+ "CoreMedia.framework",
+ "QuartzCore.framework",
+ ]
+}
+
+# GYP version: ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac_unittests
+test("accelerated_widget_mac_unittests") {
+ configs += [ "//build/config:precompiled_headers" ]
+ sources = [
+ "ca_layer_tree_unittest_mac.mm",
+ ]
+ deps = [
+ ":accelerated_widget_mac",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//base/test:test_support",
+ "//skia",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//ui/gfx:test_support",
+ "//ui/gl:test_support",
+ ]
libs = [ "QuartzCore.framework" ]
}
« no previous file with comments | « gpu/ipc/service/image_transport_surface_overlay_mac.mm ('k') | ui/accelerated_widget_mac/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698