| 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 |
| 5 source_set("platform_window") { | 7 source_set("platform_window") { |
| 6 sources = [ | 8 sources = [ |
| 7 "platform_window.h", | 9 "platform_window.h", |
| 8 "platform_window_delegate.h", | 10 "platform_window_delegate.h", |
| 9 ] | 11 ] |
| 10 | 12 |
| 11 deps = [ | 13 deps = [ |
| 12 "//base", | 14 "//base", |
| 13 "//ui/base", | 15 "//ui/base", |
| 14 "//ui/gfx", | 16 "//ui/gfx", |
| 15 ] | 17 ] |
| 16 } | 18 } |
| 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 |