| 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") | 5 import("//build/config/ui.gni") |
| 6 import("//ui/base/ui_features.gni") | 6 import("//ui/base/ui_features.gni") |
| 7 | 7 |
| 8 static_library("constrained_window") { | 8 static_library("constrained_window") { |
| 9 sources = [ | 9 sources = [ |
| 10 "constrained_window_views.cc", | 10 "constrained_window_views.cc", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 "//ui/views", | 30 "//ui/views", |
| 31 ] | 31 ] |
| 32 public_deps = [ | 32 public_deps = [ |
| 33 # Skia headers are exposed in the public API. | 33 # Skia headers are exposed in the public API. |
| 34 "//skia", | 34 "//skia", |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 if (use_aura) { | 37 if (use_aura) { |
| 38 deps += [ | 38 deps += [ |
| 39 "//ui/aura", | 39 "//ui/aura", |
| 40 "//ui/compositor", |
| 40 "//ui/wm", | 41 "//ui/wm", |
| 41 ] | 42 ] |
| 42 } | 43 } |
| 43 } | 44 } |
| 44 | 45 |
| 45 source_set("unit_tests") { | 46 source_set("unit_tests") { |
| 46 testonly = true | 47 testonly = true |
| 47 sources = [ | 48 sources = [ |
| 48 "constrained_window_views_unittest.cc", | 49 "constrained_window_views_unittest.cc", |
| 49 ] | 50 ] |
| 50 | 51 |
| 51 if (is_mac && !mac_views_browser) { | 52 if (is_mac && !mac_views_browser) { |
| 52 sources += [ "test_create_native_web_modal_manager_cocoa.cc" ] | 53 sources += [ "test_create_native_web_modal_manager_cocoa.cc" ] |
| 53 } | 54 } |
| 54 | 55 |
| 55 deps = [ | 56 deps = [ |
| 56 ":constrained_window", | 57 ":constrained_window", |
| 57 "//components/web_modal:test_support", | 58 "//components/web_modal:test_support", |
| 58 "//ui/views:test_support", | 59 "//ui/views:test_support", |
| 59 ] | 60 ] |
| 60 } | 61 } |
| OLD | NEW |