Tim van der Lippe | 3d53f22 | 2020-03-20 11:45:43 | [diff] [blame] | 1 | # Copyright 2020 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Jack Franklin | 2c1e944 | 2020-07-20 10:11:48 | [diff] [blame] | 5 | import("../../scripts/build/ninja/devtools_entrypoint.gni") |
| 6 | import("../../scripts/build/ninja/devtools_module.gni") |
Tim van der Lippe | 3d53f22 | 2020-03-20 11:45:43 | [diff] [blame] | 7 | |
Jack Franklin | 2c1e944 | 2020-07-20 10:11:48 | [diff] [blame] | 8 | devtools_module("bindings") { |
| 9 | sources = [ |
Jack Franklin | 2c1e944 | 2020-07-20 10:11:48 | [diff] [blame] | 10 | "BreakpointManager.js", |
| 11 | "CSSWorkspaceBinding.js", |
| 12 | "CompilerScriptMapping.js", |
| 13 | "ContentProviderBasedProject.js", |
| 14 | "DebuggerLanguagePlugins.js", |
| 15 | "DebuggerWorkspaceBinding.js", |
| 16 | "DefaultScriptMapping.js", |
| 17 | "FileUtils.js", |
Wolfgang Beyer | af081e8 | 2020-12-11 12:42:38 | [diff] [blame] | 18 | "IgnoreListManager.js", |
Jack Franklin | 2c1e944 | 2020-07-20 10:11:48 | [diff] [blame] | 19 | "LiveLocation.js", |
| 20 | "NetworkProject.js", |
| 21 | "PresentationConsoleMessageHelper.js", |
| 22 | "ResourceMapping.js", |
| 23 | "ResourceScriptMapping.js", |
| 24 | "ResourceUtils.js", |
| 25 | "SASSSourceMapping.js", |
| 26 | "StylesSourceMapping.js", |
| 27 | "TempFile.js", |
| 28 | ] |
Tim van der Lippe | 3d53f22 | 2020-03-20 11:45:43 | [diff] [blame] | 29 | |
Jack Franklin | 2c1e944 | 2020-07-20 10:11:48 | [diff] [blame] | 30 | deps = [ |
| 31 | "../common:bundle", |
Paul Lewis | 9b9d88b | 2020-07-20 10:54:50 | [diff] [blame] | 32 | "../host:bundle", |
Jack Franklin | 2c1e944 | 2020-07-20 10:11:48 | [diff] [blame] | 33 | "../sdk:bundle", |
Paul Lewis | 4b15caf | 2020-07-27 12:54:01 | [diff] [blame] | 34 | "../text_utils:bundle", |
Jack Franklin | 3c2fa9f | 2020-07-24 08:22:28 | [diff] [blame] | 35 | "../workspace:bundle", |
Jack Franklin | 2c1e944 | 2020-07-20 10:11:48 | [diff] [blame] | 36 | ] |
| 37 | } |
| 38 | |
| 39 | devtools_entrypoint("bundle") { |
| 40 | entrypoint = "bindings.js" |
Jack Franklin | 2c1e944 | 2020-07-20 10:11:48 | [diff] [blame] | 41 | |
| 42 | deps = [ ":bindings" ] |
Tim van der Lippe | 3d53f22 | 2020-03-20 11:45:43 | [diff] [blame] | 43 | } |
Tim van der Lippe | 42fbb0a | 2020-10-15 16:03:30 | [diff] [blame] | 44 | |
| 45 | devtools_entrypoint("legacy") { |
| 46 | entrypoint = "bindings-legacy.js" |
| 47 | |
| 48 | deps = [ ":bundle" ] |
| 49 | } |