Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: infra/bots/recipe_modules/flavor/cmake_flavor.py

Issue 2198173002: Re-organize Skia recipes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix missing dependency Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import default_flavor 5 import default_flavor
6 6
7 """CMake flavor utils, used for building Skia with CMake.""" 7 """CMake flavor utils, used for building Skia with CMake."""
8 8
9 class CMakeFlavorUtils(default_flavor.DefaultFlavorUtils): 9 class CMakeFlavorUtils(default_flavor.DefaultFlavorUtils):
10 def compile(self, target): 10 def compile(self, target):
11 """Build Skia with CMake. Ignores `target`.""" 11 """Build Skia with CMake. Ignores `target`."""
12 cmake_build = self._skia_api.skia_dir.join('cmake', 'cmake_build') 12 cmake_build = self.m.vars.skia_dir.join('cmake', 'cmake_build')
13 self._skia_api.run(self._skia_api.m.step, 'cmake_build', cmd=[cmake_build], 13 self.m.run(self.m.step, 'cmake_build', cmd=[cmake_build],
14 cwd=self._skia_api.m.path['checkout']) 14 cwd=self.m.path['checkout'])
OLDNEW
« no previous file with comments | « infra/bots/recipe_modules/flavor/api.py ('k') | infra/bots/recipe_modules/flavor/coverage_flavor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698