Commit e72944be authored by scottmg's avatar scottmg Committed by Commit bot

Never clobber all of build in landmines

We don't support msvs any more anyway, and clobbering all of build/ is
always a bad idea. (I'm not sure this'll fix anything, but maybe we'll
get a better error.)

R=kbr@chromium.org,iannucci@chromium.org
BUG=408839

Review URL: https://codereview.chromium.org/519503002

Cr-Commit-Position: refs/heads/master@{#292554}
parent b6cfa6a1
......@@ -44,8 +44,6 @@ def get_build_dir(build_tool, is_iphone=False):
ret = os.path.join(SRC_DIR, 'xcodebuild')
elif build_tool in ['make', 'ninja', 'ninja-ios']: # TODO: Remove ninja-ios.
ret = os.path.join(SRC_DIR, os.environ.get('CHROMIUM_OUT_DIR', 'out'))
elif build_tool in ['msvs', 'vs', 'ib']:
ret = os.path.join(SRC_DIR, 'build')
else:
raise NotImplementedError('Unexpected GYP_GENERATORS (%s)' % build_tool)
return os.path.abspath(ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment