90f050387a
- Move doxygen and binary size out of core and into their own modules. - Rename core -> checkout since that's all it does, shorten method names. - Rename flavors: - Everything is GN, so remove GN/gn_ everywhere. - Merge gn_flavor into default. - Shorten file / module names. Bug: skia:6473 Change-Id: I8ac9ff9c9a267f366206b9991adfa5eb37126ca7 Reviewed-on: https://skia-review.googlesource.com/129176 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
18 lines
555 B
Python
18 lines
555 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
|
|
from recipe_engine import config_types
|
|
|
|
|
|
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)
|