| 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 15 matching lines...) Expand all Loading... |
| 26 libyuv = api.libyuv | 26 libyuv = api.libyuv |
| 27 libyuv.apply_bot_config(libyuv.BUILDERS, libyuv.RECIPE_CONFIGS) | 27 libyuv.apply_bot_config(libyuv.BUILDERS, libyuv.RECIPE_CONFIGS) |
| 28 | 28 |
| 29 api.chromium.cleanup_temp() | 29 api.chromium.cleanup_temp() |
| 30 libyuv.checkout() | 30 libyuv.checkout() |
| 31 if libyuv.should_build: | 31 if libyuv.should_build: |
| 32 api.chromium.ensure_goma() | 32 api.chromium.ensure_goma() |
| 33 api.chromium.runhooks() | 33 api.chromium.runhooks() |
| 34 | 34 |
| 35 if libyuv.should_build: | 35 if libyuv.should_build: |
| 36 if api.chromium.c.project_generator.tool == 'gn': | 36 api.chromium.run_gn(use_goma=True) |
| 37 api.chromium.run_gn(use_goma=True) | |
| 38 api.chromium.compile() | 37 api.chromium.compile() |
| 39 if libyuv.should_upload_build: | 38 if libyuv.should_upload_build: |
| 40 libyuv.package_build() | 39 libyuv.package_build() |
| 41 | 40 |
| 42 if libyuv.should_download_build: | 41 if libyuv.should_download_build: |
| 43 libyuv.extract_build() | 42 libyuv.extract_build() |
| 44 | 43 |
| 45 if libyuv.should_test: | 44 if libyuv.should_test: |
| 46 libyuv.runtests() | 45 libyuv.runtests() |
| 47 | 46 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 mastername = 'client.libyuv' | 93 mastername = 'client.libyuv' |
| 95 yield generate_builder(mastername, 'Linux64 Debug', revision=None, | 94 yield generate_builder(mastername, 'Linux64 Debug', revision=None, |
| 96 suffix='_forced') | 95 suffix='_forced') |
| 97 yield generate_builder(mastername, 'Android Debug', revision=None, | 96 yield generate_builder(mastername, 'Android Debug', revision=None, |
| 98 suffix='_forced') | 97 suffix='_forced') |
| 99 yield generate_builder(mastername, 'Android Tester ARM32 Debug (Nexus 5X)', | 98 yield generate_builder(mastername, 'Android Tester ARM32 Debug (Nexus 5X)', |
| 100 revision=None, suffix='_forced_invalid') | 99 revision=None, suffix='_forced_invalid') |
| 101 | 100 |
| 102 yield generate_builder('tryserver.libyuv', 'linux', revision=None, | 101 yield generate_builder('tryserver.libyuv', 'linux', revision=None, |
| 103 suffix='_forced') | 102 suffix='_forced') |
| OLD | NEW |