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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 ] | 141 ] |
142 libs = [ | 142 libs = [ |
143 "AppKit.framework", | 143 "AppKit.framework", |
144 "CoreGraphics.framework", | 144 "CoreGraphics.framework", |
145 "Foundation.framework", | 145 "Foundation.framework", |
146 "QuartzCore.framework", # Required by bridged_native_widget.mm. | 146 "QuartzCore.framework", # Required by bridged_native_widget.mm. |
147 ] | 147 ] |
148 } | 148 } |
149 } | 149 } |
150 | 150 |
151 source_set("test_support_internal") { | 151 static_library("test_support_internal") { |
152 testonly = true | 152 testonly = true |
153 sources = gypi_values.views_test_support_sources | 153 sources = gypi_values.views_test_support_sources |
154 | 154 |
155 # External code should depend upon "test_support". | 155 # External code should depend upon "test_support". |
156 visibility = [ "./*" ] | 156 visibility = [ "./*" ] |
157 | 157 |
158 configs += [ "//build/config:precompiled_headers" ] | 158 configs += [ "//build/config:precompiled_headers" ] |
159 | 159 |
160 public_deps = [ | 160 public_deps = [ |
161 ":views", | 161 ":views", |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 "//ui/base:test_support", | 325 "//ui/base:test_support", |
326 "//ui/compositor", | 326 "//ui/compositor", |
327 "//ui/events:test_support", | 327 "//ui/events:test_support", |
328 "//ui/gl:test_support", | 328 "//ui/gl:test_support", |
329 "//ui/resources", | 329 "//ui/resources", |
330 "//ui/resources:ui_test_pak", | 330 "//ui/resources:ui_test_pak", |
331 "//ui/strings", | 331 "//ui/strings", |
332 ] | 332 ] |
333 } | 333 } |
334 } | 334 } |
OLD | NEW |