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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("views.gyp") ], | 10 [ rebase_path("views.gyp") ], |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 sources += gypi_values.views_desktop_aura_ozone_sources | 112 sources += gypi_values.views_desktop_aura_ozone_sources |
113 } | 113 } |
114 if (is_linux) { | 114 if (is_linux) { |
115 sources += gypi_values.views_desktop_aura_linux_sources | 115 sources += gypi_values.views_desktop_aura_linux_sources |
116 } | 116 } |
117 } | 117 } |
118 } | 118 } |
119 | 119 |
120 if (is_mac) { | 120 if (is_mac) { |
121 deps += [ "//ui/accelerated_widget_mac" ] | 121 deps += [ "//ui/accelerated_widget_mac" ] |
| 122 libs = [ |
| 123 # Required by bridged_native_widget.mm. |
| 124 "QuartzCore.framework", |
| 125 ] |
122 } | 126 } |
123 } | 127 } |
124 | 128 |
125 static_library("test_support") { | 129 static_library("test_support") { |
126 testonly = true | 130 testonly = true |
127 sources = gypi_values.views_test_support_sources | 131 sources = gypi_values.views_test_support_sources |
128 | 132 |
129 public_deps = [ | 133 public_deps = [ |
130 ":views", | 134 ":views", |
131 ] | 135 ] |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 "//base/test:test_support", | 284 "//base/test:test_support", |
281 "//skia", | 285 "//skia", |
282 "//testing/gtest", | 286 "//testing/gtest", |
283 "//ui/compositor", | 287 "//ui/compositor", |
284 "//ui/resources", | 288 "//ui/resources", |
285 "//ui/resources:ui_test_pak", | 289 "//ui/resources:ui_test_pak", |
286 "//ui/strings", | 290 "//ui/strings", |
287 ] | 291 ] |
288 } | 292 } |
289 } | 293 } |
OLD | NEW |