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

Unified Diff: components/view_manager/native_viewport/BUILD.gn

Issue 1180573004: android: Introduce a ui::PlatformWindow implementation for android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix-win-gn Created 5 years, 6 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: components/view_manager/native_viewport/BUILD.gn
diff --git a/components/view_manager/native_viewport/BUILD.gn b/components/view_manager/native_viewport/BUILD.gn
index ae0014cbc4be741b4c313db41b473432d2b3bacd..350c16f6076c65d629b34f82c23696181f9b101b 100644
--- a/components/view_manager/native_viewport/BUILD.gn
+++ b/components/view_manager/native_viewport/BUILD.gn
@@ -9,13 +9,10 @@ source_set("native_viewport") {
"onscreen_context_provider.cc",
"onscreen_context_provider.h",
"platform_viewport.h",
- "platform_viewport_android.cc",
- "platform_viewport_android.h",
+ "platform_viewport_common.cc",
"platform_viewport_headless.cc",
"platform_viewport_headless.h",
"platform_viewport_stub.cc",
- "platform_viewport_win.cc",
- "platform_viewport_x11.cc",
]
if (!is_ios) {
@@ -37,20 +34,6 @@ source_set("native_viewport") {
"//ui/gfx/geometry",
"//ui/gl",
"//ui/mojo/geometry:interfaces",
- "//ui/platform_window",
+ "//ui/platform_window:platform_impls",
]
-
- if (is_android) {
- deps += [ "//components/view_manager:jni_headers" ]
- }
-
- if (use_x11) {
- deps += [ "//ui/platform_window/x11" ]
- } else {
- sources -= [ "platform_viewport_x11.cc" ]
- }
-
- if (is_win) {
- deps += [ "//ui/platform_window/win" ]
- }
}

Powered by Google App Engine
This is Rietveld 408576698