Load device_mode_test_runner as module

R=jacktfranklin@chromium.org

Bug: 1105476
Change-Id: I6d68ede40a74308bed1334dfcaee105dd959c603
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2409986
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
This commit is contained in:
Tim van der Lippe
2020-09-14 15:25:28 +00:00
committed by Commit Bot
parent cb4236a6f4
commit 5eaefe0dc5
6 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ devtools_test_files = [
"front_end/cpu_profiler_test_runner/cpu_profiler_test_runner.js",
"front_end/data_grid_test_runner/data_grid_test_runner.js",
"front_end/data_grid_test_runner/module.json",
"front_end/device_mode_test_runner/DeviceModeTestRunner.js",
"front_end/device_mode_test_runner/device_mode_test_runner.js",
"front_end/device_mode_test_runner/module.json",
"front_end/elements_test_runner/EditDOMTestRunner.js",
"front_end/elements_test_runner/ElementsPanelShadowSelectionOnRefreshTestRunner.js",
+1 -1
View File
@@ -94,7 +94,7 @@ all_devtools_files = [
"front_end/data_grid_test_runner/module.json",
"front_end/data_grid/dataGrid.css",
"front_end/data_grid/module.json",
"front_end/device_mode_test_runner/DeviceModeTestRunner.js",
"front_end/device_mode_test_runner/device_mode_test_runner.js",
"front_end/device_mode_test_runner/module.json",
"front_end/devices/module.json",
"front_end/diff/module.json",
+1
View File
@@ -112,6 +112,7 @@ group("legacy_test-resources") {
"coverage_test_runner:bundle",
"cpu_profiler_test_runner:bundle",
"data_grid_test_runner:bundle",
"device_mode_test_runner:bundle",
]
}
@@ -0,0 +1,9 @@
# 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("../../scripts/build/ninja/copy.gni")
copy_sources_to_resources("bundle") {
sources = [ "device_mode_test_runner.js" ]
}
@@ -3,10 +3,10 @@
"test_runner",
"emulation"
],
"scripts": [
"DeviceModeTestRunner.js"
"modules": [
"device_mode_test_runner.js"
],
"skip_compilation": [
"DeviceModeTestRunner.js"
"device_mode_test_runner.js"
]
}