Rename 'mozc.imy' to 'mozc.data'
We decided to use *.imy as a hack because that was the only way to teach
Eclipse (to be precise Android SDK plugin for Eclipse) that those files
must not be compressed.
However, we no longer use Eclipse for Android development. There is no
reason to keep using such an obscure file extension.
BUG=
TEST=
REF_BUG=14981159
REF_CL=125540611,127055505,130420025
REF_TIME=2016-06-22T17:07:55+09:00
REF_TIME_RAW=1466582875 +0900
Noriyuki Takahashi
7 years ago
74 | 74 |
# and Fedora (jsr-305.jar).
|
75 | 75 |
# TODO(yukawa): We should not rely on "find" command here.
|
76 | 76 |
'jsr305_jar_path': '<!(find /usr/share/java -name "jsr305.jar" -o -name "jsr-305.jar")',
|
77 | |
'mozc_dataset': '<(shared_intermediate_mozc_dir)/data_manager/oss/mozc.imy',
|
|
77 |
'mozc_dataset': '<(shared_intermediate_mozc_dir)/data_manager/oss/mozc.data',
|
78 | 78 |
'connection_text_data': '<(shared_intermediate_mozc_dir)/data_manager/oss/connection_single_column.txt',
|
79 | 79 |
'native_test_small_targets': [
|
80 | 80 |
'oss_data_manager_test',
|
147 | 147 |
}],
|
148 | 148 |
['branding=="Mozc"', {
|
149 | 149 |
'nacl_mozc_files': [
|
150 | |
'<(gen_out_dir)/nacl_mozc/mozc.imy',
|
|
150 |
'<(gen_out_dir)/nacl_mozc/mozc.data',
|
151 | 151 |
],
|
152 | 152 |
}],
|
153 | 153 |
],
|
|
419 | 419 |
}],
|
420 | 420 |
['branding=="Mozc"', {
|
421 | 421 |
'files': [
|
422 | |
'<(SHARED_INTERMEDIATE_DIR)/data_manager/oss/mozc.imy',
|
|
422 |
'<(SHARED_INTERMEDIATE_DIR)/data_manager/oss/mozc.data',
|
423 | 423 |
],
|
424 | 424 |
}],
|
425 | 425 |
],
|
335 | 335 |
#ifdef GOOGLE_JAPANESE_INPUT_BUILD
|
336 | 336 |
const string data_file_name = "./zipped_data_chromeos";
|
337 | 337 |
#else // GOOGLE_JAPANESE_INPUT_BUILD
|
338 | |
const string data_file_name = "./mozc.imy";
|
|
338 |
const string data_file_name = "./mozc.data";
|
339 | 339 |
#endif // GOOGLE_JAPANESE_INPUT_BUILD
|
340 | 340 |
string file_content;
|
341 | 341 |
CHECK(HTTPClient::Get(data_file_name, option, &file_content))
|
0 | 0 |
MAJOR=2
|
1 | 1 |
MINOR=18
|
2 | |
BUILD=2575
|
|
2 |
BUILD=2576
|
3 | 3 |
REVISION=102
|
4 | 4 |
# CAUTION: NACL_DICTIONARY_VERSION is going to be migrated to ENGINE_VERSION.
|
5 | 5 |
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
|
36 | 36 |
namespace {
|
37 | 37 |
|
38 | 38 |
// kOssMozcDataSet is embedded.
|
39 | |
#include "data_manager/oss/mozc_imy.h"
|
|
39 |
#include "data_manager/oss/mozc_data.h"
|
40 | 40 |
|
41 | 41 |
#ifndef MOZC_DATASET_MAGIC_NUMBER
|
42 | 42 |
#error "MOZC_DATASET_MAGIC_NUMBER is not defined by build system"
|
55 | 55 |
# Hex-escaped string of "\xEFMOZC\r\n"
|
56 | 56 |
'magic_number': "\\xEF\\x4D\\x4F\\x5A\\x43\\x0D\\x0A",
|
57 | 57 |
'mozc_data_varname': 'kOssMozcDataSet',
|
58 | |
'out_mozc_data': 'mozc.imy',
|
59 | |
'out_mozc_data_header': 'mozc_imy.h',
|
|
58 |
'out_mozc_data': 'mozc.data',
|
|
59 |
'out_mozc_data_header': 'mozc_data.h',
|
60 | 60 |
},
|
61 | 61 |
# This 'includes' defines the following targets:
|
62 | 62 |
# - oss_data_manager (type: static_library)
|