Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: ash/BUILD.gn

Issue 2143253002: Convert test_support source sets to static libs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//ui/base/ui_features.gni") 8 import("//ui/base/ui_features.gni")
9 9
10 assert(use_aura) 10 assert(use_aura)
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 "//ui/resources", 174 "//ui/resources",
175 "//ui/strings", 175 "//ui/strings",
176 "//ui/views", 176 "//ui/views",
177 "//ui/views/controls/webview", 177 "//ui/views/controls/webview",
178 "//ui/web_dialogs", 178 "//ui/web_dialogs",
179 "//url", 179 "//url",
180 ] 180 ]
181 } 181 }
182 182
183 # TODO(msw): Move support code with content deps to test_support_with_content. 183 # TODO(msw): Move support code with content deps to test_support_with_content.
184 source_set("test_support") { 184 static_library("test_support") {
185 testonly = true 185 testonly = true
186 sources = gypi_values.ash_test_support_sources 186 sources = gypi_values.ash_test_support_sources
187 configs += [ "//build/config:precompiled_headers" ] 187 configs += [ "//build/config:precompiled_headers" ]
188 188
189 public_deps = [ 189 public_deps = [
190 ":ash", 190 ":ash",
191 ] 191 ]
192 deps = [ 192 deps = [
193 ":test_support_with_content", # TODO(beng): reverse this direction. 193 ":test_support_with_content", # TODO(beng): reverse this direction.
194 "//ash/resources", 194 "//ash/resources",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 } 230 }
231 231
232 if (is_chromeos) { 232 if (is_chromeos) {
233 deps += [ 233 deps += [
234 "//chromeos", 234 "//chromeos",
235 "//ui/display", 235 "//ui/display",
236 ] 236 ]
237 } 237 }
238 } 238 }
239 239
240 source_set("test_support_with_content") { 240 static_library("test_support_with_content") {
241 testonly = true 241 testonly = true
242 sources = gypi_values.ash_test_support_with_content_sources 242 sources = gypi_values.ash_test_support_with_content_sources
243 configs += [ "//build/config:precompiled_headers" ] 243 configs += [ "//build/config:precompiled_headers" ]
244 244
245 deps = [ 245 deps = [
246 ":ash_with_content", 246 ":ash_with_content",
247 "//content/test:test_support", 247 "//content/test:test_support",
248 "//skia", 248 "//skia",
249 ] 249 ]
250 } 250 }
251 251
252 source_set("interactive_ui_test_support") { 252 static_library("interactive_ui_test_support") {
253 testonly = true 253 testonly = true
254 configs += [ "//build/config:precompiled_headers" ] 254 configs += [ "//build/config:precompiled_headers" ]
255 public_deps = [ 255 public_deps = [
256 ":ash", 256 ":ash",
257 ":test_support", 257 ":test_support",
258 ] 258 ]
259 sources = [ 259 sources = [
260 "test/ash_interactive_ui_test_base.cc", 260 "test/ash_interactive_ui_test_base.cc",
261 "test/ash_interactive_ui_test_base.h", 261 "test/ash_interactive_ui_test_base.h",
262 ] 262 ]
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 configs += [ "//build/config/win:windowed" ] 480 configs += [ "//build/config/win:windowed" ]
481 deps += [ "//sandbox" ] 481 deps += [ "//sandbox" ]
482 } 482 }
483 483
484 if (is_chromeos) { 484 if (is_chromeos) {
485 deps += [ "//device/bluetooth" ] 485 deps += [ "//device/bluetooth" ]
486 } 486 }
487 } 487 }
488 # When adding support for isolates, please have a look at run-time dependencies 488 # When adding support for isolates, please have a look at run-time dependencies
489 # in the ash_unittests_run target in ash.gyp. 489 # in the ash_unittests_run target in ash.gyp.
OLDNEW
« no previous file with comments | « no previous file | base/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698