Commit c7ded5eb authored by Oleh Lamzin's avatar Oleh Lamzin Committed by Commit Bot

[Telemetry SWX] move browser test target to test/BUILD.gn

Move browser test related target to test/BUILD.gn file.

Bug: b:158566609
Change-Id: I9ba8a796fd77b3286fca4a04bc88ae30b8022821
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2244212
Commit-Queue: Oleh Lamzin <lamzin@google.com>
Reviewed-by: default avatarGiovanni Ortuño Urquidi <ortuno@chromium.org>
Reviewed-by: default avatarMahmoud Gawad <mgawad@google.com>
Cr-Commit-Position: refs/heads/master@{#781256}
parent 3599570c
......@@ -1530,7 +1530,7 @@ if (!is_android) {
if (!is_official_build) {
deps += [
"//chromeos/components/sample_system_web_app_ui:browser_tests_js",
"//chromeos/components/telemetry_extension_ui:browser_tests_js",
"//chromeos/components/telemetry_extension_ui/test:browser_tests_js",
]
}
}
......
......@@ -2,8 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//chrome/test/base/js2gtest.gni")
assert(is_chromeos, "Telemetry Extension is Chrome OS only")
assert(!is_official_build,
"Telemetry Extension is only built for unofficial builds")
......@@ -29,11 +27,3 @@ static_library("telemetry_extension_ui") {
"//ui/webui",
]
}
js2gtest("browser_tests_js") {
test_type = "mojo_lite_webui"
sources = [ "test/telemetry_extension_ui_browsertest.js" ]
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
}
# Copyright 2020 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("//chrome/test/base/js2gtest.gni")
assert(is_chromeos, "Telemetry Extension is Chrome OS only")
assert(!is_official_build,
"Telemetry Extension is only built for unofficial builds")
js2gtest("browser_tests_js") {
test_type = "mojo_lite_webui"
sources = [ "telemetry_extension_ui_browsertest.js" ]
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment