summaryrefslogtreecommitdiffstats
path: root/ui/platform_window/BUILD.gn
blob: 3dfdc9a3f78099551ac48bcc2dee9c540a64303d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 2014 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/ui.gni")

source_set("platform_window") {
  sources = [
    "platform_window.h",
    "platform_window_delegate.h",
  ]

  deps = [
    "//base",
    "//ui/base",
    "//ui/gfx",
  ]
}

group("platform_impls") {
  deps = [
    "//ui/platform_window/stub",
  ]
  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" ]
  }
}