OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import default_flavor |
| 6 |
| 7 """CMake flavor utils, used for building Skia with CMake.""" |
| 8 |
| 9 class CMakeFlavorUtils(default_flavor.DefaultFlavorUtils): |
| 10 def compile(self, target): |
| 11 """Build Skia with CMake. Ignores `target`.""" |
| 12 cmake_build = self._skia_api.skia_dir.join('cmake', 'cmake_build') |
| 13 self._skia_api.run(self._skia_api.m.step, 'cmake_build', cmd=[cmake_build], |
| 14 cwd=self._skia_api.m.path['checkout']) |
OLD | NEW |