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

Unified Diff: mandoline/tools/android/install_mandoline.py

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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
« no previous file with comments | « mandoline/services/updater/updater_impl.cc ('k') | mandoline/tools/android/run_mandoline.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/tools/android/install_mandoline.py
diff --git a/mandoline/tools/android/install_mandoline.py b/mandoline/tools/android/install_mandoline.py
deleted file mode 100755
index e8da2afabb01d9dd17523425cf6ee5da669f4764..0000000000000000000000000000000000000000
--- a/mandoline/tools/android/install_mandoline.py
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import argparse
-import logging
-import os
-import sys
-
-sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)),
- os.pardir, os.pardir, os.pardir, 'mojo',
- 'tools'))
-
-from mopy.android import AndroidShell
-from mopy.config import Config
-
-USAGE = ('install_mandoline.py [<shell-and-app-args>]')
-
-def main():
- logging.basicConfig()
-
- parser = argparse.ArgumentParser(usage=USAGE)
-
- debug_group = parser.add_mutually_exclusive_group()
- debug_group.add_argument('--debug', help='Debug build (default)',
- default=True, action='store_true')
- debug_group.add_argument('--release', help='Release build', default=False,
- dest='debug', action='store_false')
- parser.add_argument('--build-dir', help='Build directory')
- parser.add_argument('--target-cpu', help='CPU architecture to run for.',
- choices=['x64', 'x86', 'arm'], default='arm')
- parser.add_argument('--device', help='Serial number of the target device.')
- runner_args, args = parser.parse_known_args()
-
- config = Config(build_dir=runner_args.build_dir,
- target_os=Config.OS_ANDROID,
- target_cpu=runner_args.target_cpu,
- is_debug=runner_args.debug,
- apk_name='Mandoline.apk')
- shell = AndroidShell(config)
- shell.InitShell(runner_args.device)
- return 0
-
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « mandoline/services/updater/updater_impl.cc ('k') | mandoline/tools/android/run_mandoline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698