Make instructions for checkin_chrome_dep a bit clearer.
Bug: None Change-Id: Ief80123b849e20352350e899155784e031af7243 Reviewed-on: https://webrtc-review.googlesource.com/82063 Commit-Queue: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23636}
This commit is contained in:
parent
ce4829a04a
commit
5adf07d7b0
@ -179,9 +179,13 @@ def CheckinDependency(dep_name, config):
|
||||
CopyDependency(dep_name, dep_path, config.third_party_dir)
|
||||
AppendToChromiumOwnedDependenciesList(dep_name, config.dependencies_file)
|
||||
AddToGitIndex(dep_name, config)
|
||||
logging.info('Dependency checked into current working tree and added into\n'
|
||||
'git index. You have to commit generated changes and\n'
|
||||
'file the CL to finish adding the dependency')
|
||||
logging.info('Successfully added %s.', dep_path)
|
||||
logging.info('You now have to:')
|
||||
logging.info('1. Check if you need to add an entry to DEPS (check if ')
|
||||
logging.info(' Chromium has %s in its DEPS file and copy that)', dep_name)
|
||||
logging.info('2. Copy third_party/.gitignore for %s from Chromium to\n'
|
||||
' third_party/.gitignore', dep_name)
|
||||
logging.info('3. Commit locally and upload.')
|
||||
|
||||
|
||||
def DefaultConfig(temp_dir):
|
||||
@ -214,7 +218,9 @@ def CheckDependencyNotCheckedIn(dep_name):
|
||||
def main():
|
||||
p = argparse.ArgumentParser()
|
||||
p.add_argument('-d', '--dependency', required=True,
|
||||
help='Name of chromium dependency to check in.')
|
||||
help=('Name of chromium dependency to check in. For instance, '
|
||||
'if you want to check in third_party/xyz, then pass '
|
||||
'-d xyz.'))
|
||||
p.add_argument('--temp-dir',
|
||||
help='Temp working directory to use. By default the one '
|
||||
'provided via tempfile will be used')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user