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

Unified Diff: testing/android/generate_native_test.py

Issue 11066094: Nuke unused test code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/generate_native_test.py
diff --git a/testing/android/generate_native_test.py b/testing/android/generate_native_test.py
index aff4f70df2fd66b27c2a40f6395b3542bd10247c..a6167458f0e6efab14340f8dec9eeff508f9392a 100755
--- a/testing/android/generate_native_test.py
+++ b/testing/android/generate_native_test.py
@@ -159,17 +159,6 @@ class NativeTestApkGenerator(object):
logging.error('Ant return code %d', p.returncode)
sys.exit(p.returncode)
- def CompileAndroidMk(self):
- """Build the generated apk within Android source tree using Android.mk."""
- try:
- import compile_android_mk # pylint: disable=F0401
- except:
- raise AssertionError('Not in Android source tree. '
- 'Please use --sdk-build.')
- compile_android_mk.CompileAndroidMk(self._native_library,
- self._output_directory)
-
-
def main(argv):
parser = optparse.OptionParser()
parser.add_option('--verbose',
@@ -222,8 +211,8 @@ def main(argv):
if options.sdk_build:
Yaron 2012/10/10 01:51:33 Just remove the sdk_build option entirely
shashi 2012/10/10 03:41:11 I have removed the use of option in code, but coul
ntag.Compile(options.ant_args)
else:
- ntag.CompileAndroidMk()
-
+ raise AssertionError('Not in Android source tree. '
+ 'Please use --sdk-build.')
logging.warn('COMPLETE.')
if __name__ == '__main__':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698