From 18c27615b5e05d2c9d5cc01769114d7fb79c81dd Mon Sep 17 00:00:00 2001 From: "pfeldman@chromium.org" Date: Wed, 17 Nov 2010 13:50:59 +0000 Subject: DevTools: remove legacy concatenate scripts from downstream. TBR=mnaganov Review URL: http://codereview.chromium.org/5169002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66433 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/build/concatenate_js_files.py | 84 ---------------------------------- webkit/build/generate_devtools_html.py | 52 --------------------- 2 files changed, 136 deletions(-) delete mode 100755 webkit/build/concatenate_js_files.py delete mode 100755 webkit/build/generate_devtools_html.py (limited to 'webkit') diff --git a/webkit/build/concatenate_js_files.py b/webkit/build/concatenate_js_files.py deleted file mode 100755 index f6c4a8f..0000000 --- a/webkit/build/concatenate_js_files.py +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/env python -# Copyright (c) 2009 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. - -# This script concatenates in place JS files in the order specified -# using \n' % file_name - elif (file_name.endswith('.css')): - return ' \n' % file_name - else: - assert false - - -def main(argv): - - if len(argv) < 4: - print('usage: %s ignored inspector_html devtools_html' - ' css_and_js_files_list' % argv[0]) - return 1 - - # The first argument is ignored. We put 'webkit.gyp' in the inputs list - # for this script, so every time the list of script gets changed, our html - # file is rebuilt. - inspector_html_name = argv[2] - devtools_html_name = argv[3] - inspector_html = open(inspector_html_name, 'r') - devtools_html = open(devtools_html_name, 'w') - - for line in inspector_html: - if '' in line: - devtools_html.write('\n \n') - for resource in argv[4:]: - devtools_html.write(GenerateIncludeTag(resource)) - devtools_html.write(' \n') - devtools_html.write(line) - - devtools_html.close() - inspector_html.close() - - # Touch output file directory to make sure that Xcode will copy - # modified resource files. - if sys.platform == 'darwin': - output_dir_name = os.path.dirname(devtools_html_name) - os.utime(output_dir_name, None) - -if __name__ == '__main__': - sys.exit(main(sys.argv)) -- cgit v1.1