[build] Prepare removal of gyp-defines from landmines

Depends on Chromium to roll: https://crrev.com/c/924114

This will clobber all Android builds once, since after this, we can't
make Android-specific landmines anymore.

Bug: chromium:756691
Change-Id: Ic7588329e567e3f6e596b04de8f990dc720eb153
Reviewed-on: https://webrtc-review.googlesource.com/54721
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#22091}
This commit is contained in:
Michael Achenbach
2018-02-16 14:43:14 -08:00
committed by Commit Bot
parent 424a399d4f
commit 500874effd

View File

@ -21,7 +21,7 @@ sys.path.insert(0, os.path.join(CHECKOUT_ROOT, 'build'))
import landmine_utils import landmine_utils
platform = landmine_utils.platform # pylint: disable=invalid-name host_os = landmine_utils.host_os # pylint: disable=invalid-name
def print_landmines(): # pylint: disable=invalid-name def print_landmines(): # pylint: disable=invalid-name
@ -35,14 +35,7 @@ def print_landmines(): # pylint: disable=invalid-name
# landmine. # landmine.
# See the Chromium version in src/build/get_landmines.py for usage examples. # See the Chromium version in src/build/get_landmines.py for usage examples.
print 'Clobber to remove out/{Debug,Release}/args.gn (webrtc:5070)' print 'Clobber to remove out/{Debug,Release}/args.gn (webrtc:5070)'
if platform() == 'android': if host_os() == 'win':
print ('Clobber to remove artifacts on Android causing lint errors after '
'rolling in https://codereview.webrtc.org/2293863002')
print ('Clobber to remove old AppRTCDemo artifacts after renaming to '
'AppRTCMobile in https://codereview.webrtc.org/2373443005')
print ('Clobber to fix Android x86/x64 builds after '
'https://codereview.webrtc.org/1414343008/')
if platform() == 'win':
print 'Clobber to resolve some issues with corrupt .pdb files on bots.' print 'Clobber to resolve some issues with corrupt .pdb files on bots.'
print 'Clobber due to corrupt .pdb files (after #14623)' print 'Clobber due to corrupt .pdb files (after #14623)'
print 'Clobber due to Win 64-bit Debug linking error (crbug.com/668961)' print 'Clobber due to Win 64-bit Debug linking error (crbug.com/668961)'
@ -50,9 +43,7 @@ def print_landmines(): # pylint: disable=invalid-name
'https://codereview.webrtc.org/2786603002') 'https://codereview.webrtc.org/2786603002')
print ('Clobber due to Win Debug linking errors in ' print ('Clobber due to Win Debug linking errors in '
'https://codereview.webrtc.org/2832063003/') 'https://codereview.webrtc.org/2832063003/')
if platform() == 'mac': if host_os() == 'mac':
# platform == 'ios' doesn't work since it assumes GYP_DEFINES is set, which
# is no longer the case.
print 'Clobber due to iOS compile errors (crbug.com/694721)' print 'Clobber due to iOS compile errors (crbug.com/694721)'
print 'Clobber to unblock https://codereview.webrtc.org/2709573003' print 'Clobber to unblock https://codereview.webrtc.org/2709573003'
print ('Clobber to fix https://codereview.webrtc.org/2709573003 after ' print ('Clobber to fix https://codereview.webrtc.org/2709573003 after '