| 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 16 matching lines...) Expand all Loading... |
| 27 "//content/public/browser", | 27 "//content/public/browser", |
| 28 "//ui/views", | 28 "//ui/views", |
| 29 ] | 29 ] |
| 30 public_deps = [ | 30 public_deps = [ |
| 31 # Skia headers are exposed in the public API. | 31 # Skia headers are exposed in the public API. |
| 32 "//skia", | 32 "//skia", |
| 33 ] | 33 ] |
| 34 | 34 |
| 35 if (use_aura) { | 35 if (use_aura) { |
| 36 deps += [ | 36 deps += [ |
| 37 "//ash:ash", |
| 37 "//ui/aura", | 38 "//ui/aura", |
| 38 "//ui/wm", | 39 "//ui/wm", |
| 39 ] | 40 ] |
| 40 } | 41 } |
| 41 } | 42 } |
| 42 | 43 |
| 43 source_set("unit_tests") { | 44 source_set("unit_tests") { |
| 44 testonly = true | 45 testonly = true |
| 45 sources = [ | 46 sources = [ |
| 46 "constrained_window_views_unittest.cc", | 47 "constrained_window_views_unittest.cc", |
| 47 ] | 48 ] |
| 48 | 49 |
| 49 if (is_mac && !mac_views_browser) { | 50 if (is_mac && !mac_views_browser) { |
| 50 sources += [ "test_create_native_web_modal_manager_cocoa.cc" ] | 51 sources += [ "test_create_native_web_modal_manager_cocoa.cc" ] |
| 51 } | 52 } |
| 52 | 53 |
| 53 deps = [ | 54 deps = [ |
| 54 ":constrained_window", | 55 ":constrained_window", |
| 55 "//components/web_modal:test_support", | 56 "//components/web_modal:test_support", |
| 56 "//ui/views:test_support", | 57 "//ui/views:test_support", |
| 57 ] | 58 ] |
| 58 } | 59 } |
| OLD | NEW |