| Index: chrome/browser/chromeos/input_method/input_method.gyp
|
| diff --git a/chrome/browser/chromeos/input_method/input_method.gyp b/chrome/browser/chromeos/input_method/input_method.gyp
|
| index c9beba8eca3fd688f4434502045b28f58674f70c..ea133f7e6da1b51f4264306fa427fb61ded58271 100644
|
| --- a/chrome/browser/chromeos/input_method/input_method.gyp
|
| +++ b/chrome/browser/chromeos/input_method/input_method.gyp
|
| @@ -62,12 +62,38 @@
|
| '../../../../third_party/mozc/session/commands.proto',
|
| ],
|
| 'outputs': [
|
| - '<(input_method_out_dir)/mozc/session/commands.proto',
|
| + '<(input_method_out_dir)/mozc/session/.litified.commands.proto',
|
| ],
|
| 'action': [
|
| 'python',
|
| 'litify_proto_file.py',
|
| '../../../../third_party/mozc/session/commands.proto',
|
| + # For patching 'mozc_commands_patch', we set output file as temporary.
|
| + '<(input_method_out_dir)/mozc/session/.litified.commands.proto',
|
| + ],
|
| + },
|
| + ]
|
| + },
|
| + {
|
| + 'target_name': 'mozc_commands_patch',
|
| + 'type': 'none',
|
| + 'actions': [
|
| + {
|
| + # TODO(nona): removes following patch after mozc package update.
|
| + 'action_name': 'mozc_commands_local_patch',
|
| + 'inputs': [
|
| + 'mozc_commands.diff',
|
| + '<(input_method_out_dir)/mozc/session/.litified.commands.proto',
|
| + ],
|
| + 'outputs': [
|
| + '<(input_method_out_dir)/mozc/session/commands.proto',
|
| + ],
|
| + 'action': [
|
| + 'patch',
|
| + '<(input_method_out_dir)/mozc/session/.litified.commands.proto',
|
| + '-i',
|
| + 'mozc_commands.diff',
|
| + '-o',
|
| '<(input_method_out_dir)/mozc/session/commands.proto',
|
| ],
|
| },
|
| @@ -105,6 +131,7 @@
|
| ],
|
| 'dependencies': [
|
| 'litify_mozc_proto_files',
|
| + 'mozc_commands_patch',
|
| '../../../../third_party/protobuf/protobuf.gyp:protobuf_lite',
|
| '../../../../third_party/protobuf/protobuf.gyp:protoc#host',
|
| ],
|
|
|