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

Unified Diff: obj_int_extract.py

Issue 757313004: Remove all remaining obj_int_extract code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years 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 | « obj_int_extract.gypi ('k') | unpack_lib_posix.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: obj_int_extract.py
===================================================================
--- obj_int_extract.py (revision 293274)
+++ obj_int_extract.py (working copy)
@@ -1,31 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright 2014 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 is used to run obj_int_extract and output the result to a file."
-
-import optparse
-import subprocess
-import sys
-
-parser = optparse.OptionParser()
-parser.description = __doc__
-parser.add_option('-e', '--executable', help='path to obj_int_extract.')
-parser.add_option('-f', '--format', help='binary format (gas or rvds).')
-parser.add_option('-b', '--binary', help='path to binary to parse.')
-parser.add_option('-o', '--output', help='path to write extracted output to.')
-
-
-options, args = parser.parse_args()
-if (not options.executable or not options.format or not options.binary or
- not options.output):
- parser.error('Must specify all four arguments.')
- sys.exit(1)
-
-with open(options.output, 'w') as fh:
- subprocess.check_call([options.executable, options.format, options.binary],
- stdout=fh)
-
-sys.exit(0)
« no previous file with comments | « obj_int_extract.gypi ('k') | unpack_lib_posix.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698