skia2/gn/toolchain/num_cpus.py
Florin Malita f11fd1f6e7 Python3 tweaks
Change-Id: Ie951106bbd7a91dd76b30a56ede9313c88e657ab
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/260499
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-12-17 17:12:03 +00:00

13 lines
256 B
Python
Executable File

#!/usr/bin/env python
#
# Copyright 2019 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import print_function
import multiprocessing
print(multiprocessing.cpu_count())