| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import re | 6 import re |
| 7 import subprocess | 7 import subprocess |
| 8 import unittest | 8 import unittest |
| 9 | 9 |
| 10 import PRESUBMIT | 10 import PRESUBMIT |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 'ios_rel_device_ninja', | 712 'ios_rel_device_ninja', |
| 713 'mac_asan', | 713 'mac_asan', |
| 714 'mac_asan_64', | 714 'mac_asan_64', |
| 715 'mac_chromium_compile_dbg', | 715 'mac_chromium_compile_dbg', |
| 716 'mac_chromium_compile_rel', | 716 'mac_chromium_compile_rel', |
| 717 'mac_chromium_dbg', | 717 'mac_chromium_dbg', |
| 718 'mac_chromium_rel', | 718 'mac_chromium_rel', |
| 719 'mac_nacl_sdk', | 719 'mac_nacl_sdk', |
| 720 'mac_nacl_sdk_build', | 720 'mac_nacl_sdk_build', |
| 721 'mac_rel_naclmore', | 721 'mac_rel_naclmore', |
| 722 'mac_valgrind', | |
| 723 'mac_x64_rel', | 722 'mac_x64_rel', |
| 724 'mac_xcodebuild', | 723 'mac_xcodebuild', |
| 725 ], | 724 ], |
| 726 'tryserver.chromium.linux': [ | 725 'tryserver.chromium.linux': [ |
| 727 'android_aosp', | 726 'android_aosp', |
| 728 'android_chromium_gn_compile_dbg', | 727 'android_chromium_gn_compile_dbg', |
| 729 'android_chromium_gn_compile_rel', | 728 'android_chromium_gn_compile_rel', |
| 730 'android_clang_dbg', | 729 'android_clang_dbg', |
| 731 'android_dbg', | 730 'android_dbg', |
| 732 'android_dbg_recipe', | 731 'android_dbg_recipe', |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1078 ['char* host = "https://www.aol.com"; // google.com']) | 1077 ['char* host = "https://www.aol.com"; // google.com']) |
| 1079 ] | 1078 ] |
| 1080 | 1079 |
| 1081 warnings = PRESUBMIT._CheckHardcodedGoogleHostsInLowerLayers( | 1080 warnings = PRESUBMIT._CheckHardcodedGoogleHostsInLowerLayers( |
| 1082 input_api, MockOutputApi()) | 1081 input_api, MockOutputApi()) |
| 1083 self.assertEqual(0, len(warnings)) | 1082 self.assertEqual(0, len(warnings)) |
| 1084 | 1083 |
| 1085 | 1084 |
| 1086 if __name__ == '__main__': | 1085 if __name__ == '__main__': |
| 1087 unittest.main() | 1086 unittest.main() |
| OLD | NEW |