Home | History | Annotate | Download | only in doxygen
      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 
      6 from recipe_engine import recipe_api
      7 from recipe_engine import config_types
      8 
      9 
     10 class 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