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

Unified Diff: infra/bots/flavor/cmake_flavor.py

Issue 1703663002: Port Skia recipe to normal Python scripts, move to Skia repo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 4 years, 10 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/flavor/chromeos_flavor.py ('k') | infra/bots/flavor/coverage_flavor.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/flavor/cmake_flavor.py
diff --git a/infra/bots/flavor/cmake_flavor.py b/infra/bots/flavor/cmake_flavor.py
new file mode 100644
index 0000000000000000000000000000000000000000..cfba2bbefd3fd0b6c3f5d894001b721e36ff0bc1
--- /dev/null
+++ b/infra/bots/flavor/cmake_flavor.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+#
+# Copyright 2016 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+import default_flavor
+import os
+
+
+"""CMake flavor utils, used for building Skia with CMake."""
+
+
+class CMakeFlavorUtils(default_flavor.DefaultFlavorUtils):
+ def compile(self, target):
+ """Build Skia with CMake. Ignores `target`."""
+ cmake_build = os.path.join(self._bot_info.skia_dir, 'cmake', 'cmake_build')
+ self._bot_info.run([cmake_build, target])
« no previous file with comments | « infra/bots/flavor/chromeos_flavor.py ('k') | infra/bots/flavor/coverage_flavor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698