Merge "releasetools: Remove the deprecated flag --board_config."

am: 224b5f9926

Change-Id: I35da7f5849acd9dce0ae609613a3b865b06ee0b9
This commit is contained in:
Tao Bao 2017-10-31 22:12:06 +00:00 committed by android-build-merger
commit 076dd6aa85

View file

@ -21,9 +21,6 @@ a full OTA is produced.
Usage: ota_from_target_files [flags] input_target_files output_ota_package
--board_config <file>
Deprecated.
-k (--package_key) <key> Key to use to sign the package (default is
the value of default_system_dev_certificate from the input
target-files's META/misc_info.txt, or
@ -1290,9 +1287,7 @@ def WriteABOTAPackageWithBrilloScript(target_file, output_file,
def main(argv):
def option_handler(o, a):
if o == "--board_config":
pass # deprecated
elif o in ("-k", "--package_key"):
if o in ("-k", "--package_key"):
OPTIONS.package_key = a
elif o in ("-i", "--incremental_from"):
OPTIONS.incremental_source = a
@ -1354,7 +1349,6 @@ def main(argv):
args = common.ParseOptions(argv, __doc__,
extra_opts="b:k:i:d:we:t:2o:",
extra_long_opts=[
"board_config=",
"package_key=",
"incremental_from=",
"full_radio",