| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """ | 5 """ |
| 6 Recipe for building and running tests for Libyuv stand-alone. | 6 Recipe for building and running tests for Libyuv stand-alone. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 from recipe_engine.types import freeze | 9 from recipe_engine.types import freeze |
| 10 | 10 |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 api.gclient.set_config(recipe_config['gclient_config']) | 864 api.gclient.set_config(recipe_config['gclient_config']) |
| 865 for c in bot_config.get('gclient_apply_config', []): | 865 for c in bot_config.get('gclient_apply_config', []): |
| 866 api.gclient.apply_config(c) | 866 api.gclient.apply_config(c) |
| 867 for c in bot_config.get('chromium_apply_config', []): | 867 for c in bot_config.get('chromium_apply_config', []): |
| 868 api.chromium.apply_config(c) | 868 api.chromium.apply_config(c) |
| 869 | 869 |
| 870 if api.tryserver.is_tryserver: | 870 if api.tryserver.is_tryserver: |
| 871 api.chromium.apply_config('trybot_flavor') | 871 api.chromium.apply_config('trybot_flavor') |
| 872 | 872 |
| 873 api.bot_update.ensure_checkout(force=True) | 873 api.bot_update.ensure_checkout(force=True) |
| 874 api.chromium.ensure_goma() |
| 874 api.chromium.runhooks() | 875 api.chromium.runhooks() |
| 875 | 876 |
| 876 if api.chromium.c.project_generator.tool == 'gn': | 877 if api.chromium.c.project_generator.tool == 'gn': |
| 877 api.chromium.run_gn(use_goma=True) | 878 api.chromium.run_gn(use_goma=True) |
| 878 api.chromium.compile(targets=['all']) | 879 api.chromium.compile(targets=['all']) |
| 879 else: | 880 else: |
| 880 api.chromium.compile() | 881 api.chromium.compile() |
| 881 if api.chromium.c.TARGET_PLATFORM in ('win', 'mac', 'linux'): | 882 if api.chromium.c.TARGET_PLATFORM in ('win', 'mac', 'linux'): |
| 882 api.chromium.runtest('libyuv_unittest') | 883 api.chromium.runtest('libyuv_unittest') |
| 883 | 884 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 | 917 |
| 917 # Forced builds (not specifying any revision) and test failures. | 918 # Forced builds (not specifying any revision) and test failures. |
| 918 mastername = 'client.libyuv' | 919 mastername = 'client.libyuv' |
| 919 yield generate_builder(mastername, 'Linux64 Debug', revision=None, | 920 yield generate_builder(mastername, 'Linux64 Debug', revision=None, |
| 920 suffix='_forced') | 921 suffix='_forced') |
| 921 yield generate_builder(mastername, 'Android Debug', revision=None, | 922 yield generate_builder(mastername, 'Android Debug', revision=None, |
| 922 suffix='_forced') | 923 suffix='_forced') |
| 923 | 924 |
| 924 yield generate_builder('tryserver.libyuv', 'linux', revision=None, | 925 yield generate_builder('tryserver.libyuv', 'linux', revision=None, |
| 925 suffix='_forced') | 926 suffix='_forced') |
| OLD | NEW |