OLD | NEW |
---|---|
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'input_method_out_dir': | 7 'input_method_out_dir': |
8 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/chromeos/input_method', | 8 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/chromeos/input_method', |
9 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', | 9 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', |
10 }, | 10 }, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 'outputs': [ | 64 'outputs': [ |
65 '<(input_method_out_dir)/mozc/session/commands.proto', | 65 '<(input_method_out_dir)/mozc/session/commands.proto', |
66 ], | 66 ], |
67 'action': [ | 67 'action': [ |
68 'python', | 68 'python', |
69 'litify_proto_file.py', | 69 'litify_proto_file.py', |
70 '../../../../third_party/mozc/session/commands.proto', | 70 '../../../../third_party/mozc/session/commands.proto', |
71 '<(input_method_out_dir)/mozc/session/commands.proto', | 71 '<(input_method_out_dir)/mozc/session/commands.proto', |
72 ], | 72 ], |
73 }, | 73 }, |
74 { | |
75 # TODO(nona): removes following patch after mozc package update. | |
76 'action_name': 'mozc_commands_local_patch', | |
horo
2011/11/14 04:56:03
Is this action in "'target_name': 'litify_mozc_pro
Seigo Nonaka
2011/11/14 05:59:37
As the offline talk, I decide to apply patch via t
| |
77 'inputs': [ | |
78 'mozc_commands.diff', | |
79 ], | |
80 'outputs': [ | |
81 '<(input_method_out_dir)/mozc/session/commands.proto', | |
82 ], | |
83 'action': [ | |
84 'patch', | |
85 '<(input_method_out_dir)/mozc/session/commands.proto', | |
86 '-i', | |
87 'mozc_commands.diff', | |
88 ], | |
89 }, | |
74 ], | 90 ], |
75 }, | 91 }, |
76 { | 92 { |
77 # Protobuf compiler / generator for the mozc inputmethod commands | 93 # Protobuf compiler / generator for the mozc inputmethod commands |
78 # protocol buffer. | 94 # protocol buffer. |
79 'target_name': 'mozc_commands_proto', | 95 'target_name': 'mozc_commands_proto', |
80 'type': 'static_library', | 96 'type': 'static_library', |
81 'sources': [ | 97 'sources': [ |
82 '<(input_method_out_dir)/mozc/session/config.proto', | 98 '<(input_method_out_dir)/mozc/session/config.proto', |
83 '<(input_method_out_dir)/mozc/session/commands.proto', | 99 '<(input_method_out_dir)/mozc/session/commands.proto', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
115 'include_dirs': [ | 131 'include_dirs': [ |
116 '<(protoc_out_dir)/third_party/mozc', | 132 '<(protoc_out_dir)/third_party/mozc', |
117 ] | 133 ] |
118 }, | 134 }, |
119 'export_dependent_settings': [ | 135 'export_dependent_settings': [ |
120 '../../../../third_party/protobuf/protobuf.gyp:protobuf_lite', | 136 '../../../../third_party/protobuf/protobuf.gyp:protobuf_lite', |
121 ], | 137 ], |
122 }, | 138 }, |
123 ] | 139 ] |
124 } | 140 } |
OLD | NEW |