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

Unified Diff: ui/gfx/BUILD.gn

Issue 2688413007: Add display::GetDisplayNearestView (Closed)
Patch Set: add missing files Created 3 years, 10 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
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index c748054eb0c29cb5beedbadd6cac0b5fb7bddba1..0c5692570246377b544337cef84aae6a618c2839 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -516,6 +516,24 @@ group("memory_buffer") {
}
}
+source_set("view_util") {
+ sources = [
+ "view_util.h",
+ ]
+ if (use_aura) {
+ sources += [ "view_util_aura.cc" ]
+ deps = [
+ "//ui/aura",
+ ]
+ }
+ if (is_android && !use_aura) {
+ sources += [ "view_util_android.cc" ]
+ }
+ if (is_mac) {
+ sources += [ "view_util_mac.mm" ]
tapted 2017/02/15 00:36:10 foo_mac should be automatically stripped - this ca
Jinsuk Kim 2017/02/16 10:11:25 Done.
+ }
+}
+
# Cannot be a static_library in component builds due to exported functions
source_set("memory_buffer_sources") {
visibility = [ ":*" ] # Depend on through ":memory_buffer".

Powered by Google App Engine
This is Rietveld 408576698