mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 00:21:44 +02:00
Remove explicit call to build Chrome.
Since the package.keywords change, it's already built as part of build_packages. With this change we don't have to needlessly build chrome twice as part of the pfq. Change-Id: I8dae745496a5d6f6213663b034ffe8d279d4efd3 BUG=chromium-os:8693 TEST=Ran unittests Review URL: http://codereview.chromium.org/5973003
This commit is contained in:
parent
b4f6b3c6a1
commit
d523d23f2e
@ -367,14 +367,6 @@ def _Build(buildroot, emptytree):
|
|||||||
RunCommand(cmd, cwd=cwd, enter_chroot=True)
|
RunCommand(cmd, cwd=cwd, enter_chroot=True)
|
||||||
|
|
||||||
|
|
||||||
def _BuildChrome(buildroot, board, chrome_atom_to_build):
|
|
||||||
"""Wrapper for emerge call to build Chrome."""
|
|
||||||
cwd = os.path.join(buildroot, 'src', 'scripts')
|
|
||||||
RunCommand(['emerge-%s' % board,
|
|
||||||
'=%s' % chrome_atom_to_build],
|
|
||||||
cwd=cwd, enter_chroot=True)
|
|
||||||
|
|
||||||
|
|
||||||
def _EnableLocalAccount(buildroot):
|
def _EnableLocalAccount(buildroot):
|
||||||
cwd = os.path.join(buildroot, 'src', 'scripts')
|
cwd = os.path.join(buildroot, 'src', 'scripts')
|
||||||
# Set local account for test images.
|
# Set local account for test images.
|
||||||
@ -700,9 +692,6 @@ def main():
|
|||||||
if options.sync:
|
if options.sync:
|
||||||
_Build(buildroot, emptytree)
|
_Build(buildroot, emptytree)
|
||||||
|
|
||||||
if chrome_atom_to_build:
|
|
||||||
_BuildChrome(buildroot, buildconfig['board'], chrome_atom_to_build)
|
|
||||||
|
|
||||||
if buildconfig['unittests'] and options.tests:
|
if buildconfig['unittests'] and options.tests:
|
||||||
_RunUnitTests(buildroot)
|
_RunUnitTests(buildroot)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user