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("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//third_party/WebKit/Source/bindings/bindings.gni") | 7 import("//third_party/WebKit/Source/bindings/bindings.gni") |
8 import("//third_party/WebKit/Source/config.gni") | 8 import("//third_party/WebKit/Source/config.gni") |
9 import("//third_party/WebKit/Source/core/core.gni") | 9 import("//third_party/WebKit/Source/core/core.gni") |
10 import("//third_party/WebKit/Source/modules/modules.gni") | 10 import("//third_party/WebKit/Source/modules/modules.gni") |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 "Foundation.framework", | 271 "Foundation.framework", |
272 ] | 272 ] |
273 } | 273 } |
274 | 274 |
275 if (remove_webcore_debug_symbols) { | 275 if (remove_webcore_debug_symbols) { |
276 configs -= [ "//build/config/compiler:default_symbols" ] | 276 configs -= [ "//build/config/compiler:default_symbols" ] |
277 configs += [ "//build/config/compiler:no_symbols" ] | 277 configs += [ "//build/config/compiler:no_symbols" ] |
278 } | 278 } |
279 } | 279 } |
280 | 280 |
281 # GYP version: WebKit/Source/web/web.gyp:blink_web_test_support | |
282 static_library("test_support") { | 281 static_library("test_support") { |
283 deps = [ | 282 deps = [ |
284 "//skia", | 283 "//skia", |
285 "//third_party/WebKit/Source/core:testing", | 284 "//third_party/WebKit/Source/core:testing", |
286 "//third_party/WebKit/Source/modules:modules_testing", | 285 "//third_party/WebKit/Source/modules:modules_testing", |
287 "//third_party/WebKit/Source/wtf", | 286 "//third_party/WebKit/Source/wtf", |
288 "//v8", | 287 "//v8", |
289 ] | 288 ] |
290 | 289 |
291 sources = [ | 290 sources = [ |
292 "WebTestingSupport.cpp", | 291 "WebTestingSupport.cpp", |
293 ] | 292 ] |
294 | 293 |
295 configs += [ "//third_party/WebKit/Source:config" ] | 294 configs += [ "//third_party/WebKit/Source:config" ] |
296 | 295 |
297 include_dirs = [ "$root_gen_dir/blink" ] | 296 include_dirs = [ "$root_gen_dir/blink" ] |
298 } | 297 } |
299 | 298 |
300 group("webkit_unit_tests_data") { | 299 group("webkit_unit_tests_data") { |
301 data = [ | 300 data = [ |
302 "tests/data/", | 301 "tests/data/", |
303 "../core/paint/test_data/", | 302 "../core/paint/test_data/", |
304 ] | 303 ] |
305 } | 304 } |
306 | 305 |
307 # GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests | |
308 test("webkit_unit_tests") { | 306 test("webkit_unit_tests") { |
309 visibility = [] # Allow re-assignment of list. | 307 visibility = [] # Allow re-assignment of list. |
310 visibility = [ "*" ] | 308 visibility = [ "*" ] |
311 | 309 |
312 sources = [ | 310 sources = [ |
313 "AssociatedURLLoaderTest.cpp", | 311 "AssociatedURLLoaderTest.cpp", |
314 "ExternalPopupMenuTest.cpp", | 312 "ExternalPopupMenuTest.cpp", |
315 "LinkHighlightImplTest.cpp", | 313 "LinkHighlightImplTest.cpp", |
316 "PageOverlayTest.cpp", | 314 "PageOverlayTest.cpp", |
317 "WebDragDataTest.cpp", | 315 "WebDragDataTest.cpp", |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 | 421 |
424 if (is_android) { | 422 if (is_android) { |
425 deps += [ | 423 deps += [ |
426 "//base:base_java", | 424 "//base:base_java", |
427 "//content/public/android:content_java", | 425 "//content/public/android:content_java", |
428 "//content/shell/android:content_shell_assets", | 426 "//content/shell/android:content_shell_assets", |
429 "//net/android:net_java", | 427 "//net/android:net_java", |
430 ] | 428 ] |
431 } | 429 } |
432 } | 430 } |
OLD | NEW |