| 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 component("platform_window") { | 5 import("//build/config/ui.gni") |
| 6 defines = [ "PLATFORM_WINDOW_IMPLEMENTATION" ] | |
| 7 | 6 |
| 7 source_set("platform_window") { |
| 8 sources = [ | 8 sources = [ |
| 9 "platform_window.h", | 9 "platform_window.h", |
| 10 "platform_window_delegate.h", | 10 "platform_window_delegate.h", |
| 11 "platform_window_export.h", | |
| 12 ] | 11 ] |
| 13 | 12 |
| 14 deps = [ | 13 deps = [ |
| 15 "//base", | 14 "//base", |
| 16 "//ui/gfx", | 15 "//ui/gfx", |
| 17 ] | 16 ] |
| 18 } | 17 } |
| 18 |
| 19 group("platform_impls") { |
| 20 if (use_x11) { |
| 21 deps = [ |
| 22 "//ui/platform_window/x11", |
| 23 ] |
| 24 } |
| 25 } |
| OLD | NEW |