Skip to content

Commit

Permalink
Update build rules for data/emoji.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 542781779
  • Loading branch information
hiroyuki-komatsu committed Jun 23, 2023
1 parent e8f20fa commit 33d0d50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/data_manager/data_manager.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@
'variables': {
'generator': '<(mozc_dir)/rewriter/gen_emoji_rewriter_data.py',
'input_files': [
'<(mozc_dir)/data/emoji/emoji_data.tsv',
'<(mozc_oss_src_dir)/data/emoji/emoji_data.tsv',
],
},
'inputs': [
Expand All @@ -809,7 +809,7 @@
],
'action': [
'<(python)', '<(generator)',
'--input=<(mozc_dir)/data/emoji/emoji_data.tsv',
'--input=<(mozc_oss_src_dir)/data/emoji/emoji_data.tsv',
'--output_token_array=<(gen_out_dir)/emoji_token.data',
'--output_string_array=<(gen_out_dir)/emoji_string.data',
],
Expand Down Expand Up @@ -916,7 +916,7 @@
'variables': {
'generator': '<(mozc_dir)/prediction/gen_zero_query_data.py',
'input_files': [
'<(mozc_dir)/data/emoji/emoji_data.tsv',
'<(mozc_oss_src_dir)/data/emoji/emoji_data.tsv',
'<(mozc_dir)/data/emoticon/categorized.tsv',
'<(mozc_dir)/data/symbol/symbol.tsv',
'<(mozc_dir)/data/zero_query/zero_query.def',
Expand All @@ -934,7 +934,7 @@
'<(python)', '<(generator)',
'--input_rule=<(mozc_dir)/data/zero_query/zero_query.def',
'--input_symbol=<(mozc_dir)/data/symbol/symbol.tsv',
'--input_emoji=<(mozc_dir)/data/emoji/emoji_data.tsv',
'--input_emoji=<(mozc_oss_src_dir)/data/emoji/emoji_data.tsv',
'--input_emoticon=<(mozc_dir)/data/emoticon/categorized.tsv',
'--output_token_array=<(gen_out_dir)/zero_query_token.data',
'--output_string_array=<(gen_out_dir)/zero_query_string.data',
Expand Down
2 changes: 1 addition & 1 deletion src/rewriter/gen_emoji_rewriter_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
7th) unicode version
Detailed format is described in the default input file
"mozc/data/emoji/emoji_data.tsv".
"mozc/src/data/emoji/emoji_data.tsv".
"""

import argparse
Expand Down

0 comments on commit 33d0d50

Please sign in to comment.