Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / pnacl / driver / pnacl-dis.py
index 9905f57..22eae6e 100755 (executable)
@@ -2,12 +2,6 @@
 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
-#
-# IMPORTANT NOTE: If you make local mods to this file, you must run:
-#   %  pnacl/build.sh driver
-# in order for them to take effect in the scons build.  This command
-# updates the copy in the toolchain/ tree.
-#
 
 import sys
 import driver_tools
@@ -35,6 +29,9 @@ def main(argv):
   inputs = env.get('INPUTS')
   output = env.getone('OUTPUT')
 
+  for path in inputs + [output]:
+    driver_tools.CheckPathLength(path)
+
   if len(inputs) == 0:
     Log.Fatal("No input files given")