[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}
diff --git a/tools_webrtc/get_landmines.py b/tools_webrtc/get_landmines.py
index a452835..9198084 100755
--- a/tools_webrtc/get_landmines.py
+++ b/tools_webrtc/get_landmines.py
@@ -21,7 +21,7 @@
 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
@@ -35,14 +35,7 @@
   # landmine.
   # See the Chromium version in src/build/get_landmines.py for usage examples.
   print 'Clobber to remove out/{Debug,Release}/args.gn (webrtc:5070)'
-  if platform() == 'android':
-    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':
+  if host_os() == 'win':
     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 Win 64-bit Debug linking error (crbug.com/668961)'
@@ -50,9 +43,7 @@
            'https://codereview.webrtc.org/2786603002')
     print ('Clobber due to Win Debug linking errors in '
            'https://codereview.webrtc.org/2832063003/')
-  if platform() == 'mac':
-    # platform == 'ios' doesn't work since it assumes GYP_DEFINES is set, which
-    # is no longer the case.
+  if host_os() == 'mac':
     print 'Clobber due to iOS compile errors (crbug.com/694721)'
     print 'Clobber to unblock https://codereview.webrtc.org/2709573003'
     print ('Clobber to fix https://codereview.webrtc.org/2709573003 after '