forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
finch.gni
51 lines (47 loc) · 1.48 KB
/
finch.gni
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
# Copyright 2022 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.
import("//testing/test.gni")
template("android_wpt_finch_smoke_tests") {
assert(defined(invoker.test_case))
assert(defined(invoker.browser_apk))
script_test(target_name) {
script = "//testing/scripts/run_finch_smoke_tests_android.py"
args = [
"--test-case",
invoker.test_case,
"--browser-apk",
rebase_path(root_build_dir, root_build_dir) + "/apks/" +
invoker.browser_apk,
]
if (defined(invoker.webview_provider_apk)) {
args += [
"--webview-provider-apk",
rebase_path(root_build_dir, root_build_dir) + "/apks/" +
invoker.webview_provider_apk,
]
}
data = [
"//build/android/",
"//build/skia_gold_common/",
"//testing/scripts/skia_gold_infra",
"//testing/scripts/variations_smoke_test_data/",
"//tools/android/",
"$root_build_dir/pyproto/",
]
data_deps = [
"//android_webview/proto:aw_variations_seed_proto",
"//chrome/test/chromedriver:chromedriver($host_toolchain)",
"//testing:wpt_android_lib",
"//third_party/blink/tools:wpt_tests_android_isolate",
"//third_party/catapult/devil:devil",
"//ui/base:goldctl",
]
if (defined(invoker.data)) {
data += invoker.data
}
if (defined(invoker.data_deps)) {
data_deps += invoker.data_deps
}
}
}