michael@0: #!/usr/bin/env python michael@0: # Copyright (c) 2012 The Chromium Authors. All rights reserved. michael@0: # Use of this source code is governed by a BSD-style license that can be michael@0: # found in the LICENSE file. michael@0: michael@0: """google_api's auto-internal gyp integration. michael@0: michael@0: Takes one argument, a path. Prints 1 if the path exists, 0 if not. michael@0: """ michael@0: michael@0: michael@0: import os michael@0: import sys michael@0: michael@0: michael@0: if __name__ == '__main__': michael@0: if os.path.exists(sys.argv[1]): michael@0: print 1 michael@0: else: michael@0: print 0