| 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 static_library("constrained_window") { | 7 static_library("constrained_window") { |
| 6 sources = [ | 8 sources = [ |
| 7 "constrained_window_views.cc", | 9 "constrained_window_views.cc", |
| 8 "constrained_window_views.h", | 10 "constrained_window_views.h", |
| 9 "constrained_window_views_client.h", | 11 "constrained_window_views_client.h", |
| 10 ] | 12 ] |
| 11 | 13 |
| 12 deps = [ | 14 deps = [ |
| 13 "//components/guest_view/browser", | 15 "//components/guest_view/browser", |
| 14 "//components/web_modal", | 16 "//components/web_modal", |
| 15 "//skia", | 17 "//skia", |
| 16 "//ui/views", | 18 "//ui/views", |
| 17 ] | 19 ] |
| 20 |
| 21 if (use_aura) { |
| 22 deps += [ "//ui/aura" ] |
| 23 } |
| 18 } | 24 } |
| 19 | 25 |
| 20 source_set("unit_tests") { | 26 source_set("unit_tests") { |
| 21 testonly = true | 27 testonly = true |
| 22 sources = [ | 28 sources = [ |
| 23 "constrained_window_views_unittest.cc", | 29 "constrained_window_views_unittest.cc", |
| 24 ] | 30 ] |
| 25 | 31 |
| 26 deps = [ | 32 deps = [ |
| 27 ":constrained_window", | 33 ":constrained_window", |
| 28 "//components/web_modal:test_support", | 34 "//components/web_modal:test_support", |
| 29 "//ui/views:test_support", | 35 "//ui/views:test_support", |
| 30 ] | 36 ] |
| 31 } | 37 } |
| OLD | NEW |