Merge "releasetools: Remove the deprecated flag --board_config." am: 224b5f9926 am: 076dd6aa85

am: 5275117088

Change-Id: Ia0bd2afb2ca8bf8d54e901ab4a7ec292fce567ef
This commit is contained in:
Tao Bao 2017-11-01 00:57:16 +00:00 committed by android-build-merger
commit a348832eaa
1 changed files with 1 additions and 7 deletions

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
@ -1295,9 +1292,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
@ -1359,7 +1354,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",