MD Downloads: prevent search text from overlapping with the cancel search (X)
[chromium-blink-merge.git] / ui / platform_window / BUILD.gn
blob22b12bbd8c1e7cdd2d8a26e303c8224fcfb0b6d3
1 # Copyright 2014 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/ui.gni")
7 source_set("platform_window") {
8   sources = [
9     "platform_ime_controller.h",
10     "platform_window.h",
11     "platform_window_delegate.h",
12     "text_input_state.cc",
13     "text_input_state.h",
14   ]
16   deps = [
17     "//base",
18     "//ui/base",
19     "//ui/gfx",
20   ]
23 group("platform_impls") {
24   deps = [
25     "//ui/platform_window/stub",
26   ]
27   if (is_android) {
28     deps += [
29       "//ui/platform_window/android",
30       "//ui/platform_window/android:jni_headers",
31     ]
32   } else if (use_x11) {
33     deps += [ "//ui/platform_window/x11" ]
34   } else if (is_win) {
35     deps += [ "//ui/platform_window/win" ]
36   }