diff --git a/src/build_mozc.py b/src/build_mozc.py index 809aa3559..d04b0f26d 100644 --- a/src/build_mozc.py +++ b/src/build_mozc.py @@ -275,7 +275,7 @@ def ParseGypOptions(args): parser.add_option('--qtver', dest='qtver', choices=('4', '5'), default='4') parser.add_option('--version_file', dest='version_file', help='use the specified version template file', - default='data/version/mozc_version_template.txt') + default='data/version/mozc_version_template.bzl') AddTargetPlatformOption(parser) # Mac and Linux diff --git a/src/build_tools/mozc_version.py b/src/build_tools/mozc_version.py index a5a852140..8935d1e08 100644 --- a/src/build_tools/mozc_version.py +++ b/src/build_tools/mozc_version.py @@ -42,7 +42,7 @@ Typically version definition file is ${PROJECT_ROOT}/mozc_version.txt (Not in the repository because it is generated by this script) Typically version template file is -${PROJECT_ROOT}/data/version/mozc_version_template.txt, +${PROJECT_ROOT}/data/version/mozc_version_template.bzl, which is in the repository. The syntax of template is written in the template file. """ diff --git a/src/data/version/mozc_version_template.txt b/src/data/version/mozc_version_template.bzl similarity index 98% rename from src/data/version/mozc_version_template.txt rename to src/data/version/mozc_version_template.bzl index 14ecdc7ba..1d384f03c 100644 --- a/src/data/version/mozc_version_template.txt +++ b/src/data/version/mozc_version_template.bzl @@ -1,6 +1,6 @@ MAJOR=2 MINOR=18 -BUILD=2555 +BUILD=2556 REVISION=102 # CAUTION: NACL_DICTIONARY_VERSION is going to be migrated to ENGINE_VERSION. # NACL_DICTIONARY_VERSION is the target version of the system dictionary to be diff --git a/src/data_manager/data_manager.gypi b/src/data_manager/data_manager.gypi index 1b56b5104..80a27fb27 100644 --- a/src/data_manager/data_manager.gypi +++ b/src/data_manager/data_manager.gypi @@ -900,7 +900,7 @@ 'action_name': 'gen_separate_version_data_for_<(dataset_tag)', 'variables': { 'generator': '<(mozc_dir)/data_manager/gen_data_version.py', - 'version_file': '<(mozc_dir)/data/version/mozc_version_template.txt', + 'version_file': '<(mozc_dir)/data/version/mozc_version_template.bzl', }, 'inputs': [ '<(generator)',