Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / pnacl / driver / pnacl-clang.py
1 #!/usr/bin/python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 # __import__ is required because of the dash in the filename.
7 # TODO(pdox): Change - to _ in python file names.
8 pnacl_driver = __import__("pnacl-driver")
9
10 def main(argv):
11   pnacl_driver.env.set('IS_CXX', '0')
12   return pnacl_driver.main(argv)
13
14 def get_help(argv):
15   pnacl_driver.env.set('IS_CXX', '0')
16   return pnacl_driver.get_help(argv)