1# Copyright 2018 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5 6from recipe_engine import recipe_api 7 8 9class DoxygenApi(recipe_api.RecipeApi): 10 def generate_and_upload(self, skia_dir): 11 with self.m.context(cwd=skia_dir): 12 self.m.run( 13 self.m.step, 14 'generate and upload doxygen', 15 cmd=['python', self.resource('generate_and_upload_doxygen.py')], 16 abort_on_failure=False) 17