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

Unified Diff: build/android/buildbot/bb_host_steps.py

Issue 32323005: android: run zip/extract/compile steps in the parent of src/, like on other platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: different Created 7 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: build/android/buildbot/bb_host_steps.py
diff --git a/build/android/buildbot/bb_host_steps.py b/build/android/buildbot/bb_host_steps.py
index e27ba08bbcc9b4265182acb9721821d66fe7c8c3..5acbaa6435c239b61f0a2f85f3a48ad975749ac0 100755
--- a/build/android/buildbot/bb_host_steps.py
+++ b/build/android/buildbot/bb_host_steps.py
@@ -62,7 +62,9 @@ def Compile(options):
if options.experimental:
for compile_target in EXPERIMENTAL_TARGETS:
bb_annotations.PrintNamedStep('Experimental Compile %s' % compile_target)
- RunCmd(cmd + ['--build-args=%s' % compile_target], flunk_on_failure=False)
+ RunCmd(cmd + ['--build-args=%s' % compile_target],
+ flunk_on_failure=False,
+ cwd=constants.DIR_SOURCE_ROOT)
def ZipBuild(options):
@@ -72,7 +74,7 @@ def ZipBuild(options):
'--src-dir', constants.DIR_SOURCE_ROOT,
'--build-dir', SrcPath('out'),
'--exclude-files', 'lib.target,gen,android_webview,jingle_unittests']
- + bb_utils.EncodeProperties(options))
+ + bb_utils.EncodeProperties(options), cwd=constants.DIR_SOURCE_ROOT)
def ExtractBuild(options):
@@ -81,7 +83,7 @@ def ExtractBuild(options):
[os.path.join(SLAVE_SCRIPTS_DIR, 'extract_build.py'),
'--build-dir', SrcPath('build'), '--build-output-dir',
SrcPath('out')] + bb_utils.EncodeProperties(options),
- warning_code=1)
+ warning_code=1, cwd=constants.DIR_SOURCE_ROOT)
def FindBugs(options):
« 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