| 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 17 matching lines...) Expand all Loading... |
| 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 if api.chromium.c.project_generator.tool == 'gn': |
| 37 api.chromium.run_gn(use_goma=True) | 37 api.chromium.run_gn(use_goma=True) |
| 38 api.chromium.compile(targets=['all']) | 38 api.chromium.compile() |
| 39 else: | |
| 40 api.chromium.compile() | |
| 41 if libyuv.should_upload_build: | 39 if libyuv.should_upload_build: |
| 42 libyuv.package_build() | 40 libyuv.package_build() |
| 43 | 41 |
| 44 if libyuv.should_download_build: | 42 if libyuv.should_download_build: |
| 45 libyuv.extract_build() | 43 libyuv.extract_build() |
| 46 | 44 |
| 47 if libyuv.should_test: | 45 if libyuv.should_test: |
| 48 libyuv.runtests() | 46 libyuv.runtests() |
| 49 | 47 |
| 50 libyuv.maybe_trigger() | 48 libyuv.maybe_trigger() |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 mastername = 'client.libyuv' | 94 mastername = 'client.libyuv' |
| 97 yield generate_builder(mastername, 'Linux64 Debug', revision=None, | 95 yield generate_builder(mastername, 'Linux64 Debug', revision=None, |
| 98 suffix='_forced') | 96 suffix='_forced') |
| 99 yield generate_builder(mastername, 'Android Debug', revision=None, | 97 yield generate_builder(mastername, 'Android Debug', revision=None, |
| 100 suffix='_forced') | 98 suffix='_forced') |
| 101 yield generate_builder(mastername, 'Android Tester ARM32 Debug (Nexus 5X)', | 99 yield generate_builder(mastername, 'Android Tester ARM32 Debug (Nexus 5X)', |
| 102 revision=None, suffix='_forced_invalid') | 100 revision=None, suffix='_forced_invalid') |
| 103 | 101 |
| 104 yield generate_builder('tryserver.libyuv', 'linux', revision=None, | 102 yield generate_builder('tryserver.libyuv', 'linux', revision=None, |
| 105 suffix='_forced') | 103 suffix='_forced') |
| OLD | NEW |