d9fa758292
BUG=skia:4763 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1703663002 Review URL: https://codereview.chromium.org/1703663002
21 lines
522 B
Python
21 lines
522 B
Python
#!/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])
|