| OLD | NEW |
| 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.m.infra_paths['slave_build'].join( | 12 cmake_build = self._skia_api.m.path['slave_build'].join( |
| 13 'skia', 'cmake', 'cmake_build') | 13 'skia', 'cmake', 'cmake_build') |
| 14 self._skia_api.run(self._skia_api.m.step, 'cmake_build', cmd=[cmake_build], | 14 self._skia_api.run(self._skia_api.m.step, 'cmake_build', cmd=[cmake_build], |
| 15 cwd=self._skia_api.m.path['checkout']) | 15 cwd=self._skia_api.m.path['checkout']) |
| OLD | NEW |