summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/tools/BUILD.gn
blob: af0358607fdb169bb10c2c7e041a002d9afd8415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 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/xvfb.py",

    # Include blinkpy tools for setting up expectations.
    "//third_party/blink/tools/build_wpt_metadata.py",
    "//third_party/blink/tools/update_wpt_output.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 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",
  ]
}