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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/recipe_modules/flavor/cmake_flavor.py
diff --git a/infra/bots/recipe_modules/skia/cmake_flavor.py b/infra/bots/recipe_modules/flavor/cmake_flavor.py
similarity index 64%
rename from infra/bots/recipe_modules/skia/cmake_flavor.py
rename to infra/bots/recipe_modules/flavor/cmake_flavor.py
index c88d3694512a0d105794ac4a5579baa6195e6173..8b254eceb72e8968f7b3cbd82415a7d7ca57df05 100644
--- a/infra/bots/recipe_modules/skia/cmake_flavor.py
+++ b/infra/bots/recipe_modules/flavor/cmake_flavor.py
@@ -9,6 +9,6 @@ import default_flavor
class CMakeFlavorUtils(default_flavor.DefaultFlavorUtils):
def compile(self, target):
"""Build Skia with CMake. Ignores `target`."""
- cmake_build = self._skia_api.skia_dir.join('cmake', 'cmake_build')
- self._skia_api.run(self._skia_api.m.step, 'cmake_build', cmd=[cmake_build],
- cwd=self._skia_api.m.path['checkout'])
+ cmake_build = self.m.vars.skia_dir.join('cmake', 'cmake_build')
+ self.m.run(self.m.step, 'cmake_build', cmd=[cmake_build],
+ cwd=self.m.path['checkout'])
« 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