1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/android/rules.gni")
6 import("//testing/test.gni")
10 component("android") {
11 output_name = "android_window"
13 "android_window_export.h",
14 "platform_ime_controller_android.cc",
15 "platform_ime_controller_android.h",
16 "platform_window_android.cc",
17 "platform_window_android.h",
20 defines = [ "ANDROID_WINDOW_IMPLEMENTATION" ]
26 "//ui/events:events_base",
30 ":platform_window_java",
36 generate_jni("jni_headers") {
38 "java/src/org/chromium/ui/PlatformImeControllerAndroid.java",
39 "java/src/org/chromium/ui/PlatformWindowAndroid.java",
41 jni_package = "android_window"
44 android_library("platform_window_java") {
46 "java/src/org/chromium/ui/PlatformImeControllerAndroid.java",
47 "java/src/org/chromium/ui/PlatformWindowAndroid.java",