| Index: third_party/WebKit/Source/devtools/scripts/gulp/concatenate_protocols.js
|
| diff --git a/third_party/WebKit/Source/devtools/scripts/gulp/concatenate_protocols.js b/third_party/WebKit/Source/devtools/scripts/gulp/concatenate_protocols.js
|
| deleted file mode 100644
|
| index 6f0619dad4ad098cfa5fbd7a9677dbbde93d0520..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/devtools/scripts/gulp/concatenate_protocols.js
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -// Copyright 2016 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.
|
| -
|
| -var path = require("path");
|
| -
|
| -var jsonfile = require("jsonfile");
|
| -
|
| -var utils = require("../utils");
|
| -
|
| -module.exports = function main(protocols, output)
|
| -{
|
| - var domains = [];
|
| - var version;
|
| - for (var i = 0; i < protocols.length; i++) {
|
| - var protocol = protocols[i];
|
| - if (!utils.isFile(protocol))
|
| - throw new Error(`Cannot find ${protocol}`);
|
| - var json = require(protocol);
|
| - domains = domains.concat(json.domains);
|
| - version = json.version;
|
| - }
|
| - var combinedProtocol = {
|
| - version,
|
| - domains
|
| - };
|
| - jsonfile.writeFileSync(output, combinedProtocol, {spaces: 4});
|
| -};
|
|
|