summaryrefslogtreecommitdiffstats
path: root/build/android
diff options
context:
space:
mode:
authorfeng <feng@chromium.org>2014-11-26 16:27:25 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-27 00:29:05 +0000
commitd9201758ca9e6dc47e36026a4029dae5cc69e4c4 (patch)
tree1d7697a74d1816307da02566397651e80f4f829a /build/android
parentd212fc87023b5b01417d7bbc7aaee06f6226a964 (diff)
downloadchromium_src-d9201758ca9e6dc47e36026a4029dae5cc69e4c4.zip
chromium_src-d9201758ca9e6dc47e36026a4029dae5cc69e4c4.tar.gz
chromium_src-d9201758ca9e6dc47e36026a4029dae5cc69e4c4.tar.bz2
[Android] Remove the workaround code of a platform bug.
From our UMA and operation feedbacks, we don't see such issue anymore. (We notified the manufactor of the issue and likely they addressed it in OTA). The cleanup restores native library name to libchrome.so instead of libchrome.<VER>.so. BUG=311644 Review URL: https://codereview.chromium.org/759833002 Cr-Commit-Position: refs/heads/master@{#305925}
Diffstat (limited to 'build/android')
-rwxr-xr-xbuild/android/gyp/delete_files.py53
1 files changed, 0 insertions, 53 deletions
diff --git a/build/android/gyp/delete_files.py b/build/android/gyp/delete_files.py
deleted file mode 100755
index 2fd945c..0000000
--- a/build/android/gyp/delete_files.py
+++ /dev/null
@@ -1,53 +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.
-
-"""Delete files in directories matching a pattern.
-"""
-
-import glob
-import optparse
-import os
-import sys
-
-from util import build_utils
-
-def main():
- parser = optparse.OptionParser()
- parser.add_option(
- '--pattern',
- help='Pattern for matching Files to delete.')
- parser.add_option(
- '--keep',
- help='Files to keep even if they matches the pattern.')
- parser.add_option(
- '--stamp',
- help='Path to touch on success')
-
- options, args = parser.parse_args()
-
- if not options.pattern or not args:
- print 'No --pattern or target directories given'
- return
-
- for target_dir in args:
- target_pattern = os.path.join(target_dir, options.pattern)
- matching_files = glob.glob(target_pattern)
-
- keep_pattern = os.path.join(target_dir, options.keep)
- files_to_keep = glob.glob(keep_pattern)
-
- for target_file in matching_files:
- if target_file in files_to_keep:
- continue
-
- if os.path.isfile(target_file):
- os.remove(target_file)
-
- if options.stamp:
- build_utils.Touch(options.stamp)
-
-if __name__ == '__main__':
- sys.exit(main())
-