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

Unified Diff: chrome/browser/chromeos/input_method/input_method.gyp

Issue 8799005: Revert 112965 - Support mozc suggest window on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: chrome/browser/chromeos/input_method/input_method.gyp
===================================================================
--- chrome/browser/chromeos/input_method/input_method.gyp (revision 112970)
+++ chrome/browser/chromeos/input_method/input_method.gyp (working copy)
@@ -37,5 +37,88 @@
],
},
},
+ {
+ 'target_name': 'litify_mozc_proto_files',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'litify_config_proto',
+ 'inputs': [
+ '../../../../third_party/mozc/session/config.proto',
+ ],
+ 'outputs': [
+ '<(input_method_out_dir)/mozc/session/config.proto',
+ ],
+ 'action': [
+ 'python',
+ 'litify_proto_file.py',
+ '../../../../third_party/mozc/session/config.proto',
+ '<(input_method_out_dir)/mozc/session/config.proto',
+ ],
+ },
+ {
+ 'action_name': 'litify_commands_proto',
+ 'inputs': [
+ '../../../../third_party/mozc/session/commands.proto',
+ ],
+ 'outputs': [
+ '<(input_method_out_dir)/mozc/session/commands.proto',
+ ],
+ 'action': [
+ 'python',
+ 'litify_proto_file.py',
+ '../../../../third_party/mozc/session/commands.proto',
+ '<(input_method_out_dir)/mozc/session/commands.proto',
+ ],
+ },
+ ],
+ },
+ {
+ # Protobuf compiler / generator for the mozc inputmethod commands
+ # protocol buffer.
+ 'target_name': 'mozc_commands_proto',
+ 'type': 'static_library',
+ 'sources': [
+ '<(input_method_out_dir)/mozc/session/config.proto',
+ '<(input_method_out_dir)/mozc/session/commands.proto',
+ ],
+ 'rules': [
+ {
+ 'rule_name': 'genproto',
+ 'extension': 'proto',
+ 'inputs': [
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
+ ],
+ 'outputs': [
+ '<(protoc_out_dir)/third_party/mozc/session/<(RULE_INPUT_ROOT).pb.h',
+ '<(protoc_out_dir)/third_party/mozc/session/<(RULE_INPUT_ROOT).pb.cc',
+ ],
+ 'action': [
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
+ '--proto_path=<(input_method_out_dir)/mozc',
+ '<(input_method_out_dir)/mozc/session/<(RULE_INPUT_ROOT)<(RULE_INPUT_EXT)',
+ '--cpp_out=<(protoc_out_dir)/third_party/mozc',
+ ],
+ 'message': 'Generating C++ code from <(RULE_INPUT_PATH)',
+ 'process_outputs_as_sources': 1,
+ },
+ ],
+ 'dependencies': [
+ 'litify_mozc_proto_files',
+ '../../../../third_party/protobuf/protobuf.gyp:protobuf_lite',
+ '../../../../third_party/protobuf/protobuf.gyp:protoc#host',
+ ],
+ 'include_dirs': [
+ '<(protoc_out_dir)/third_party/mozc',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(protoc_out_dir)/third_party/mozc',
+ ]
+ },
+ 'export_dependent_settings': [
+ '../../../../third_party/protobuf/protobuf.gyp:protobuf_lite',
+ ],
+ },
]
}
« no previous file with comments | « chrome/browser/chromeos/input_method/ibus_ui_controller.cc ('k') | chrome/browser/chromeos/input_method/litify_proto_file.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698