skia2/infra/bots/recipe_modules/doxygen/api.py
Eric Boren 61e7596868 [recipes] Minor import cleanup
Change-Id: Id37954715f61a264b3b5fe0f1ed36bd31835ff86
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275634
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2020-03-06 19:06:10 +00:00

17 lines
516 B
Python

# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from recipe_engine import recipe_api
class DoxygenApi(recipe_api.RecipeApi):
def generate_and_upload(self, skia_dir):
with self.m.context(cwd=skia_dir):
self.m.run(
self.m.step,
'generate and upload doxygen',
cmd=['python', self.resource('generate_and_upload_doxygen.py')],
abort_on_failure=False)