| # 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("bindings") { |
| sources = [ |
| "BreakpointManager.js", |
| "CSSWorkspaceBinding.js", |
| "CompilerScriptMapping.js", |
| "ContentProviderBasedProject.js", |
| "DebuggerLanguagePlugins.js", |
| "DebuggerWorkspaceBinding.js", |
| "DefaultScriptMapping.js", |
| "FileUtils.js", |
| "IgnoreListManager.js", |
| "LiveLocation.js", |
| "NetworkProject.js", |
| "PresentationConsoleMessageHelper.js", |
| "ResourceMapping.js", |
| "ResourceScriptMapping.js", |
| "ResourceUtils.js", |
| "SASSSourceMapping.js", |
| "StylesSourceMapping.js", |
| "TempFile.js", |
| ] |
| |
| deps = [ |
| "../common:bundle", |
| "../host:bundle", |
| "../sdk:bundle", |
| "../text_utils:bundle", |
| "../workspace:bundle", |
| ] |
| } |
| |
| devtools_entrypoint("bundle") { |
| entrypoint = "bindings.js" |
| |
| deps = [ ":bindings" ] |
| } |
| |
| devtools_entrypoint("legacy") { |
| entrypoint = "bindings-legacy.js" |
| |
| deps = [ ":bundle" ] |
| } |