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 7from recipe_engine import config_types 8 9 10class DoxygenApi(recipe_api.RecipeApi): 11 def generate_and_upload(self, skia_dir): 12 with self.m.context(cwd=skia_dir): 13 self.m.run( 14 self.m.step, 15 'generate and upload doxygen', 16 cmd=['python', self.resource('generate_and_upload_doxygen.py')], 17 abort_on_failure=False) 18