Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(668)

Unified Diff: runtime/tools/concatenate_patches.py

Issue 2451893004: Revert "Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork."" (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/uri_patch.dart ('k') | runtime/vm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tools/concatenate_patches.py
diff --git a/runtime/tools/concatenate_patches.py b/runtime/tools/concatenate_patches.py
deleted file mode 100644
index 1653066c291a34b41655ad3f9831e0bbfee1b3bf..0000000000000000000000000000000000000000
--- a/runtime/tools/concatenate_patches.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
-# for details. All rights reserved. Use of this source code is governed by a
-# BSD-style license that can be found in the LICENSE file.
-
-from optparse import OptionParser
-
-def writePatch(output_file_name, input_file_names):
- dart_file_names = filter(lambda name: name.endswith('.dart'),
- input_file_names)
- with open(output_file_name, 'w') as output_file:
- for dart_file_name in dart_file_names:
- with open(dart_file_name, 'r') as dart_file:
- output_file.write(dart_file.read())
-
-
-def main():
- parser = OptionParser()
- parser.add_option('--output', action='store', type='string',
- help='output file path')
- (options, args) = parser.parse_args()
- if not options.output:
- parser.error('missing --output option\n')
- if len(args) == 0:
- parser.error('no input files given\n')
- writePatch(options.output, args)
-
-
-if __name__ == '__main__':
- main()
« no previous file with comments | « runtime/lib/uri_patch.dart ('k') | runtime/vm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698