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

Unified Diff: chrome/browser/chromeos/input_method/litify_proto_file.py

Issue 8505051: Support mozc suggest window on ChromeOS. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 9 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 | « chrome/browser/chromeos/input_method/input_method.gyp ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/litify_proto_file.py
diff --git a/chrome/browser/chromeos/input_method/litify_proto_file.py b/chrome/browser/chromeos/input_method/litify_proto_file.py
deleted file mode 100755
index c62d4f63f1b8904a4f6c37ee6a2818468ee9d010..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/input_method/litify_proto_file.py
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2011 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.
-
-"""Litify a .proto file.
-
-This program add a line
- "option optimize_for = LITE_RUNTIME;"
-to the input .proto file.
-
-Run it like:
- litify_proto_file.py input.proto output.proto
-"""
-
-import fileinput
-import sys
-
-
-def main(argv):
- if len(argv) != 3:
- print 'Usage: litify_proto_file.py [input] [output]'
- return 1
- output_file = open(sys.argv[2], 'w')
- for line in fileinput.input(sys.argv[1]):
- output_file.write(line)
-
- output_file.write("\noption optimize_for = LITE_RUNTIME;\n")
- return 0
-
-
-if __name__ == '__main__':
- sys.exit(main(sys.argv))
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method.gyp ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698