OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | |
6 | |
7 source_set("platform_window") { | 5 source_set("platform_window") { |
8 sources = [ | 6 sources = [ |
9 "platform_window.h", | 7 "platform_window.h", |
10 "platform_window_delegate.h", | 8 "platform_window_delegate.h", |
11 ] | 9 ] |
12 | 10 |
13 deps = [ | 11 deps = [ |
14 "//base", | 12 "//base", |
15 "//ui/base", | 13 "//ui/base", |
16 "//ui/gfx", | 14 "//ui/gfx", |
17 ] | 15 ] |
18 } | 16 } |
19 | |
20 component("platform_impls") { | |
21 if (is_android) { | |
22 deps = [ | |
23 "//ui/platform_window/android", | |
24 "//ui/platform_window/android:jni_headers", | |
25 ] | |
26 } else if (use_x11) { | |
27 deps = [ | |
28 "//ui/platform_window/x11", | |
29 ] | |
30 } else if (is_win) { | |
31 deps = [ | |
32 "//ui/platform_window/win", | |
33 ] | |
34 } | |
35 } | |
OLD | NEW |