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

Side by Side Diff: Source/build/ConvertFileToHeaderWithCharacterArray.gypi

Issue 42793005: Port xxd.pl to xxd.py (Perl to Python) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Python 2.6 (not 2.7): {} => {0} Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/build/scripts/xxd.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2013 Igalia S.L. 2 # Copyright (C) 2013 Igalia S.L.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 # 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/blink/InjectedScriptSource .h', 36 # 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/blink/InjectedScriptSource .h',
37 # 'character_array_name': 'InjectedScriptSource_js', 37 # 'character_array_name': 'InjectedScriptSource_js',
38 # }, 38 # },
39 # 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ], 39 # 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ],
40 # }, 40 # },
41 { 41 {
42 'actions': [ 42 'actions': [
43 { 43 {
44 'action_name': 'ConvertFileToHeaderWithCharacterArray', 44 'action_name': 'ConvertFileToHeaderWithCharacterArray',
45 'inputs': [ 45 'inputs': [
46 '../build/scripts/xxd.pl', 46 '../build/scripts/xxd.py',
47 '<(input_file_path)', 47 '<(input_file_path)',
48 ], 48 ],
49 'outputs': [ '<@(output_file_path)', ], 49 'outputs': [ '<@(output_file_path)', ],
50 'action': [ 50 'action': [
51 '<(perl_exe)', 51 'python',
52 '../build/scripts/xxd.pl', 52 '../build/scripts/xxd.py',
53 '<(character_array_name)', 53 '<(character_array_name)',
54 '<(input_file_path)', 54 '<(input_file_path)',
55 '<@(_outputs)' 55 '<@(_outputs)'
56 ], 56 ],
57 'message': 'Generating <(output_file_path) from <(input_file_path)', 57 'message': 'Generating <(output_file_path) from <(input_file_path)',
58 'msvs_cygwin_shell': 0,
58 }, 59 },
59 ], 60 ],
60 61
61 # Since this target generates header files, it needs to be a hard dependency. 62 # Since this target generates header files, it needs to be a hard dependency.
62 'hard_dependency': 1, 63 'hard_dependency': 1,
63 } 64 }
OLDNEW
« no previous file with comments | « no previous file | Source/build/scripts/xxd.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698