Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / pnacl / driver / pnacl-strip.py
index f8d96f6..efb895d 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 driver_tools
 import filetype
@@ -58,6 +52,8 @@ def main(argv):
   driver_tools.ParseArgs(argv, StripPatterns)
   inputs = env.get('INPUTS')
   output = env.getone('OUTPUT')
+  for path in inputs + [output]:
+    driver_tools.CheckPathLength(path)
 
   if len(inputs) > 1 and output != '':
     Log.Fatal('Cannot have -o with multiple inputs')