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

Unified Diff: ui/platform_window/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
« no previous file with comments | « mojo/runner/android/library_loader.cc ('k') | ui/platform_window/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/BUILD.gn
diff --git a/ui/platform_window/BUILD.gn b/ui/platform_window/BUILD.gn
index 2d9680b3d3e9b829d58ba571a17f5eefb7bfa53b..438a38256e938417bfa5ec16a6f9086b508b6e20 100644
--- a/ui/platform_window/BUILD.gn
+++ b/ui/platform_window/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/ui.gni")
+
source_set("platform_window") {
sources = [
"platform_window.h",
@@ -14,3 +16,20 @@ source_set("platform_window") {
"//ui/gfx",
]
}
+
+component("platform_impls") {
+ if (is_android) {
+ deps = [
+ "//ui/platform_window/android",
+ "//ui/platform_window/android:jni_headers",
+ ]
+ } else if (use_x11) {
+ deps = [
+ "//ui/platform_window/x11",
+ ]
+ } else if (is_win) {
+ deps = [
+ "//ui/platform_window/win",
+ ]
+ }
+}
« no previous file with comments | « mojo/runner/android/library_loader.cc ('k') | ui/platform_window/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698