MD Downloads: prevent search text from overlapping with the cancel search (X)
[chromium-blink-merge.git] / ui / platform_window / android / BUILD.gn
blobaae7a978746e47c569ddd23c156a79cc7ff6aa79
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")
8 assert(is_android)
10 component("android") {
11   output_name = "android_window"
12   sources = [
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",
18   ]
20   defines = [ "ANDROID_WINDOW_IMPLEMENTATION" ]
22   deps = [
23     "//base",
24     "//skia",
25     "//ui/events:events",
26     "//ui/events:events_base",
27     "//ui/gfx",
28     "//ui/gfx/geometry",
29     ":jni_headers",
30     ":platform_window_java",
31   ]
33   libs = [ "android" ]
36 generate_jni("jni_headers") {
37   sources = [
38     "java/src/org/chromium/ui/PlatformImeControllerAndroid.java",
39     "java/src/org/chromium/ui/PlatformWindowAndroid.java",
40   ]
41   jni_package = "android_window"
44 android_library("platform_window_java") {
45   java_files = [
46     "java/src/org/chromium/ui/PlatformImeControllerAndroid.java",
47     "java/src/org/chromium/ui/PlatformWindowAndroid.java",
48   ]
49   deps = [
50     "//base:base_java",
51   ]