Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: scripts/slave/recipe_modules/libyuv/api.py

Issue 2426583002: libyuv: Switch {client,tryserver}.libyuv to GN (Closed)
Patch Set: Fix recipe errors Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 from recipe_engine import recipe_api 5 from recipe_engine import recipe_api
6 from . import builders 6 from . import builders
7 7
8 8
9 class LibyuvApi(recipe_api.RecipeApi): 9 class LibyuvApi(recipe_api.RecipeApi):
10 BUILDERS = builders.BUILDERS 10 BUILDERS = builders.BUILDERS
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 'extract build', 114 'extract build',
115 self.m.chromium.c.build_config_fs, 115 self.m.chromium.c.build_config_fs,
116 download_url, 116 download_url,
117 build_revision=self.revision) 117 build_revision=self.revision)
118 118
119 def runtests(self): 119 def runtests(self):
120 """Add a suite of test steps.""" 120 """Add a suite of test steps."""
121 with self.m.step.defer_results(): 121 with self.m.step.defer_results():
122 if self.m.chromium.c.TARGET_PLATFORM == 'android': 122 if self.m.chromium.c.TARGET_PLATFORM == 'android':
123 self.m.chromium_android.common_tests_setup_steps() 123 self.m.chromium_android.common_tests_setup_steps()
124 self.m.chromium_android.run_test_suite('yuv_unittest') 124 self.m.chromium_android.run_test_suite('libyuv_unittest')
kjellander_chromium 2016/10/17 11:20:35 The Android binary was named like this because of
125 self.m.chromium_android.shutdown_device_monitor() 125 self.m.chromium_android.shutdown_device_monitor()
126 self.m.chromium_android.logcat_dump( 126 self.m.chromium_android.logcat_dump(
127 gs_bucket=self.master_config.get('build_gs_bucket')) 127 gs_bucket=self.master_config.get('build_gs_bucket'))
128 self.m.chromium_android.stack_tool_steps(force_latest_version=True) 128 self.m.chromium_android.stack_tool_steps(force_latest_version=True)
129 self.m.chromium_android.test_report() 129 self.m.chromium_android.test_report()
130 else: 130 else:
131 self.m.chromium.runtest('libyuv_unittest') 131 self.m.chromium.runtest('libyuv_unittest')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698