| Index: build/android/dex.py
|
| diff --git a/build/android/dex.py b/build/android/dex.py
|
| deleted file mode 100755
|
| index 00c2c527422bc96788ad7f2e8d0f8f1910fb46e8..0000000000000000000000000000000000000000
|
| --- a/build/android/dex.py
|
| +++ /dev/null
|
| @@ -1,40 +0,0 @@
|
| -#!/usr/bin/env python
|
| -#
|
| -# Copyright 2013 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 fnmatch
|
| -import optparse
|
| -import os
|
| -import sys
|
| -
|
| -from pylib import build_utils
|
| -
|
| -
|
| -def DoDex(options, paths):
|
| - dx_binary = os.path.join(options.android_sdk_root, 'platform-tools', 'dx')
|
| - dex_cmd = [dx_binary, '--dex', '--output', options.dex_path] + paths
|
| - build_utils.CheckCallDie(dex_cmd)
|
| -
|
| -
|
| -def main(argv):
|
| - parser = optparse.OptionParser()
|
| - parser.add_option('--android-sdk-root', help='Android sdk root directory.')
|
| - parser.add_option('--dex-path', help='Dex output path.')
|
| - parser.add_option('--stamp', help='Path to touch on success.')
|
| -
|
| - # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja.
|
| - parser.add_option('--ignore', help='Ignored.')
|
| -
|
| - options, paths = parser.parse_args()
|
| -
|
| - DoDex(options, paths)
|
| -
|
| - if options.stamp:
|
| - build_utils.Touch(options.stamp)
|
| -
|
| -
|
| -if __name__ == '__main__':
|
| - sys.exit(main(sys.argv))
|
| -
|
|
|