mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
20 lines
427 B
Python
20 lines
427 B
Python
#!/usr/bin/env python
|
|
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
"""google_api's auto-internal gyp integration.
|
|
|
|
Takes one argument, a path. Prints 1 if the path exists, 0 if not.
|
|
"""
|
|
|
|
|
|
import os
|
|
import sys
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if os.path.exists(sys.argv[1]):
|
|
print 1
|
|
else:
|
|
print 0
|