Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: tools/patch_sdk.py

Issue 2571713004: Fuchsia: Allows building the full SDK for host and target. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/create_timestamp_file.py ('k') | utils/application_snapshot.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/patch_sdk.py
diff --git a/tools/patch_sdk.py b/tools/patch_sdk.py
index f87addbe7a9bb0d52380aa5767721067c108caee..25e553ed8a489a576a10c6b43457f945ebf864d3 100755
--- a/tools/patch_sdk.py
+++ b/tools/patch_sdk.py
@@ -25,7 +25,13 @@ https://github.com/dart-lang/sdk/wiki/The-checked-in-SDK-in-tools
def BuildArguments():
result = argparse.ArgumentParser(usage=usage)
- result.add_argument("--dart-executable", help="dart executable", default=None)
+ result.add_argument("-q", "--quiet",
+ help="emit no output",
+ default=False,
+ action="store_true")
+ result.add_argument("--dart-executable",
+ help="dart executable",
+ default=None)
return result
def main():
@@ -35,7 +41,8 @@ def main():
if utils.CheckedInSdkCheckExecutable():
options.dart_executable = utils.CheckedInSdkExecutable()
elif options.dart_executable is not None:
- DisplayBootstrapWarning()
+ if not options.quiet:
+ DisplayBootstrapWarning()
options.dart_executable = os.path.abspath(options.dart_executable)
else:
print >> sys.stderr, 'ERROR: cannot locate dart executable'
« no previous file with comments | « tools/create_timestamp_file.py ('k') | utils/application_snapshot.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698