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

Unified Diff: buildbot/cbuildbot_stages.py

Issue 6794043: Revert "Add the ability to pass use flags through cbuildbot to build_packages." (Closed) Base URL: http://git.chromium.org/git/chromite.git@master
Patch Set: Created 9 years, 9 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 | « buildbot/cbuildbot_commands.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: buildbot/cbuildbot_stages.py
diff --git a/buildbot/cbuildbot_stages.py b/buildbot/cbuildbot_stages.py
index 58fe388023e1a395d1483b4ce018f6bc387986f5..197a50bf0538cd024460df11592fb229698f92bc 100644
--- a/buildbot/cbuildbot_stages.py
+++ b/buildbot/cbuildbot_stages.py
@@ -319,14 +319,10 @@ class BuildTargetStage(BuilderStage):
BuilderStage.new_binhost = self._GetPortageEnvVar(_FULL_BINHOST)
emptytree = (BuilderStage.old_binhost and
BuilderStage.old_binhost != BuilderStage.new_binhost)
- env=[]
- if self._build_config['useflags']:
- env.append('USE="%s"' % ' '.join(self._build_config['useflags']))
commands.Build(
self._build_root, emptytree, usepkg=self._build_config['usepkg'],
- build_autotest=(self._build_config['vm_tests'] and self._options.tests),
- extra_env=env)
+ build_autotest=(self._build_config['vm_tests'] and self._options.tests))
# TODO(sosa): Do this optimization in a better way.
if self._build_type == 'full':
« no previous file with comments | « buildbot/cbuildbot_commands.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698