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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 133 } |
134 } | 134 } |
135 } | 135 } |
136 | 136 |
137 if (is_mac) { | 137 if (is_mac) { |
138 deps += [ | 138 deps += [ |
139 "//ui/accelerated_widget_mac", | 139 "//ui/accelerated_widget_mac", |
140 "//ui/events:dom_keycode_converter", | 140 "//ui/events:dom_keycode_converter", |
141 ] | 141 ] |
142 libs = [ | 142 libs = [ |
143 # Required by bridged_native_widget.mm. | 143 "AppKit.framework", |
144 "QuartzCore.framework", | 144 "CoreGraphics.framework", |
| 145 "Foundation.framework", |
| 146 "QuartzCore.framework", # Required by bridged_native_widget.mm. |
145 ] | 147 ] |
146 } | 148 } |
147 } | 149 } |
148 | 150 |
149 source_set("test_support_internal") { | 151 source_set("test_support_internal") { |
150 testonly = true | 152 testonly = true |
151 sources = gypi_values.views_test_support_sources | 153 sources = gypi_values.views_test_support_sources |
152 | 154 |
153 # External code should depend upon "test_support". | 155 # External code should depend upon "test_support". |
154 visibility = [ "./*" ] | 156 visibility = [ "./*" ] |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 "//ui/base:test_support", | 323 "//ui/base:test_support", |
322 "//ui/compositor", | 324 "//ui/compositor", |
323 "//ui/events:test_support", | 325 "//ui/events:test_support", |
324 "//ui/gl:test_support", | 326 "//ui/gl:test_support", |
325 "//ui/resources", | 327 "//ui/resources", |
326 "//ui/resources:ui_test_pak", | 328 "//ui/resources:ui_test_pak", |
327 "//ui/strings", | 329 "//ui/strings", |
328 ] | 330 ] |
329 } | 331 } |
330 } | 332 } |
OLD | NEW |