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

Unified Diff: build/android/avd.py

Issue 23513022: android: Point EMULATOR_SDK_ROOT to a location inside the repository. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch v3: get rid of EMULATOR_SDK_ROOT altogether Created 7 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
« no previous file with comments | « no previous file | build/android/install_emulator_deps.py » ('j') | build/android/install_emulator_deps.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/avd.py
diff --git a/build/android/avd.py b/build/android/avd.py
index 2685c592bedf4d4f276169a99741b3d374f6d377..76107651f3378e1f7776036663d0b91986985691 100755
--- a/build/android/avd.py
+++ b/build/android/avd.py
@@ -23,9 +23,7 @@ from pylib.utils import emulator
def main(argv):
# ANDROID_SDK_ROOT needs to be set to the location of the SDK used to launch
# the emulator to find the system images upon launch.
- emulator_sdk = os.path.join(constants.EMULATOR_SDK_ROOT,
- 'android_tools', 'sdk')
- os.environ['ANDROID_SDK_ROOT'] = emulator_sdk
+ os.environ['ANDROID_SDK_ROOT'] = constants.ANDROID_SDK_ROOT
Peter Beverloo 2013/09/11 17:29:35 nit: should we allow overriding of the ANDROID_SDK
opt_parser = optparse.OptionParser(description='AVD script.')
opt_parser.add_option('-n', '--num', dest='emulator_count',
« no previous file with comments | « no previous file | build/android/install_emulator_deps.py » ('j') | build/android/install_emulator_deps.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698