summaryrefslogtreecommitdiff
path: root/chromium/third_party/skia/gn/checkdir.py
blob: 3ad5819f5f63471611f567f458d2dbcf7374dfff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python
#
# Copyright 2017 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 os
import sys

dirpath, = sys.argv[1:]

print(os.path.isdir(dirpath))