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

Side by Side Diff: tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py

Issue 8678023: Fix python scripts in src/tools/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gdb/gdb_chrome.py ('k') | tools/generate_stubs/generate_stubs.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Generate keyboard layout and hotkey data for the keyboard overlay. 6 """Generate keyboard layout and hotkey data for the keyboard overlay.
7 7
8 This script fetches data from the keyboard layout and hotkey data spreadsheet, 8 This script fetches data from the keyboard layout and hotkey data spreadsheet,
9 and output the data depending on the option. 9 and output the data depending on the option.
10 10
11 --cc: Rewrites a part of C++ code in 11 --cc: Rewrites a part of C++ code in
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 if options.grd: 557 if options.grd:
558 OutputGrd(hotkey_data, options.outdir) 558 OutputGrd(hotkey_data, options.outdir)
559 if options.cc: 559 if options.cc:
560 OutputCC(hotkey_data, options.outdir) 560 OutputCC(hotkey_data, options.outdir)
561 if options.altgr: 561 if options.altgr:
562 OutputAltGr(keyboard_glyph_data, options.outdir) 562 OutputAltGr(keyboard_glyph_data, options.outdir)
563 563
564 564
565 if __name__ == '__main__': 565 if __name__ == '__main__':
566 main() 566 main()
OLDNEW
« no previous file with comments | « tools/gdb/gdb_chrome.py ('k') | tools/generate_stubs/generate_stubs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698