6"""Build Skia for various platforms."""
9from recipe_engine
import recipe_api
12from .
import canvaskit
13from .
import chromebook
21 def __init__(self, buildername, *args, **kwargs):
23 if 'Android' in b
and not 'Flutter' in b:
25 self.
copy_fn = android.copy_build_products
26 elif 'Chromebook' in b:
28 self.
copy_fn = chromebook.copy_build_products
32 self.
copy_fn = pathkit.copy_build_products
35 self.
copy_fn = canvaskit.copy_build_products
38 self.
copy_fn = cmake.copy_build_products
41 self.
copy_fn = docker.copy_build_products
44 self.
copy_fn = default.copy_build_products
45 super(BuildApi, self).
__init__(*args, **kwargs)
48 """Compile the code."""
49 self.
compile_fn(self.m, checkout_root, out_dir)
52 """Copy selected build products to dst."""
53 self.
copy_fn(self.m, out_dir, dst)
def __init__(self, buildername, *args, **kwargs)
def __call__(self, checkout_root, out_dir)
def copy_build_products(self, out_dir, dst)