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

Unified Diff: ui/platform_window/android/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 | « ui/platform_window/BUILD.gn ('k') | ui/platform_window/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/android/BUILD.gn
diff --git a/ui/platform_window/android/BUILD.gn b/ui/platform_window/android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..f1448a40cbd2db82a71bcb0d02636cb8fa0df701
--- /dev/null
+++ b/ui/platform_window/android/BUILD.gn
@@ -0,0 +1,42 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/android/rules.gni")
+import("//testing/test.gni")
+
+assert(is_android)
+
+component("android") {
+ output_name = "android_window"
+ sources = [
+ "platform_window_android.cc",
+ "platform_window_android.h",
+ ]
+
+ defines = [ "ANDROID_WINDOW_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ "//skia",
+ "//ui/events:events_base",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ":jni_headers",
+ ":platform_window_java",
+ ]
+}
+
+generate_jni("jni_headers") {
+ sources = [
+ "java/src/org/chromium/ui/PlatformWindowAndroid.java",
+ ]
+ jni_package = "android_window"
+}
+
+android_library("platform_window_java") {
+ java_files = [ "java/src/org/chromium/ui/PlatformWindowAndroid.java" ]
+ deps = [
+ "//base:base_java",
+ ]
+}
« no previous file with comments | « ui/platform_window/BUILD.gn ('k') | ui/platform_window/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698