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

Unified Diff: components/cronet/tools/cr_cronet.py

Issue 544223003: Add SetSupportsQuic method to explicitly specify server that supports QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled testQuicLoadUrl until local QUIC server is available. Removed setQuicHint. Created 6 years, 3 months 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
Index: components/cronet/tools/cr_cronet.py
diff --git a/components/cronet/tools/cr_cronet.py b/components/cronet/tools/cr_cronet.py
index ae971442e0fddad414b2525e024eba1a6fa0ade8..45bde0d79dd7d7856227f81292a74b16a731c77a 100755
--- a/components/cronet/tools/cr_cronet.py
+++ b/components/cronet/tools/cr_cronet.py
@@ -18,7 +18,7 @@ def run(command):
def main():
parser = argparse.ArgumentParser()
parser.add_argument('command',
- choices=['init',
+ choices=['gyp',
'sync',
'build',
'install',
@@ -32,17 +32,17 @@ def main():
'disable_file_support=1 disable_ftp_support=1 '+ \
'use_icu_alternatives_on_android=1" '
- if (options.command=='init'):
+ if (options.command=='gyp'):
return run (gyp_defines + ' gclient runhooks')
if (options.command=='sync'):
return run ('git pull --rebase && ' + gyp_defines + ' gclient sync')
if (options.command=='build'):
- return run ('ninja -C out/Debug cronet_sample_test_apk')
+ return run ('ninja -C out/Debug cronet_test_instrumentation_apk')
if (options.command=='install'):
- return run ('build/android/adb_install_apk.py --apk=CronetSample.apk')
+ return run ('build/android/adb_install_apk.py --apk=CronetTest.apk')
if (options.command=='test'):
return run ('build/android/test_runner.py instrumentation '+ \
- '--test-apk=CronetSampleTest')
+ '--test-apk=CronetTestInstrumentation')
parser.print_help()
return 1

Powered by Google App Engine
This is Rietveld 408576698