| # 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("diff") { |
| sources = [ |
| "DiffWrapper.js", |
| "diff_match_patch.js", |
| ] |
| |
| deps = [ "../common:bundle" ] |
| } |
| |
| devtools_entrypoint("bundle") { |
| entrypoint = "diff.js" |
| |
| deps = [ ":diff" ] |
| } |
| |
| devtools_entrypoint("legacy") { |
| entrypoint = "diff-legacy.js" |
| |
| deps = [ ":bundle" ] |
| } |