Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate
front_end/mobile_throttling
to devtools_entrypoint
R=aerotwist@chromium.org, jacktfranklin@chromium.org Bug: 1101738 Change-Id: Id3af57fe0c34ad22d75a1bc9b7ed5e02b100f957 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2323625 Commit-Queue: Jan Scheffler <janscheffler@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org> Auto-Submit: Jan Scheffler <janscheffler@chromium.org>
- Loading branch information
Showing
11 changed files
with
60 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# 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/devtools_entrypoint.gni") | ||
import("../../scripts/build/ninja/devtools_module.gni") | ||
|
||
devtools_module("mobile_throttling") { | ||
sources = [ | ||
"MobileThrottlingSelector.js", | ||
"NetworkPanelIndicator.js", | ||
"NetworkThrottlingSelector.js", | ||
"ThrottlingManager.js", | ||
"ThrottlingPresets.js", | ||
"ThrottlingSettingsTab.js", | ||
] | ||
|
||
deps = [ | ||
"../common:bundle", | ||
"../host:bundle", | ||
"../sdk:bundle", | ||
"../ui:bundle", | ||
] | ||
} | ||
|
||
devtools_entrypoint("bundle") { | ||
entrypoint = "mobile_throttling.js" | ||
is_legacy_javascript_entrypoint = [ "crbug.com/1011811" ] | ||
|
||
deps = [ ":mobile_throttling" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,5 +68,6 @@ | |
], | ||
"resources": [ | ||
"throttlingSettingsTab.css" | ||
] | ||
} | ||
], | ||
"skip_rollup": true | ||
} |