| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 "tests/data/", | 302 "tests/data/", |
| 303 "../core/paint/test_data/", | 303 "../core/paint/test_data/", |
| 304 ] | 304 ] |
| 305 } | 305 } |
| 306 | 306 |
| 307 # GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests | 307 # GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests |
| 308 test("webkit_unit_tests") { | 308 test("webkit_unit_tests") { |
| 309 visibility = [] # Allow re-assignment of list. | 309 visibility = [] # Allow re-assignment of list. |
| 310 visibility = [ "*" ] | 310 visibility = [ "*" ] |
| 311 | 311 |
| 312 sources = [ | 312 public_configs = [ |
| 313 "AssociatedURLLoaderTest.cpp", | 313 "//third_party/WebKit/Source/core:core_include_dirs", |
| 314 "ExternalPopupMenuTest.cpp", | |
| 315 "LinkHighlightImplTest.cpp", | |
| 316 "PageOverlayTest.cpp", | |
| 317 "WebDragDataTest.cpp", | |
| 318 "WebElementTest.cpp", | |
| 319 "WebEmbeddedWorkerImplTest.cpp", | |
| 320 "WebNodeTest.cpp", | |
| 321 "WebViewImplPaintArtifactCompositorTest.cpp", | |
| 322 | |
| 323 # FIXME: Move the tests from web/tests/ to appropriate places. | |
| 324 # crbug.com/353585 | |
| 325 "tests/ActivityLoggerTest.cpp", | |
| 326 "tests/ChromeClientImplTest.cpp", | |
| 327 "tests/CompositorWorkerTest.cpp", | |
| 328 "tests/DocumentLoaderTest.cpp", | |
| 329 "tests/DocumentLoadingRenderingTest.cpp", | |
| 330 "tests/FakeWebPlugin.cpp", | |
| 331 "tests/FakeWebPlugin.h", | |
| 332 "tests/FrameLoaderClientImplTest.cpp", | |
| 333 "tests/FrameSerializerTest.cpp", | |
| 334 "tests/FrameTestHelpers.cpp", | |
| 335 "tests/FrameTestHelpers.h", | |
| 336 "tests/FrameThrottlingTest.cpp", | |
| 337 "tests/ImeOnFocusTest.cpp", | |
| 338 "tests/IntersectionObserverTest.cpp", | |
| 339 "tests/KeyboardTest.cpp", | |
| 340 "tests/LayoutGeometryMapTest.cpp", | |
| 341 "tests/LinkElementLoadingTest.cpp", | |
| 342 "tests/LinkSelectionTest.cpp", | |
| 343 "tests/ListenerLeakTest.cpp", | |
| 344 "tests/MHTMLTest.cpp", | |
| 345 "tests/PrerenderingTest.cpp", | |
| 346 "tests/ProgrammaticScrollTest.cpp", | |
| 347 "tests/ResizeObserverTest.cpp", | |
| 348 "tests/RootScrollerTest.cpp", | |
| 349 "tests/RunAllTests.cpp", | |
| 350 "tests/ScreenWakeLockTest.cpp", | |
| 351 "tests/ScrollingCoordinatorTest.cpp", | |
| 352 "tests/SpinLockTest.cpp", | |
| 353 "tests/TextFinderTest.cpp", | |
| 354 "tests/TimerPerfTest.cpp", | |
| 355 "tests/TopControlsTest.cpp", | |
| 356 "tests/TouchActionTest.cpp", | |
| 357 "tests/ViewportTest.cpp", | |
| 358 "tests/VirtualTimeTest.cpp", | |
| 359 "tests/VisualViewportTest.cpp", | |
| 360 "tests/WebDocumentSubresourceFilterTest.cpp", | |
| 361 "tests/WebDocumentTest.cpp", | |
| 362 "tests/WebFrameSerializerTest.cpp", | |
| 363 "tests/WebFrameTest.cpp", | |
| 364 "tests/WebHelperPluginTest.cpp", | |
| 365 "tests/WebImageTest.cpp", | |
| 366 "tests/WebInputEventConversionTest.cpp", | |
| 367 "tests/WebMeaningfulLayoutsTest.cpp", | |
| 368 "tests/WebPluginContainerTest.cpp", | |
| 369 "tests/WebScopedWindowFocusAllowedIndicatorTest.cpp", | |
| 370 "tests/WebSearchableFormDataTest.cpp", | |
| 371 "tests/WebSelectorTest.cpp", | |
| 372 "tests/WebURLRequestTest.cpp", | |
| 373 "tests/WebURLResponseTest.cpp", | |
| 374 "tests/WebUserGestureTokenTest.cpp", | |
| 375 "tests/WebViewTest.cpp", | |
| 376 "tests/sim/SimCanvas.cpp", | |
| 377 "tests/sim/SimCanvas.h", | |
| 378 "tests/sim/SimCompositor.cpp", | |
| 379 "tests/sim/SimCompositor.h", | |
| 380 "tests/sim/SimDisplayItemList.cpp", | |
| 381 "tests/sim/SimDisplayItemList.h", | |
| 382 "tests/sim/SimNetwork.cpp", | |
| 383 "tests/sim/SimNetwork.h", | |
| 384 "tests/sim/SimRequest.cpp", | |
| 385 "tests/sim/SimRequest.h", | |
| 386 "tests/sim/SimTest.cpp", | |
| 387 "tests/sim/SimTest.h", | |
| 388 "tests/sim/SimWebViewClient.cpp", | |
| 389 "tests/sim/SimWebViewClient.h", | |
| 390 ] | |
| 391 sources += bindings_unittest_files | |
| 392 | |
| 393 deps = [ | |
| 394 ":test_support", | |
| 395 ":web", | |
| 396 "//base", | |
| 397 "//base:i18n", | |
| 398 "//base/test:test_support", | |
| 399 "//content/test:test_support", | |
| 400 "//gpu:test_support", | |
| 401 "//mojo/edk/system:system", | |
| 402 "//testing/gmock", | |
| 403 "//testing/gtest", | |
| 404 "//third_party/WebKit/Source/core:unit_tests", | |
| 405 "//third_party/WebKit/Source/modules:unit_tests", | |
| 406 "//third_party/WebKit/Source/platform:test_support", | |
| 407 "//third_party/WebKit/Source/platform:unit_tests", | |
| 408 "//third_party/WebKit/Source/wtf", | |
| 409 "//third_party/libwebp", | |
| 410 "//third_party/zlib", | |
| 411 "//url", | |
| 412 "//v8", | |
| 413 ] | 314 ] |
| 414 | 315 |
| 415 data_deps = [ | 316 sources = [ |
| 416 ":webkit_unit_tests_data", | 317 "../core/paint/TextPainterTest.cpp", |
| 417 "//content/shell:pak", | 318 "../core/style/ComputedStyle.cpp", |
| 319 "../core/style/StyleRareInheritedData.cpp", |
| 418 ] | 320 ] |
| 419 | |
| 420 configs += [ | |
| 421 "//third_party/WebKit/Source:config", | |
| 422 "//third_party/WebKit/Source:inside_blink", | |
| 423 ] | |
| 424 | |
| 425 if (is_android) { | |
| 426 deps += [ | |
| 427 "//base:base_java", | |
| 428 "//content/public/android:content_java", | |
| 429 "//content/shell/android:content_shell_assets", | |
| 430 "//net/android:net_java", | |
| 431 ] | |
| 432 } | |
| 433 } | 321 } |
| OLD | NEW |