forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathBUILD.gn
102 lines (90 loc) · 3.75 KB
/
BUILD.gn
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# 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/wpt_common.py",
# WPT tooling
"//third_party/wpt_tools/",
# 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/",
# Imported by some code in blinkpy.
"//build/skia_gold_common/",
# 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/",
# The web_tests/platform directory contains platform specific WPT baselines.
"//third_party/blink/web_tests/platform/",
# 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.md",
# 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",
]
data_deps = [
":wpt_tests_mojo_bindings",
"//testing:test_scripts_shared",
]
if (is_win) {
data_deps += [ "//build/win:copy_cdb_to_output" ]
}
if (is_android) {
data += [ "//testing/scripts/wpt_android_lib.py" ]
} else {
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/ChromeWPTOverrideExpectations",
"//third_party/blink/web_tests/android/WebviewWPTExpectations",
"//third_party/blink/web_tests/android/AndroidWPTNeverFixTests",
"//third_party/blink/web_tests/android/WPTSmokeTestCases",
]
}
group("wpt_tests_base_mojo_bindings") {
testonly = true
data_deps = [
"//:layout_test_data_mojo_bindings",
"//:layout_test_data_mojo_bindings_lite",
"//content/test:mojo_bindings_web_test_mojom_js_data_deps",
"//content/test:mojo_web_test_bindings_js_data_deps",
"//mojo/public/interfaces/bindings/tests:test_data_deps",
"//mojo/public/js/ts/bindings/tests:test_interfaces_js_data_deps",
"//mojo/public/mojom/base:base_js_data_deps",
]
}
group("wpt_tests_mojo_bindings") {
testonly = true
data_deps = [
":wpt_tests_base_mojo_bindings",
"//device/bluetooth/public/mojom:fake_bluetooth_interfaces_js_data_deps",
"//device/vr/public/mojom:vr_service_js_data_deps",
"//media/capture/mojom:image_capture_js_data_deps",
"//media/midi:mojo_js_data_deps",
"//services/device/public/mojom:generic_sensor_js_data_deps",
"//services/device/public/mojom:mojom_js_data_deps",
"//services/device/public/mojom:usb_js_data_deps",
"//services/shape_detection/public/mojom:mojom_js_data_deps",
"//skia/public/mojom:mojom_js_data_deps",
"//third_party/blink/public/mojom:mojom_platform_js_data_deps",
]
}