# Copyright (c) 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # WPT codebase for running webplatform tests group("wpt_tests_isolate") { testonly = true data = [ "//testing/scripts/common.py", "//testing/scripts/wpt_common.py", "//testing/xvfb.py", # Include blinkpy tools for setting up expectations. "//third_party/blink/tools/build_wpt_metadata.py", "//third_party/blink/tools/blinkpy/", "//third_party/catapult/third_party/typ/", # The web_tests/external directory contains all WPT components including # the test runner codebase, manifest file, and the tests themselves. "//third_party/blink/web_tests/external/", # Include a single file from wpt_internal only to initialize that directory. # We don't need to run these tests but still need to create a MANIFEST here. # See crbug.com/1018829 for more details. "//third_party/blink/web_tests/wpt_internal/README", # Include the results viewer "//third_party/blink/web_tests/fast/harness/results.html", # Include the various Test Expectations files. "//third_party/blink/web_tests/ASANExpectations", "//third_party/blink/web_tests/LeakExpectations", "//third_party/blink/web_tests/MSANExpectations", "//third_party/blink/web_tests/NeverFixTests", "//third_party/blink/web_tests/SlowTests", "//third_party/blink/web_tests/StaleTestExpectations", "//third_party/blink/web_tests/TestExpectations", "//third_party/blink/web_tests/VirtualTestSuites", "//third_party/blink/web_tests/WPTOverrideExpectations", ] if (is_win) { data_deps = [ "//build/win:copy_cdb_to_output" ] } if (!is_android) { data += [ "//testing/scripts/run_wpt_tests.py" ] } } group("wpt_tests_android_isolate") { testonly = true data_deps = [ "//third_party/blink/tools:wpt_tests_isolate" ] data = [ "//third_party/blink/web_tests/android/WeblayerWPTOverrideExpectations", "//third_party/blink/web_tests/android/ClankWPTOverrideExpectations", "//third_party/blink/web_tests/android/WebviewWPTOverrideExpectations", "//third_party/blink/web_tests/android/AndroidWPTNeverFixTests", ] }